What are custom actions?
Custom actions are a feature of custom workflows, and allow you to create automations based on either a launch’s details or on users’ responses to certain custom workflows. TerraTrue customers use custom actions for a huge range of automations — like automatically marking a Data Spec as not needed, marking a review team as required or not required, determining if additional reviews are needed, or even screening new launches directly from Jira.
Since custom actions must be attached to a custom workflow, the automations available to you will depend on whether the custom workflow surfaces to users during launch creation, on the launch summary, or as part of the Data Spec. (Custom actions cannot be added to internal surveys or third party assessments.)
| Which automations can be triggered by custom actions? | |
| Workflow location or type | Automation |
|
Launch creation
|
Mark review not needed |
| Mark review blocked | |
| Mark review complete | |
| Mark Data Spec required | |
| Mark Data Spec not required | |
| Mark privacy worksheet not needed | |
| Raise Jira issue | |
| Update product | |
| Update component | |
| Add labels to the launch | |
| Create a task | |
| Add a workflow to the launch | |
| Add an assessment to the launch | |
| Update third party attribute | |
|
Launch summary
|
Mark review not needed |
| Mark review blocked | |
| Mark review complete | |
| Mark privacy worksheet not needed | |
| Raise Jira issue | |
| Update product | |
| Update component | |
| Add labels to the launch | |
| Create a task | |
| Add a workflow to the launch | |
| Add an assessment to the launch | |
| Update third party attribute | |
|
Data Spec
|
Mark review not needed |
| Mark review blocked | |
| Mark review complete | |
| Mark privacy worksheet not needed | |
| Raise Jira issue | |
| Update product | |
| Update component | |
| Add labels to the launch | |
| Create a task | |
| Add a workflow to the launch | |
| Add an assessment to the launch | |
| Update third party attribute | |
| Internal survey | N/A |
| Third party assessment | N/A |
Custom actions are configured in the workflow builder, and have two parts: action conditions and launch actions. Action conditions define the circumstances that will trigger the custom action, while launch actions define what happens to a launch when your action conditions are met.
How are custom actions triggered?
Custom actions will only trigger when your action conditions are met. You can configure custom actions to trigger based on a launch’s details — such as when the launch is associated (or not associated) with particular components, labels, launch types, or products. You can also configure custom actions to trigger based on users’ responses to workflow questions.
Using launch details to trigger a custom action
Custom actions can be triggered when a launch is associated (or not associated) with particular components, labels, or products. Since launches can be associated with many different labels and components, TerraTrue offers a range of logical operators to help you configure how a launch’s labels and components will (or won’t) trigger a custom action. Product-based configurations are more limited, since launches can be associated with only one product at a time.
Here’s the full range of logical operators available for products, labels, and components:
| Using a launch’s components, labels, or products to trigger custom actions | ||
| When the… | the action triggers when a launch… | |
| Component | includes one of… | IS associated with at least ONE of the components you select |
| includes all… | IS associated with ALL of the components you select | |
| excludes one of… | IS NOT associated with at least ONE of the components you select | |
| excludes all… | IS NOT associated with ANY of the components you select | |
| matches… | IS associated with EXACTLY the components you select | |
| does not match… | IS NOT associated with EXACTLY the components you select | |
| Label | includes one of… | IS associated with at least ONE of the labels you select |
| includes all… | IS associated with ALL of the labels you select | |
| excludes one of… | IS NOT associated with at least ONE of the labels you select | |
| excludes all… | IS NOT associated with ANY of the labels you select | |
| matches… | IS associated with EXACTLY the labels you select | |
| does not match… | IS NOT associated with EXACTLY the labels you select | |
| Product | is one of… | IS associated with ONE of the products you select |
| is not one of… | IS NOT associated with ANY of the products you select | |
Using workflow responses to trigger a custom action
For highly customized automation, you can create a question in a custom workflow and trigger an action based on how users respond. Custom actions can be added to launch creation workflows, launch summary workflows, or Data Spec workflows.
Note that different question types will affect the logical operators you’ll use to configure a custom action:
|
Configuring custom actions with different question-types |
||
|
Question type |
Operator |
Response condition |
|
Checkbox
|
Includes one of… |
{List of available responses in the selected question} |
|
Includes all… |
||
|
excludes one of… |
||
|
excludes all… |
||
|
matches… |
||
|
does not match… |
||
|
is empty... |
(No further conditions) |
|
|
is not empty... |
||
|
Radio
|
is one of… |
{List of available responses in the selected question} |
|
is not one of… |
||
|
is empty... |
(No further conditions) |
|
|
is not empty... |
||
|
Yes/No |
is one of… | {List of available responses in the selected question} |
| is not one of… | ||
|
Text Area |
is empty… |
(No further conditions) |
|
is not empty… |
||
|
Text Field |
is empty… |
(No further conditions) |
|
is not empty… |
||
|
Date |
is empty… |
(No further conditions) |
|
is not empty… |
||
|
File Upload |
is empty… |
(No further conditions) |
|
is not empty… |
||
|
Taxonomy
|
has high-risk taxonomy type… |
{List of all items in the taxonomy-type identified in the selected question} |
|
Includes one of… |
{List of available responses in the selected question} | |
|
Includes all… |
||
|
excludes one of… |
||
|
excludes all… |
||
|
matches… |
||
|
does not match… |
||
|
is empty... |
(No further conditions) |
|
|
is not empty... |
||
|
Alert
|
(Alert question-types are not available to custom actions) |
|
How do I configure a new custom action?
-
Select a launch workflow from your workflow library, or create a new custom workflow by visiting Workflows > Launch Creation Workflows or Workflows > Launch Summary Workflows and clicking Create New
-
For new workflows:
- Choose a title and description for your workflow
- Choose if you’d like the workflow to appear during launch creation, on the launch summary page (Custom actions cannot be added to third-party assessments or internal surveys.)
- Complete the configuration of the workflow. (For detailed information on configuring your workflow, refer to the individual articles in the previous step.)
- Click Confirm to enter the workflow builder
-
For existing workflows:
- Select the existing workflow from the workflow library
- Click on Edit Workflow to enter the workflow build
-
For new workflows:
- In the workflow builder, click New Custom Action
- Select a title for your custom action. (We recommend describing the automation you’re creating — such as “Mark Privacy Team as not needed when launch uses familiar data types.”)
-
Use the Action Conditions section to configure the circumstances that will cause the action to trigger:
-
In the Type drop-down menu:
- Select Component, Label, or Product to trigger the action based on a launch’s details, or…
- Select a question title to trigger the custom action based on how a user responds to that question
- In the Condition menu, select an operator. (The tables above describe how each operator affects the action conditions.)
- Depending on your selections in the preceding menus, a third Values field will be populated with one or more values that you can select from to complete the action condition.
- Select Add Condition or Add Condition Group to add additional conditions, or continue to the Launch Actions section
-
In the Type drop-down menu:
-
Use the Launch Actions section to configure what will happen when your action conditions are met:
- In the Type section, select an automation
- Depending on your selection, one or more fields will surface to customize the action; select one or more values to complete the launch action
- Optionally, select Add Action to add a launch action
- Click Publish to finalize your custom action
Order of execution with custom actions
- When there are multiple workflows that are submitted at the same time (such as launch-creation workflows), the custom actions execute in order of the title of the workflow, aligning with how they are displayed in the Intake area of the launch summary page.
- Within a workflow, the custom actions are executed by the defined order of the custom actions in the workflow, when the workflow is within workflow builder.
💡 Learn about using custom workflows in these articles:
• Using launch-creation workflows
• How do I add a custom workflow to launch summaries
• What’s the difference between the “excludes all” and “does not match” operators?