Session 4 - Condition

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 9

Step Type – Condition step.

:
This step is similar to what we have in ABAP (IF-ELSE).It checks for the condition against the variable.

RC on the branch to create the step.

Select the condition step.


Choose the expression by DC on “Click here to create new condition”->One popup will get displayed
where we need to provide the expression by DC on workflow container element present inn right pael of
popup. Provide the constant value or you can provide the dynamic value by DC on the workflow
container element. Also give the operators to form the expression.
Click on Enter (Tick mark) so that the formed expression will get placed in the Condition.
Now provide the Outcomes in Outcomes tab. And If the condition evaluates to be true then the True
branch will get executed else False branch.
Now cut the block which we created in Container step and place it in True branch.
Now test the same workflow with value as 293 for the sales order. In this case the false branch will get
executed since the condition evaluated to be False.

We can also check in SWIA and see the log .


Now test the Workflow by providing the value 292 in SALES_ORDER container element and click on Test
button.The true branch will get executed.

You might also like