23 - Implementing Your Voucher Action in Workshop, part 3

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

📖 Task Introduction

In this task, you’ll enable your Action via a button that can be hidden unless the validation obtains. In this way, the triage analyst UI remains free of buttons they cannot use. In addition, we’ll also use the Action to trigger a Workshop event that opens the Linked Passengers drawer so the analyst can view the results of the Action.

🔨 Task Instructions

  1. Return to your main module page. In your layouts panel, select your Button group: Actions item in the layouts panel to the left. This button group contains your “update priority” and “assign alert” actions.

  2. In the button group configuration panel to the right, click ⊕ Add Button to add a new button to the group.

  3. Click into the new button you created and apply the following settings:

    • Text: Apply Voucher
    • Intent: Warning
    • Left Icon: Dollar
    • Description: Apply a voucher based on impact analysis
    • On Click: Action
  4. Configure the Action to match the image below.

  5. Save and publish.