转 Using "Multiple Condition" step

From link.

Condition Step

By Suresh Kumar Parvathaneni

 

Agenda:

This document details about the steps “Multiple Condition”. 

 

Pre-requisites: It is assumed that the reader of this document has a preliminary understanding of workflow and has worked with the container elements earlier. If not, please go through the first two Tutorials of workflow available in this site. (More details)

 

 Procedure:

1.      Create a new workflow definition.

2.      Create a container element, CARRID (as demonstrated in tutorial 2).

3.      Now click on undefined step and create the step “Multiple Condition”.

转 Using "Multiple Condition" step 

4.      Enter the step name of your choice.

5.      We would have the following condition here:

If carrid = ‘AA’.

   Do this.

Elseif carrid = ‘AH’

  DO this.

Elseif carrid = ‘SQ’

  Do this.

Else.

  Do this.

 

Select the “CARRID” using the F4 help for the comparison basis field. 

Enter the values of the carrid under the Comparison values with the corresponding outcome name (of your choice)

转 Using "Multiple Condition" step 

Double click on “Carrid”. Next click on “=” and enter the value “AA” in the constant field and press ENTER. 

Click on “Transfer and go to graphic”. 

转 Using "Multiple Condition" step 

As observed above, there are different branches for each value of CARRID mentioned above. 

Test the above scenario by inserting mail steps in all the  branches and by passing different CARRID values.

你可能感兴趣的:(workflow,Condition,工作流,multiple)