Verb sub task
A sub workflow is an element in a User step
Verb Sub Task
A sub workflow is created from a User Step. Create a new User Step and add a verb sub-task element. Configure the appearance of verb sub-task element in the client.
Set the following:
Title: Text on the verb sub-task element button.
Icon: Icon one the on the verb sub-task element button.
Allow Multiple Runs: This should be check to allow the verb sub-task element to be run multiple times whist in the same user step in the main workflow.
Pills: Pill on the sub workflow button. One or multiple pills can be configured on the verb subtask, the pill can display a text or a count of how many times the verb sub-task has been run*
Close the User Step, an icon will now appear, representing the added sub workflow.
Double click on the sub workflow icon to open the (empty) sub workflow.
Create a workflow, all variables from the main workflow are available in the sub workflow.
Return data back to the main workflow by configuring the End step in the sub workflow. The output from the sub workflow is put in the target variable of the verb sub-task element. The sub workflow output is available once the user has moved on from the user step the verb sub-task is located in, i.e. it is not possible to use the data in the user step the sub workflow is started from.
Verb sub-task output example
Verb sub-task output example
The user step contains three verb sub-tasks with the following content:
Add Additional Info a. addInfo ? text input b. finishDate ? date input
Add Picture (Allow multiple runs = TRUE) a. addPicture ? camera input
Add Material (Allow multiple runs = TRUE) a. gridMaterial ? data grid
User Step:
5. Script Step: outPutPictures
6. Script Step: selectedMaterialAll
7. Assignment: selectedMaterial
8. User Step
Sub verb-tasks run in iOS - Pills:
Flow script examples
Scrip Step - Add pictures to table:
Scrip Step - Grid ? verb sub task run multiple times (loop in loop):
Assignment ? fetch first picture:
Assignment ? fetch last grid:
Last updated