The Create User Task step creates a task that requires user intervention when something goes wrong. For more information, see Tasks. This flow step is commonly used alongside the Action Close Out trigger type to generate a task when an action fails.
Step Inputs
Enter an appropriate Title and Description in their respective fields. Next, choose a type.
Note: Remediation is the only available type at the time of writing.
Remediation Tasks
Choosing Remediation as the type generates a task when this flow step executes.
Use the Task Definition Initial Value field to set specific initial values that indicate the remediation step has been initiated and identify the faulty step that triggered this remediation.
Remediate a Failed Action
The most common use for the Create User Task flow step is to provide options to remediate a failed action. The best practice is to create a flow that triggers when an action fails using an Action Close Out trigger.
To do this, select Add Trigger in the flow builder. Choose the Action Close-Out trigger and enter an appropriate connector and trigger in the respective fields. Select Failed under Subscribed Status then select Save. The flow now triggers when the specified action fails.
Next, select Add Steps then give it a name and ID. Choose the Create User Task. Fill out the step details as described above. Use the Task Definition Initial Value field to return dynamic data from the flow trigger. For example, you can use this code snippet to expose the input data from the flow trigger to the generated task.
This process allows users to more easily remediate an error within the flow.