on 2023 Mar 30 8:03 AM
Substitution Profile is not working correctly
We have linked the Substitution, Classification & profiles as per the below blog.
Link Substitution, Classification and Profiles - FAQ Wiki - Support Wiki (sap.com).
We have created the below classifications & substitution profiles-
Classification
1. ZAPPRLEAVE- Approve Leave
2. ZHRFORMS - Approve Forms
Profiles
1. ZAPPROVE
2. ZHRFORMS
And, we have assigned the substitution profile ZAPPROVE to User1 & ZHRFORMS to User2.
So that User1 should receive only the work items related to Approve Leave & the User2 receive only the work items related to Approve Forms.
But the issue is User1 is receiving both the workitems of Approve Leave & Forms. Its not getting restricted.
Same Wise User2 also receiving the both work items.
Please guide me how to send the workitems of Approve Leave alone to the User1 & same for User2.
Request clarification before answering.
Hi
Substitution means first a determined agent is found (most of the time via rule) that you can set up in the workflow step (transaction to set up rule is PFAC)
When the agent is found then if he has an active substitution (from my inbox or swbp or rmps_set_substitute[administration] ) and this substitution has the right profile (beaware that leaving it blank means all tasks) then the work item is going to both the substitute and original agent.
Agent determination is a whole topic in workflow so you shall take a look at the help
However the substitution profile as far as I know is working fine (I am using this since 2001) for diverse workflow and customers...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Stephane,
Thank you so much for your Input. Please confirm my understanding is correct - Do I need to filter the Substitute user based on the profile in the Agent Determination step itself for the appropriate workflow task.
In other way, Do we need to write the code logic for the above in addition to the configurations of classifications & Profiles?
In our scenario, determined agent is found ‘ANX’ who having 2 substitutes
1.User1 with substitute profile ZAPPROVE
2.User2 with substitute profile ZHRFORMS
The request has been raised to approve leave. So in this case, workitem notification should have gone to the user ‘ANX’ and ‘User1’.
But the issue is User2 also receiving the notification.
User | Count |
---|---|
80 | |
30 | |
9 | |
9 | |
9 | |
7 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.