By adding one or multiple commands to a Workshop module, you can configure and execute operations in other Palantir platform applications you embed as a widget. Additionally, you can create AIP Agents to read from and write to any application that interoperates with commands.
You can trigger commands in Workshop through two existing widgets:
Follow the instructions below to configure a command using either the Button Group or App Pairing widgets.
Navigate to your Workshop module and add the Button Group widget to launch the Widget setup panel on the right side of your screen. Follow the instructions below to configure buttons that trigger a command:
If a command has an associated icon, then Workshop automatically populates the Color and icon options with that association by default.
You can toggle on Conditional visibility and configure a Boolean variable which, when satisfied, will disable the command or hide it from a user's view.
By default, a command targets the Paired app. If your Workshop contains more than one paired application, then it will prompt you to select an application when you execute the command.
You can chain multiple commands together by selecting Add command beneath Output variables. Chained commands execute in the order you add them to your Workshop module, enabling you to pass the output from one command as the input to another.
To create a valid command chain, all commands must derive from the same source application, such as Gaia or Graph. If a command fails, then chain execution continues with the next command in order.
Use the Prompt command input dialog section of the Widget setup panel to configure user prompts to review or enter command inputs based on the following conditions:
Whether you configure one command or create a command chain, you can use the On completion of command(s) section to trigger an action or event when a command completes. Commands trigger immediately after the triggering variable changes. To avoid sending stale data, configure a Listener for the derived variable directly. When you finish, select Save and publish from the top of your screen to save your changes to Workshop.
Unlike commands, events do not follow a serial order of execution.
You can configure the App Pairing widget to trigger one or multiple commands when a variable in your Workshop module updates. When editing your Workshop module, select your existing App Pairing widget to launch the Widget setup panel on the right side of your screen. Follow the instructions below to configure the trigger which executes a command or instantiates a chain of commands:
false
.With your command trigger identified, select Add command and follow the same instructions for the Budget Group widget to create one or multiple commands in the App Pairing widget.