Manually Run a Workflow#
6.0 One
Execute your workflow on demand, regardless of its trigger configuration: from the workflow editor while building it, or from a case or alert page in TheHive.
Prerequisite
You must enable a workflow, and resolve any errors marked with , before you can run it manually.
Testing workflows with entry variables
Entry variables can't be passed when running a workflow manually from the workflow editor. If your workflow relies on input data to run, add a Set local variable node at the beginning with hardcoded test values. A manual run from a case or alert page passes a single input, the entity identifier, assigned to the case_id or alert_id entry variable when the workflow declares it.
Run a workflow from the workflow editor#
-
Go to the Flow view from the sidebar menu.
-
Select a workflow.
-
In the workflow editor, select Run workflow.
Run a workflow from a case or alert#
-
Open a case or an alert.
-
Go to the Automation tab.
-
Select the Workflows tab.
The tab lists the workflow runs already launched on the case or alert.
-
Select Run a workflow.
-
Select one or more workflows, then select Launch action(s).
Each selected workflow runs once. TheHive passes the identifier of the case or alert to the run as a variable named case_id or alert_id. To use it in the workflow, declare an entry variable with that exact name: the identifier is then available in the nodes as $input.case_id or $input.alert_id.


