OVERVIEW:
The ‘Next Workflow' Activity allows you to run a workflow within another workflow. It has only one child button path ‘ON WORKFLOW COMPLETE’. You can execute different activity on this buttons.
...
This path becomes available after enabling “Should return to this workflow”.
...
After opening the 'Next Workflow' activity, you will get the below configuration panel.
...
Should return to this workflow:
After executing the selected workflow current workflow will start executingIf it is NOT checked, the workflow to be executed will be added to the queue and will be executed in the order it was added to the queue.
If it IS checked, the current workflow will pause execution and execute the selected workflow immediately. Once execution is complete, it will resume the paused workflow at the “ON WORKFLOW COMPLETE” point.
HOW IT WORKS:
A Simple Example to configure the 'Next Workflow' activity in PopFlow Studio.
Select the ‘Next Workflow' activity from 'Activity Sidebar’.
Click on ‘Next Workflow' activity to open and configure the 'Next Workflow’ activity.
Click on the ‘Select Workflow' field to open the list of the available workflow as shown below.
...
After selecting the workflow you will notice a 'VIEW' button is createdvisible. If you click on the view button, it will open the selected workflow on the next tab.
If you don't want to add any other activity in the current workflow, then close the 'Next Workflow' activity and publish it.
This configuration will execute the 'Next Workflow'.
If you want to add some other activity after the completion of ‘Next Workflow', then select check the 'Should return to this workflow’ as shown below.
...
Once the ‘Should return to this workflow' is selected checked it will create a button under the 'Next Workflow’ as shown below.
...
You can add any activity on the button and it will execute after completion of the next workflow.
You can add Add the ‘Desktop Notification' activity on the 'ON WORKFLOW COMPLETE’ button to alert the user as shown below.
...