Developer Workflow Guide > Human Task > Human Tasks and Workflow Configuration
  

Human Tasks and Workflow Configuration

When you configure a workflow with a Mapping task and Human task, you can add a second Mapping task to reunite records processed in the Human task with records from the previous Mapping task.
For example, you can use the following steps to configure a workflow to manage exception records:
  1. 1. You create a workflow and you add a Start event and End event.
  2. 2. You create a mapping Mapping_1 that examines a data set for duplicate records. The mapping contains an Exception transformation that writes good-quality records to a database table named Good_Records and writes exceptions to a table named Exceptions.
  3. 3. You add a Mapping task to the workflow, and you configure the task to run Mapping_1.
  4. 4. You add a Human task to the workflow, and you configure the task to assign the data in the Exceptions table to users.
  5. 5. You configure a mapping Mapping_2 to read the Exceptions table and to write records to the Good_Records table if the Human task updated the record with an Approved status.
  6. 6. You add a second Mapping task to the workflow, and you add Mapping_2 to the Mapping task.
  7. You configure a Notification task to send an email message to selected users. The email message states that the second Mapping task is complete.
  8. 7. You connect the events and tasks in the workflow.
When the workflow runs, the first mapping creates the Exceptions table and the second mapping writes the good-quality records from the Exceptions table to the Good_Records table.