9 - Adding Action Security & Submission Criteria

This content is also available at learn.palantir.com ↗ and is presented here for accessibility purposes.

📖 Task Introduction

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.

🔨 Task Instructions

  1. Click Security & Submission Criteria from the menu on the left.

    • By default, the criteria you designated (i.e., the submitting user must be you) on Action creation appears. Click the x to the right of that criteria to start from a blank slate.
  2. Click the underlined word condition to ➕ Add a condition.

  3. From the condition template on the right, click Based on parameter (i.e., we want to base our condition based on a property).

  4. 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.

  5. Click Risk Score from the list of properties.

  6. Click is less than operator.

  7. Under Select a value on the right panel, click the Specific value button.

  8. Enter 25 into the field.

  9. 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.

  10. Click the green Save button at in the top right of your application screen to save your Ontology Action.