Next Workflow
OVERVIEW:
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”.
After opening the 'Next Workflow' activity, you will get the below configuration panel.
Default Configuration Parameters:
Select Workflow: Next workflow to be executed.
Should return to this workflow:
If 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.
It will show all the workflows from all the events.
Select the workflow name which you want to execute. (NOTE: The selected workflow must be published)
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.
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 check the 'Should return to this workflow’ as shown below.
Once the ‘Should return to this workflow' is 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.
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 'NEXT WORKFLOW’ ACTIVITY MUST ALSO BE PUBLISHED. THIS ACTIVITY DOES NOT WORK IN TEST HARNESS.
This document may contain confidential and/or privileged information belonging to OpenMethods. If you are not the intended recipient (or have received this document in error) please notify the sender immediately and destroy this document. Any unauthorized copying, disclosure, or distribution of the material in this document is strictly forbidden.