Subflow
Title: To Verify Subflow
1. Objective:
Develop workflows within an application to efficiently handle the working of the Subflow activity by defining a workflow inside the Subflow activity.
2. Steps:
1. Application Creation:
Create an application named "Subflow" to manage the workflow.

2. Workflow Creation:
Create a new workflow named "MainFlow" within the application's Workflow folder.

3. Trigger Selection:
Select "REST Service" as the trigger option to initiate the workflow.

3.1.Parameter Definition:
1. Define the path for the RestService.

2. Define the QueryParam for the RestService.

4. Add Subflow Activity:
Add a “Subflow Activity” to the workflow canvas to capture the list of workflows present in the application.

5. Create Subflow Workflow:
Create a new workflow named "Subflow" within the application to Link it to "MainFlow" by establishing a connection between the two workflows.

6. Output Schema Definition:
Add an Output Schema for the Start Activity as per the requirement.

7. End Activity Mapping:
Make the mapping in the End Activity as per the requirement.

8. Add Subflow Workflow to MainFlow:
Add the SubFlow Workflow in the Subflow Path by drag and drop or selection from the dropdown in the MainFlow Workflow SubFlow activity.

9. Enable Wait for Completion:
Once the user selects the Subflow Path, ensure the "Wait for Completion" checkbox is enabled.

10. Mapping For Sublow: The target of the Subflow Input should be populated automatically by the Schema of the Subflow Workflow Start Activity Output. And map the data from Rest Service to Subflow.

11. Output of Sublfow: The Output of Subflow Output should be populated automatically by the Schema of Subflow Workflow End Activity Output.

12. End for Subflow Activity:
Map the data from Sub flow to the End.

13. Workflow Publishing:
Publish the workflow after completing configuration and customization.

14. Deployment: Deploy the workflow, selecting the development environment and providing a distinct name for identification.

15. Testing and Verification:
Verify the End output to ensure correctness and compliance with proper output.

NOTE:
Pending enhancements/issues:
Filtering of workflows during selection/drag and drop & save issue
Last updated