Sub Workflow
  • 28 Mar 2024
  • 2 Minutes to read
  • PDF

Sub Workflow

  • PDF

Article summary

Making Every Task Count!

Sub Workflow enables you to breaks down complex tasks into a concise set of smaller sub-tasks, making it easier to execute and monitor each task efficiently. It helps in reducing the configuration time.

Figure: Sub Flow

Let's explore the following use-case.


Use Case
User Persona: Application Designer
Solution
Sam, the Application Designer had configured 100 core flows that necessitate approvals from Reporting Managers and Line Managers, and if the organization later decides to introduce an additional approval step involving Project Managers, you had need to manually modify all 100 core workflows to incorporate Project Manager approvals, which can be both arduous and time-consuming.To mitigate this issue, you can create a sub-flow specifically for these approvals. Any modifications to these approvals can then be made within the sub-flow, automatically reflecting the changes in all other associated workflows.

Configure Sub Workflow

You can configure Sub Flow for the complex workflow to divide the tasks which simplifies the process of workflows and reducing the time and effort required to update multiple workflows.

To configure Sub Workflow, perform the following steps:

  1. Navigate to Design Studio > Module > Workflow Designer, select a Domain and Sub Domain.
    The Workflow Designer listing page is displayed.
    Figure: Sub Flow

  2. Click New to create a new workflow.
    The Add Workflow page is displayed.
    Figure: Workflow - New

  3. Enter the required details as described in the following table and click Save and Publish it.

    FieldDescription
    Workflow Name *Specify the name of the workflow for which the workflow is getting created.
    Type *Select Sub Flow from the list.
    DescriptionEnter the workflow description related to the specified Form type. 
    Domains *Select the name of the domain for which the workflow is configured.
    Sub Domain *Select the sub domain name associated with the selected Domain.
    Tenant *Select the name of the tenant associated with the logged in user. 
    Table *Select the name of the table for which you need to configure a workflow

The published Sub Workflow is displayed in the Workflow Designer utilities.

Call Sub Flow

You can call a Sub Flow to a Core Flow using drag and drop facility to divide complex tasks into a small tasks. 

To Call Sub Flow to Core Flow, perform the following steps:

  1. Navigate to Design Studio > Module > Workflow Designer, select a Domain and Sub Domain.
    The Workflow Designer listing page is displayed.

  2. Click the Core-Flow ID hyperlink corresponding to the Workflow Name and navigate to the Workflow Canvas > Sub Workflow.
    The configured Sub Flows are displayed in the Sub Workflow.
    Figure: Sub Flow

  3. Drag and drop the configured Sub Flow into the Canvas and place it appropriately based on the requirement.

  4. Click three dots () from the Sub Flow and click Configure Properties to provide a name to the Sub Flow based on the Workflow configured.
    The Sub Flow Properties page is displayed.
    Figure: Sub Flow - Name

  5. Click Save to save the details of the workflow.

Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.