You are viewing an old version of this page. View the current version.
Compare with Current View Page History
« Previous Version 20 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 checkboxes 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. |
Join activity
This activity joins multiple execution paths from several activities exits into one transition.
The possible case to use this activity is when you need to cause a workflow to wait for more than one activity in multiple paths to finish before continuing.
How to use the Join activity
- Add it to the canvas using the Workflow Editor;
- Connect the exits of the activities you need to join to the Join activity;
- Then connect its exits to the exit activities: Complete and Incomplete.
Exit activities
Result | Description |
---|---|
Complete | The Join activity moves along this path when the system has determined that all activities joined have completed and transitioned to the Join. |
Incomplete | The Join activity moves along this path when the system has determined at least one activity joined have completed but transitioned along a path not followed by the Join. |
Record Generator activity
This activity creates records on any of the tables extending the Task table.
If both the Wait for condition complete and Advanced checkboxes 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 |
---|---|
Name | Displayed activity name. |
Description | Type a brief description for the activity. |
Task type | Select the task type to create. You can make a selection from the corresponding task table. |
Task values from | The values used to create the task may either come from:
|
Wait for condition complete | If selected, then the activity waits for the condition to be met (and the task to be completed) before continuing. |
Completion conditions | Specify the conditions to meet before completing. |
Advanced | Select this checkbox to specify a script to evaluate. When you select this checkbox, a text box appears where you can enter this script. |
Script | Set values for the task in this script. Use the variable 'new_task' when setting additional values. For example: |
Task values from group | |
Template | This field appears only when the Template option is selected in the Task values from field. In there, you can specify an existing template related to the selected task table. |
Set values | This field appears only when the Values option is selected in the Task values from field. In there, you can specify an existing template related to the selected task table. |
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. |
Switch activity
Timer activity
This activity pauses the workflow execution for the specified period of time.
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