Skip to main content

Make Workflows Accessible in Torq Cases: Streamline Investigations

Learn how to streamline investigations by making specific workflows easily accessible as actions within Torq cases.

Make workflows accessible in case management to give investigators immediate access to necessary actions, saving time and ensuring consistent adherence to organizational protocols.

Workflows can be exposed to all cases or assigned as quick actions for selected cases, facilitating tailored responses to various scenarios.

Expose workflows in cases

  • Ensure the workflow has an on-demand trigger and is published.

  • To expose a workflow to all cases, check the Expose in all cases option in the workflow's trigger settings.

Expose the WF in case management

Creating quick actions for specific cases

Quick actions enable the selective activation of workflows tailored to specific cases. These workflows don't have to be exposed to all cases.

  1. Create a quick action: Add the Create a quick action for a case step to your workflow.

  2. Configure the quick action: Specify the case ID to which the quick action will be added.

    1. Give a concise and descriptive title for the action (2-20 characters).

    2. Enter the workflow ID, or select the workflow by name from the dropdown list, on which the quick action will be based.

  3. Quick actions appear as shortcuts to case handlers, enhancing accessibility and streamlining decision-making.

  • When creating a quick action for a case, you can specify a workflow that isn't exposed to all cases.

  • While the number of quick actions you can create is unlimited, only the first three are displayed as shortcuts in the case. Additional quick actions are listed at the top of the Run a workflow dropdown list.

In the example below, quick actions are added to the case when it's created. The Create a quick action for a case step uses a variable containing a JSON object of quick action title and workflow ID pairs as input. Available workflows can also be selected by name from the Workflow dropdown.

Create a quick action for a case step

Executing and monitoring workflows within cases

  • When a workflow is triggered from a case, it can utilize the case ID available in the workflow metadata: {{ $.metadata.case.id }}

  • Use the Get case details step to retrieve additional information about the case.

  • Use the Add comment to case step to add key insights or updates to the case timeline.

Use the case information in the workflow metadata to update the case timeline
Did this answer your question?