This content is also available at learn.palantir.com ↗ and is presented here for accessibility purposes.
You can add validation rules called Submission Criteria to define whether a given user can run an Action. These are the conditions that must be true in order for an Action to run. All Actions require at least one criteria. For our scenario, let’s prevent users from changing the priority on alerts where the risk score is ≥ 25.
Click Security & Submission Criteria from the menu on the left.
x
to the right of that criteria to start from a blank slate.Click the underlined word condition to ➕ Add a condition.
From the condition template on the right, click Based on parameter (i.e., we want to base our condition based on a property).
The property we want is the Risk Score
, which is a property on our flight alert object. Click the [yourName] Flight Alert object in the Select a value section.
Click Risk Score
from the list of properties.
Click is less than operator.
Under Select a value on the right panel, click the Specific value button.
Enter 25
into the field.
Provide an error message at the bottom of your right panel, if the criteria does not obtain by pasting this message into the Failure message section: Cannot change alert priority with a risk ≥ 25. Please contact an administrator.
Click the green Save button at in the top right of your application screen to save your Ontology Action.