Human in the Loop Workflow
This page explains how to create the Human in the Loop workflow.
-
Create a new workflow as shown below
Name
- Enter the name for the workflowDescription
- Description about the workflow.
-
Now Drag and drop the tool, which is exported from "Prompt Studio". If not exported,refer this section
- Click on the tool and choose the tool settings as shown below
-
Choose
File Systems
and click on setting button near it. Now Configure the source connector. Refer the connector section and choose your preferred connector and configure it. -
Choose
Database
and click on setting button near it. Now Configure the Destination Database. Refer the Database section and choose your preferred Database and configure it. -
In the same Destination DB settings screen, Click on the
Human in the Loop
tab next to the settings tab. -
In the
Rules
tab, the rules logic can be added- Percentage of files sent to Manual Review : The user can set the percentage of files to be sent to HITL (Human-in-the-Loop). Based on this percentage, files will be sent to HITL accordingly. For example, if the percentage is set to 50 and 2 files are processed, then 1 file will be sent to HITL, while the other will be sent directly to the Destination DB.
- Rule Logic - The user can set the logic to either
AND
orOR
- Add Rule - Here, the user can set rules based on specific conditions. All prompt keys (used in Prompt Studio) will be listed, allowing the user to validate conditions. For example, if the key is 'Name,' the user can set a rule such as 'Name starts with Joseph.' Only files that satisfy the condition will be sent to HITL.
-
Click on the
settings
in the HITL tab and set the field value for 'After approval, send result to.' The available options are 'Destination DB' and 'Queue.' Based on the selected option, the file will be sent to the database or the queue after approval. -
After configuring Source and Destination in the workflow.