Skip to main content
Version: 1.32.0

Create Workflow

tip

Role required: admin, wf_admin.

To create a workflow, complete the steps below:

  1. Navigate to WorkflowWorkflow Editor.
  2. Click New.
  3. Fill in the form fields and click Create.

The workflow is created and ready to be configured. You can add activities, transitions, exits, define exit conditions, and so on.

To define additional workflow properties, complete the steps below.

  1. In the burger menu , select Properties.
  2. Fill in the fields.
  3. Click Save to apply the changes.
  4. Add activities to configure the workflow.

FieldMandatoryDescription
NameYSpecify the workflow name.
ActiveNSelect this checkbox to activate the workflow. When a workflow is created, this checkbox is selected by default.
DescriptionNAdd a brief process description.
TableYSelect the table to apply the workflow.
TriggerNSpecify the type of the event that triggers the workflow. Available options:
  • Manual – creating or updating a record manually or by calling the SimpleWorkflow.start(current) method. See the example below.
  • Condition-based – the workflow is triggered when the specified Condition is met by a record.
  • REM-driven – a workflow starts for all records of the specified table that use a record extended model.
ConditionNSpecify a trigger condition for this workflow. Use the condition builder to build complex AND/OR filters.
SimpleWorkflow.start
new SimpleWorkflow('159491114038814558').start(current); // workflowID
caution

The server-side business logic may not work for system tables if the creation or updating of records is initiated by the backend. For example, an Import Set is created as part of loading an Import Source, or an Email is created as a result of a notification rule, and so on.

A list of table examples for which server-side business logic may not work:

  • Main Log (sys_log)
  • Script Log (sys_log_script)
  • Exception Log (sys_log_exception)
  • Record Deletion Log (sys_record_deletion_log)
  • Import Set (sys_import_set)
  • Activity Feed Item (sys_activity_feed_item)
  • Email (sys_email)