3.2.14 Human Task
Include human tasks in Agentic AI workflows to add manual review, approval, rejection, or other human intervention before a workflow continues. This is useful when an AI-generated decision, recommendation, or action requires human validation before it affects a business process.
When a workflow reaches a human task, MicroTx Workflows pauses the execution and creates a workflow notification. It keeps the task in progress until an authorized user can review the workflow execution details, inspect the AI task outputs, and approve or reject the task. The workflow waits at that step and resumes only after the human task is updated. Based on the response of the authorized user, the workflow continues according to the business logic defined in the workflow. For information about handling notifications, see View and Approve Workflow Notifications.
Human-in-the-loop review helps improve trust in agentic workflows by keeping people in control of sensitive or high-impact decisions, such as approvals, exception handling, compliance checks, customer communications, actions that interact with external systems, or agentic workflows where an AI-generated recommendation or action must be reviewed before execution continues.
To add a human task to a workflow:
-
Navigate to the Task tab in a workflow and view all the tasks that you can add using the Workflow Builder. See Access the Task Tab in Workflow Builder.
- In the More Tasks dialog box, click Human Task to add it to the workflow.
-
Click the task that you have added in the left pane. The Task tab in the right pane displays details about the task, such as its name and parameters. Next, let's provide details for the task.
-
In the Task Details group, enter the following information.
- Task Name: Mandatory. Enter a unique name for the task. The name must be between 1 to 128 alphanumeric characters in length and cannot contain spaces or any special characters. Optionally, you can use underscore (_) and hyphen (-).
- Task Reference: Mandatory. Enter a value to refer to the task within a workflow definition. This value must be unique within a workflow. The task reference value must be between 1 to 128 alphanumeric characters in length and cannot contain spaces or any special characters. Optionally, you can use underscore (_) and hyphen (-).
- Optional. In the Human Task Parameters group, click Add Parameter to specify the values that the task requires as an input.
-
Click Save to save the changes to the workflow.
MicroTx Workflows displays the changes in JSON code.
-
Review all the changes, and then click Confirm Save to save the changes.
If you do not want to save the changes, click Cancel, and then click Reset to undo all the changes that you have made since the workflow was last saved.
Example
When you enter information in the Task tab, the corresponding code of the task is updated in the JSON tab. The following example displays the JSON code for a Human task that requires verification from a human.
{
"name": "human_aml_verification_task",
"taskReferenceName": "human_aml_verification",
"type": "HUMAN",
"inputParameters": {
"applicant": "${extract_loan_details.output}"
}
}
Parent topic: Create System Tasks and Operator Tasks