Condition Procedure

Official Content

Scope

Business Process Diagram Symbols: Inclusive Gateway

Purpose

It defines which paths are to be followed using a procedure. It is necessary to define the value of each edge and based on what the procedure returns; the process will follow one or more conditional routes.

Structure

The procedure associated to a conditional must have the following parm rule:

parm( in:&WorkflowProcessDefinition, in:&WorkflowProcessInstance, in:&WorkflowWorkitem, out:&conditionCode)

Where:

&WorkflowProcessDefinition is a WorkflowProcessDefinition data type variable

&WorkflowProcessInstance is a WorkflowProcessInstance data type variable

&WorkflowWorkitem is a WorkflowWorkitem data type variable

&conditionCode Numeric(4) variable

Example

Given a car rental process, it is specified which car brand you want to rent. Then it is evaluated by a procedure, if the mark is AUDI or CHEVROLET and the process corresponding to each brand will continue the execution.

condition_procedure_ex

condition_procedure_code






Was this page helpful?
What Is This?
Your feedback about this content is important. Let us know what you think.