on 01-17-2020 2:22 PM
HI All,
Here is the the scenario. A creates a contract which goes to B and C for approval. C is the substitute of B. B rejects the contract. C logs in and changes the contract. B and C both see the work item now. The requirement is that since C changed the contract he must not receive the work item for approval. How do I achieve this?
Regards,
Vishal Agrawal
Hello,
do not know how you get what you describe...But it does not matter.
You want workflow process to not generate a WI for a substitute: this is not standard.
I do not know if any BAdI exist for such request: check WI generation process.
Regards.
Laurent.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vishal
I am not sure if I understand correctly
However, if a user is making a change and then getting the task as approval as well then you probably need to modify the excluded agent code and it should exclude the person who created to be the approver.
Regards
Vinita
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Laurent,
Thank you very much for your reply. You are right in saying that when B rejects the contract then work item does not exist at all for B or C. What functional person doing here is that after B rejects the contract he logs in as C(substitute) and is looking for contract through contract number and then makes a change. Then a work item goes to B and C again. The requirement is when C makes a change only B should get a new work item and not C.
Regards,
Vishal Agrawal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Vishal,
you wrote:
A creates a contract which goes to B and C for approval. C is the substitute of B. B rejects the contract. C logs in and changes the contract. B and C both see the work item now
This is not possible: if a Workitem is rejected, this WI type was a DECIDE one.
Once rejected, if Acceptance by Contact Person is defined in the process schema definition, a WI type ADJUST is created and sent to document owner (in your case, user A), so no WI exist for approvers (here B and C).
Now, either user A accepts rejection and worklfow is over or A makes some modifications on the Contract, then by ordering it again, a new workflow is started.
Regards.
Laurent.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.