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.

Control Flow Activities

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

FlowDecision

FlowChart Activity with Yes/No branches based on a Condition

If

Condition Activity which models an If-Then-Else action

Parallel

Executes all child activities simultaneously and asynchronously.

Sequence

Executes a set of child activities according to a single, defined ordering.

While

Executes a contained set of workflow elements while a condition evaluates to true.

Switch

Executes a contained 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 staring point is the first activity of the workflow.

Redirect

Redirect the flow to a specific activity of the workflow (optionnally based on a condition)

Last updated