Start of Content Area

Function documentation Multiple Condition  Locate the document in its SAP Library structure

Use

You use a multiple condition (This graphic is explained in the accompanying text) to define different processing branches for a workflow. You can define a multiple condition as a case or switch.

Features

Case

You specify a basis of comparison and the comparison values for a case. The basis of comparison can be a container element (not a multiline container element) or a system field: The comparison value can be a container element, system field or a constant.

An outcome is inserted in the workflow definition for each comparison value. During the runtime, the system checks comparison values against the basis of comparison in the sequence specified. If the basis of comparison matches a comparison value, the workflow is continued using the corresponding outcome.

You can define an Other Values outcome. Processing is continued using this outcome if none of the comparison values match the basis of comparison during the runtime. If you have not defined the Other Values outcome, the workflow is assigned the Error status.

Switch

You can define any conditions for a switch. All functions of the condition editor are available to you.

An outcome is inserted in the workflow definition for each condition. During the runtime, the system checks conditions in the sequence specified. The workflow execution is continued using the outcome whose condition produces the value true first.

You can define an Other Values outcome. Processing is continued using this outcome if none of the conditions return the value true during the runtime. If you have not defined the Other Values outcome, the workflow is assigned the Error status.

Activities

You define the case or switch and a description for the Other Values outcome on the Condition tab page.

 

 

End of Content Area