Control Flow Activities
Overview
appConnector Base Activities are made up the most commonly used activity modules in the appRules product suite.
appConnector Base Activities
Control Flow Module
The Control Flow activities module provides activities for controlling flow of execution within your project.

Note that while activities such as the Parallel and Sequence schedule multiple child activities for execution simultaneously, only a single thread is used for a workflow. Each child activity of these activities executes sequentially and successive activities do not execute until previous activities either complete or go idle. As a result, these activities are most useful for applications in which several potentially blocking activities must execute in an interleaved fashion. If none of the child activities of these activities go idle, a Parallel activity executes just like a Sequence activity.
Activities
The table below shows the activities in the Control Flow activities module and their key properties.
Activity
Description
If
Condition Activity which models an If-Then-Else action
Parallel
Executes all sequenced set of activities simultaneously and asynchronously.
Sequence
Executes a set activities according to a single, defined ordering.
While
Executes a set of workflow elements while a condition evaluates to true.
Switch
Executes a set of activities depending on a value (can be a datafield read in a source, a variable, a parameter value)
Start
Optional activity to set the starting point of the workflow. If not used, the starting point is the first activity of the workflow.
OnDemand
Acts as a container to hold OnDemand activities so that they are easily accessible at design time. At run time, each activity is executed directly
Redirect
Redirects execution to a specific workflow activity.
Last updated