Cancel Human Task action
- Updated: 2023/07/05
Cancel Human Task action
This action cancels a human task. Some configuration is required.
Settings
The cancel action is only valid when the form of the human task has a button of type
Cancel. The user then has the control when running the task to
cancel the form.
![Image demonstrates adding the cancel button to the form, through the Process Composer.](https://automationanywhere-be-prod.automationanywhere.com/bundle/enterprise-v2019/page/enterprise-cloud/topics/aae-client/bot-creator/commands/../../../../../endhumantaskbutton.png?_LANG=enus)
Note: Although the cancel button ends the form,
to cancel the process you should use if/else logic to move the process to the end
point when cancel is selected.
![Image demonstrates adding the cancel button to the form, through the Process Composer.](https://automationanywhere-be-prod.automationanywhere.com/bundle/enterprise-v2019/page/enterprise-cloud/topics/aae-client/bot-creator/commands/../../../../../endhumantaskbutton.png?_LANG=enus)
- In the Task ID to cancel
field, specify a value.
For the task, you can select a value from the Variable or Global value options. The variable option enables you to add predefined variables.
-
Optional: In the Assign the result to
variable field, assign a variable to
store as an output.
The output is stored as a string value.