on ‎2009 Apr 29 9:48 AM
Hi,
Does anyone knows how to monitor a workflow? Let's say I have started a transaction and now I want to monitor it progress until it gets completed. This is so that I can identify whether there is any error occur in between also.
Thank you.
From,
Shreya
Request clarification before answering.
The way which i do is
1. Execute Txn SWWL.
2. Clear all the fields on the screen except date(Current Day Date) and give the current running time at the place of time.
3. now click F8.
4. Now run the Txn or workflow now, from the ready state till the workflow is completed you can see each step which is displayed one after the other.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Double click the step which is going to error state and then click on the table icon which is displyed there you can check the log of the workflow.
If at all you want to debug the method of the task, First make the task as fore ground if it is a background(DO not Specify any agents) then put a break point in it and then try to retrigger the WF . then the workitem comes to the SAP inbox then you execute the workitem then the execution stops at the break point the is pointed in the BO method.......
1. Execute Txn SWWL.
2. Clear all the fields on the screen except date(Current Day Date) and give the
current running time at the place of time.
3. now click F8.Why do you do this. Do you know why we use SWWL? It is to delete the workitem. If accidentally anyone runs with the defaulted value, they will loose the complete log especially in a production environment it is dangerous.
There are so many other ways to monitor the WF and some of them has been suggested by the other contributors.
Regards, IA
Hi,
You can use the Workflow monitoring tool.
1. Go to Transaction code : SWUD.
2. Task Type : WS
Task : your workflow number. Press Enter
3. Select Test Environment Option
4. Then Select Determine instances for task.
5. This will give you all the workitems.The latest workitem will be in the top.
6. Double click to see a detailed information on the workflow.
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 3 | |
| 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.