there is a workflow which is in error failed due to agent assignment but we need to forward the workitem to a new user after restarting workitem as the previous user got terminated . Can anyone please suggest how to do that
Request clarification before answering.
this we have achieved by replacing the holder of the position who was a terminate user with the new user and then restartiing the workflow .. thanks all for looking into it
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Please follow the following steps
Copy the Work-item id of the error step
Create a new session & go to se37
Enter the FM u201CSWL_WI_CONTAINER_MANIPULATEu201D & Click on execute button
Enter the work- item id in WI_ID field
Remove the u201CXu201D from the Display field & click on execute button
Enter the missing details like, address string, manager name etc.
.
Use Tcode - SWPR
Give the workitem id of the top node of workflow and date in the creation date field & click on Execute button
Select the concern workflow from the list (with respect to the workflow key)
& click on select the error workflow from the list & click on button
Go to workflow log and check for the last work item id.
Create a new session & use Tcode u2013 SWIA
Copy the paste the last workitem id you just got & click on Execute button
click on forwarding button, one pop up screen opens.
Enter the user & press enter key. (a success message will be displayed)
Open the new session & use se37 (for confirmation)
Execute the FM u201CRH_LOCAL_INBOX_GETu201D
Enter the USER_ID, LANGUAGE
Click on Execute button.
you should now see the workitem in users inbox.
Many Thanks!
Ritin
Edited by: Ritin Jain on Jan 12, 2010 1:00 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I guess i was unable to explain you my problem A workitem was scheduled to go to a user via a rule . That rule is determining the user . But the workitem is not with that user as the workflow went to error in that step because the user was not maintained in infotype 105 . But now the user has been terminated . Now the workitem needs to be routed to a new user but the workflow is still in error . While trying to restart the workflow , the workflow is trying to route it to that terminated user and it is failing . So what can we do for it .
i tried manually replacing the workitem and then forwarding it . but it gave me a message that the workitem is in completed state . I took the Workitem id or the instance of that task only .
please suggest .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
do we need to maintain the deleted user in the infotype and then from his user id do we need to forward the workitem
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
no sir it is not working
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
tried but didnot work as it said cannot execute a completed workitem but actually workitem is in error
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thanks but even after restarting its going into error as the previous employee got terminated and he cannot be placed in it new user we are not getting
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Go to SWIA tcode. Enter the workitem no. Execute. Click on the admin forward icon. Enter the username to whom you want to forward the workitem.
This you can do even without restarting your workflow, i mean you can forward the error workitem as well.
I just tried the same in my system and it worked.
Hope it helps you as well.
All the best and wish you a very happy new year. (hope moderators won't mind it.)
Regards,
Raj
Hi,
How the agent was determined earlier. Was is done using some rule?
because i believe even if you restart, the workflow will again go into error as the agent determination failed.
If its done through rule, see if you can use SWI1_RULE.
Or see if you can use the tcode SWI2_ADM1 / SWI2_ADM2 to get the workitems with deleted agents.
you can forward WI via SWIA tcode or by using the fm SWW_WI_FORWARD.
Hope it helps.
Regards,
Raj
Edited by: Raj Karunanidhi on Dec 31, 2009 5:56 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can use the txn SWPR from which you can restart the error workitems....
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.