You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 16 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:

  1. Navigate to {your_instance_url}/list/wf_activity
  2. Choose the activity you are going to edit and click on it (or click New to create a new activity);
  3. 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

FieldDescription
EventChoose 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 1Specify 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 2Specify 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

FieldDescription
ConditionA condition to meet for taking the Yes transition.
AdvancedSelect 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

  1. Add it to the canvas using the Workflow Editor;
  2. Connect the exits of the activities you need to join to the Join activity;
  3. Then connect its exits to the exit activities: Complete and Incomplete.

Exit activities

ResultDescription
CompleteThe Join activity moves along this path when the system has determined that all activities joined have completed and transitioned to the Join.
IncompleteThe 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.

Run Script activity


The Run Script activity runs a script in the scope of the workflow version.

Input variables

FieldDescription
ScriptThe 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

FieldDescription
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

FieldDescription
ConditionThe workflow is paused at this activity until the record meets the condition specified.
Condition scriptIf 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