[4] How to set variable task in a process

Last modified by admin on 2023/07/10 09:23

After clicking in Create New, page changes into the screen below:

image-20230312195356-13.png

ComponentDescription
1Name of process
2Tasks in a process (drag and drop these tasks to 4 session), logic condition, start, and end of the process (please scroll down to see all elements) 
3Find the needed task
4You need to drag and drop to design a full process
5Session for you to enter information of each created Task and Logic in the process

Note: Based on real requirements, users create Bot Tasj, or Human Task, and so on, and add conditional clause (If, Else, Switch) to complete the process.

How to use Set Variable task in a process

a. Using Set Variable task

Set Variables Task allows user to create global variables for the process, and assign them with new values.

Variables can be initialized when designing a process as well as during running a process. After a variable is initialized, any other task can read the variable using the expression ${workflow.variables.NAME}. It can be overwritten by a subsequent Set Variables task.

image-20230312195356-23.png

S1: Drag Set Variable task in toolbox and drop in design session.

S2. In the right, fill information in definition session

Column 1: Name of variables

Column 2: Assign variables with new values

 

image-20230312195356-24.png

b. Delete Set Variable Task

To delete Set Variable task, please right click in the created Task Set variable, then click Delete this task.

image-20230312195356-25.png

  
Navigation