Platform SDK: Exchange Server

Intrinsic Actions

Some of the actions used in a map are intrinsic, or built in to the routing engine. These actions are used primarily for process and flow-control; they control the execution of the map. When creating a Row object using these actions, the Flags property must be set to 0 (zero).

Intrinsic Actions

Action name Arguments Description
AndSplit Activities as Array of Long AndSplit is used for parallel branching. It creates one or more new subprocesses that execute independently; the logic branches in parallel.

The arguments are an array of Activity IDs (line numbers). The routing engine creates a new process instance for each entry in the array. The new process contains the same map but begins execution at the specified line number. Each subprocess executes separately until it encounters a Terminate statement.

It is the responsibility of the developer to ensure that each subprocess has a valid Terminate action. It's also the developer's responsibility to extract any necessary data from the subprocess's process instance message before the process terminates. Typically you would use the Consolidate script action to consolidate properties from the subprocess PIM onto the parent PIM as the last step before termination.

Goto ActivityID as Long Jump to specified activity in the map (line number) and begin executing there.

ActivityID is the line number that identifies an activity (a row) in the process map.
New ActivityID as Long Instantiates a new route process instance
OrSplit EvalFunction as String An "IF" statement. Requires the name of a Boolean VBScript function that evaluates to either TRUE or FALSE. If TRUE, the next row of the map is executed. If FALSE, the next row of the map is skipped, and the following row executed.
Terminate (none) Ends the currently executing process instance.
Wait Time as Long Wait the specified number of minutes; then execute the next row.