Thursday, May 8, 2014
Condition in Workflow is used if only one of two possible alternatives can be processed during the workflow during run time and if the workflow system can make a decision based on the contents of the workflow container without user interaction.
Assumption is that we have already workflow defined and now trying to add condition a workflow.
Assumption is that we have already workflow defined and now trying to add condition a workflow.
Adding Condition Step type
- Right Click 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.
Followers
Popular Posts
- ABAP - ALV Report example with steps
- ABAP - Step by step tutorial on Smart Forms - Template Node
- ABAP - Sending email with pdf attachment
- SAP Adobe Form - Steps to create simple ADOBE Form and calling it from ABAP Program
- SAP ABAP - CL_ABAP_CHAR_UTILITIES class usage
- ABAP - Multiple value selection from F4 help for SELECT-OPTIONS
- Execute ABAP Report using SUBMIT statement
- ABAP - Select all or Deselect all in ALV or Check box handling in ALV
- Web Dynpro ABAP ALV - ON_CLICK event
- ABAP - Dynamic WHERE clause
In work flow i want to write delete data when i will get error on particular
ReplyDeletetransaction