on 05-05-2009 8:14 PM
Hi,
I am soliciting solution or some ideas for the scenario below:
A user is assigned to an Approval Object (Notification Task). The user gets a work item in his SAP Inbox. But before completing that work item, the approval task was re-assigned to a new user. The new user gets a work item in his SAP Inbox. Question is, how do I delete the work item from the other user's Inbox.
I was wondering if there's a workflow functionality for this.
Your ideas are very much appreciated.
Thanks.
Giscard
Your question is not clear
Let me ask you the question?
Agent A->has workitem Inbox currently
Agent B-> Workitem forwarded to
Your question
Remove workitem From A?
Ans: Gets removed automatically when forwarding
Remove workitem From B?
Ans: Execute Rule Exection from SWI1_Rule.
Thanks
Arghadip
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The scenario is not really forwarding the work item from person A to person B.
It is initiated by a change in a field of a certain transaction (task owner field).
There is a workflow that sends out a work item everytime the task owner field changes.
My question is how do I delete the work item from the Inbox of person A (the user the work item was previously assigned to).
Hi Giscard
To add to Rick' suggestion, the "link" between the two is the common object key. The started workflow will be "waiting" for the event that gets triggered when the field value is changed. This will result in termination of the previous workflow and starting the new one.
Good Luck
Ravi
I can have just one workflow.
But I will definitely have 2 workflow instances.
First instance:
Task owner field was changed to user A. Work item gets sent to Inbox of user A.
Second instance:
Task owner field was changed to user B. Work item gets sent to Inbox of user B.
Will the "Wait for Event" step be visible across those 2 instances?
Hello,
"Will the "Wait for Event" step be visible across those 2 instances?"
Yes it will, but there is a problem - what BOR object is the basis for these workflow instances?
Does the key of the object contain the assigned user? If not, having a wait-for-event step
will stop both workflows.
You could create a separate object, and listen out for an event from that object, which does contain the user in the key.
Or, probably easiest of all, you could have the workflow listen out for the change-user event and instead of completing the workflow it could re-route it to the other user.
regards
Rick Bakker
Hanabi technology
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.