on 08-30-2016 7:35 AM
Hi Experts,
How can we skip a Step in Rule Based workflow configuration based on value for my case (IncoTerm)?
General Scenario is that there are two Approvers in a workflow.
Process trigger to CR flow like :(REQ > Approver-1> Master Data Steward.)
Now in a special case-1, At the processing step if we are not getting value (Inco Term) it should go directly Master Data Steward .
case-2 If the processing step if we are getting value (IncoTerm) it must be go Approver-1 after that it will go Master Data Steward .
Two possible workflow executions could be -
Case-1 -> REQ -> Master Data Steward.
Case-2 -> REQ->APPROVER-1 ->Master Data Steward.
Can you please share your knowledge how to achieve?
Thanks & Regards
NIkhilesh Agarwal
Hello Nikhilesh,
You can use USMD_SSW_DYNAMIC_AGENT_SELECT badi to achieve the functionality.
Step 1: Create a service name (e.g.: DYNAMIC_STEP)
Step 2: Create a implementation for USMD_SSW_DYNAMIC_AGENT_SELECT badi and redefine the method GET_DYNAMIC_AGENT.
Step 3: In this method, using the CR number, get the value of IncoTerm and apply ur logic to fill the changing parameters CV_NEW_STEP and CT_USER_AGENT_GROUP.
Step 4: Call the badi implementation in the rule based workflow.
CR Previous Step | Previous Action | Condition Alias | New Chng. Req. Step | Dynamic Agent Sel Service |
00 | TEM | 90 | DYNAMIC STEP | |
90 | 05 | APP | 91 | |
90 | 06 | RES | 92 | |
91 | 03 | ACT | 93 | |
91 | 04 | RES | 92 |
TEM - Temporary Condition alias
Regards,
Dilipan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.