17 - Testing and Publishing Your Ontology Edit Function
This content is also available at learn.palantir.com ↗ and is presented here for accessibility purposes.
📖 Task Introduction
The Functions helper provides a way to safely test your Ontology edit function without making any actual changes to the Ontology.
🔨 Task Instructions
Open the Functions helper at the bottom of the screen and choose your new “Alert Voucher” function from the Live Preview tab.
The two input fields correspond to the two inputs you defined in your function: a single flight alert and a “severity” designation. Choose any flight alert from the Select an option . . . dropdown and enter “Med” into the Severity field.
Click the blue Run ▶ button to test the function. The list below will show the anticipated changes to the status field of the linked passengers based on their status.
Given the satisfactory test, commit your code with a brief yet meaningful message.
Click Tag version to start the publish process.
Increment your minor version and click Create tag. Once the associated CI checks have completed, your Function is ready for use in the Ontology.