You are viewing an old version of this page. View the current version.
Compare with Current View Page History
« Previous Version 15 Next »
Begin activity
This activity, along with the End activity, is initial and appears when a new workflow is created. It's a logical start of every workflow.
End activity
This activity, along with the Begin activity. is initial and appears when a new workflow is created; it's a logical conclusion of every workflow.
To define variables in your activities via the administrative interface if necessary, please complete the steps below:
- Navigate to {your_instance_url}/list/wf_activity
- Choose the activity you are going to edit and click on it (or click New to create a new activity);
- Fill in the fields and click Save.
Create Event activity
The Create Event activity primary function is to add events in the event queue that may later perform a trigger function for any action or notification or something else. After creating an event, it is written down into the Event (sys_event) table. In parallel, the event processor handling the event within the period specified in the system properties.
Input variables
Field | Description |
---|---|
Event | Choose the event instance on the basis of which the activity will create events. All the event instances (they also can be called event registers are listed in the Event Registers (sys_event_register) table). |
Param 1 | Specify the first event parameter if it is required for this event. If this parameter is a string value, then it must be within quotes (" "). |
Param 2 | Specify the second event parameter if it is required for this event. If this parameter is a string value, then it must be within quotes (" "). |
If activity
This activity checks a condition to determine if a Yes or No transition should be taken.
If both the Condition and Advanced script are selected, then they both must evaluate for this activity to choose the Yes transition; otherwise, the No transition is chosen.
Input variables
Field | Description |
---|---|
Condition | A condition to meet for taking the Yes transition. |
Advanced | Select this checkbox to specify a script to evaluate. |
Script | Enter a script that must be evaluated in this field. If the script sets the variable answer to yes, then the Yes transition is taken; otherwise, the No transition will be chosen. |
Run Script activity
The Run Script activity runs a script in the scope of the workflow version.
Input variables
Field | Description |
---|---|
Script | The script to execute. |
Set Values activity
The Set Values activity set values on the current record when the workflow freezes or ends. These values determine the activity behavior.
Input variables
Field | Description |
---|---|
Set values | From the list on the left, select the current record field whose value you want to set when the workflow freezes or ends. In the input field to the right, enter the value to set. |
Wait for Condition activity
This activity causes the workflow to wait until the record meets the condition specified. The workflow evaluates this activity each time the record updated. Use it to hold a workflow execution until a particular criteria is met by a record update.
Input variables
Field | Description |
---|---|
Condition | The workflow is paused at this activity until the record meets the condition specified. |
Condition script | If specified, the workflow is paused at this activity until this script sets the answer variable to true. Select the Advanced checkbox to show this field. |
If both Condition and Condition script are specified, then both of them must execute successfully to transition to the next activity; otherwise, if the Condition will not meet or the Condition Script will not return true, the workflow will stay paused.
- No labels