Control Flow Activities: Next Workflow

Control Flow Activities: Next Workflow


The ‘Next Workflow' Activity allows you to run a workflow within another workflow. It has only one child path ‘ON WORKFLOW COMPLETE’. This path becomes available after enabling “Should return to this workflow”.

 

NOTE

To use the Next Workflow activity, the workflow must be published and the selected workflow Inside the activity must also be published. This activity does not work in test harness.

 

image

After opening the 'Next Workflow' activity, you will get the below configuration panel.

Default configuration parameters

Field

Description

Select Wowkflow

Next workflow to be executed

Should return this workflow checkbox

If enabled - The current workflow will pause execution and execute the selected workflow immediately. Once the execution is complete, it will resume the paused workflow at the ON WORKFLOW COMPLETE point.
If disabled - The workflow to be executed will be added to the queue and will execute in the order it was added to the queue.

Sample Next Workflow Activity

  1. Select the ‘Next Workflow' activity from 'Activity Sidebar’.
  2. Click on ‘Next Workflow' activity to open and configure the 'Next Workflow’ activity.
  3. Click on the ‘Select Workflow' field to open the list of the available workflow as shown below.

  1. It will show all the workflows from all the events.
  2. Select the workflow name which you want to execute. (NOTE: The selected workflow must be published)

  1. After selecting the workflow you will notice a 'VIEW' button is visible. If you click on the view button, it will open the selected workflow on the next tab.
  2. If you don't want to add any other activity in the current workflow, then close the 'Next Workflow' activity and publish it.
  3. This configuration will execute the 'Next Workflow'.
  4. If you want to add some other activity after the completion of ‘Next Workflow', then check the 'Should return to this workflow’ as shown below.

  1. Once the ‘Should return to this workflow' is checked it will create a button under the 'Next Workflow’ as shown below.

  1. You can add any activity on the button and it will execute after completion of the next workflow.
  2. Add the ‘Desktop Notification' activity on the 'ON WORKFLOW COMPLETE’ button to alert the user as shown below.

 

NOTE

To use the Next Workflow activity, the workflow must be published and the selected workflow Inside the activity must also be published. This activity does not work in test harness.

 



    Still can’t find an answer?
      • Related Articles

      • Control Flow Activities: Stop Workflow

        Stop Workflow control flow The ‘Stop Workflow’ Activity allows you to stop the execution of the current executing workflow. After opening the 'Stop Workflow' activity, you will see the configuration panel as shown below. You don't need to configure ...
      • Common Control Flow Uses

        5. Control Flows Activities The activities listed under Control Flows are commonly used in PopFlow. These activities allow you to create more complex and conditional workflows. These control flows enable the automation to make decisions and take ...
      • Control Flow Activities:Switch

        Switch Statement The 'Switch' Activity is used to identify unique branches of the selected data source. This allows for a single data source to have unique chains of Activities for every different type of values. For example, a single data source ...
      • Control Flow Activities: Phone Number Parsing

        Phone Number Parsing control flow The ‘Phone Number Parsing' Activity provides the ability to format any phone number according to the selected ‘Phone format’ type and 'Country region code’ (optional). After opening the 'Phone Number Parsing' ...
      • Control Flow Activities: If

        If The 'If' Activity allows you to check the data is valid, invalid, less than, more than, etc. using the conditions. If the Property matched the conditions then it will execute the THEN button activities else it will execute the ELSE button ...