Process Flow - Basic Concepts

Basic concepts of process flows, including chaining of actions and transaction management. The process flow designer is illustrated for Actions, Database Operations, Schedules, and Entity APIs. It provides an area to design a process flow with chaining of multiple actions, including options for data mapping and transaction management.

Process Flow Designer

Designing a Process Flow

  1. Drag actions into the designer area.

  2. Connect the output node of the first action to the input node of the next action to be called.

  3. To map data between actions, double-click the link between the actions. Click OPEN DATA MAPPER in the Properties group.

    Data Mapping

Data Mapping - Standard Inputs and Outputs

Refer to this table when mapping data between actions. You may map fields that are different from the following fields.

Component

Output Node

Outputs

Accepts Input In

Java Script

Success

result

input

Data Base Operations > Insert, Update, Delete, Find, FindOne, Execute...

Success

result

parameters

Data Base Operations > Bulk Update

Success

result

parameters list

Schedules > *

Time Up

schedule time

-

Entity API

On Request

parameters

parameters

Subscriber

Success

result

-

Transaction Management in the Process Flow

Transaction propagation can be controlled from the link's Properties > Execution Mode property:

  • Continue Transaction: This is the default mode. The next action is executed with the previous action's transaction.

  • New Transaction: A transaction is created by the next action.

  • New Transaction and Asynchronous: A transaction is created, and the next action is spawned in a separate thread.