on 07-14-2009 10:03 AM
Hi Experts,
I want to test my workflow. In how many methods we can test the workflow? And what are the different transactions we can use for it?
Regards
G.s.naidu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Saumya,
Thank you for the prompt response. I have started testing my workflow in swus transaction
I have given template ID and executed. " task started under workitem ID 123345 current status in process".
If I clicked on workflow log in details message is workflow created.
In graphic workflow started line is in green color ( strting line).
Status is error.
What does it mean?
May I know how can we know about our workflow whether its working fine or not?
If possible can I communicate you? If you don't mind please
Thanks
G.s.naidu
Hi G.S.Naidu,
When the state of the workflow is set to errror, please go to the workflow log in 'List with technical details' mode (cube button).
Select the step that is in error and open the 'Step History' tab.
Here you would come to know the exact error that is being encountered.
Please quote this error so that I could give an appropriate solution.
Regards,
Saumya
Hi Saumya,
I got the error description. 0000000003 role 'role id': No agent found
But I know how to get the agent. In the report when I execute it I have to give some screen inputs . Those inputs will be the agents for this workflow. But when I test my worflow in swus I can't give those inputs. How to test it with all these.
If possible give me any other communicator chat ID of you if you don;t mind please.
Thanks
G.S.Naidu
Hi G.S.Naidu,
Try to directly test run the workflow from SWDD t-code. If the agents are passed to some workflow container element then do that while executing the workflow.
Also you can try making the task as general task to avoid agent error.
I guess it would not be very helpful communicating through any web chat coz I hardly access them.
Anyways, I would be glad to help you through SDN.
Do let me know if you face further issues.
Regards,
Saumya
Hi NAIDU
For debugging the workflow go the method of your BOR. write a inifite loop like following code
Data : exit type c.
do.
if exit = 'X'.
exit.
endif.
enddo.
Then execute the workflow when the workflow reaches the method which consist the inifinte loop. Now goto SM50 t-code select the user has WF-BATCH in the list goto progrom/session>program>debugging.
Do the debugging the check all the necessary container is getting filled.
Regards
vijay
Hi,
You can test the workflow using transaction SWUD.
Once you execute the transaction (the event for which you triggering workflow. Eg. Material Create)
1) Go to transaction SWUD
2) Enter the Task Type: WS and under Task enter the workflow template number (only numeric part of it)
3) Click on u2018Test Environmentu2019 button
4) In the next screen, you can select the step based on what you want to test
5) When you select any of the steps, you will get the screen having list of work items, sort the column of work item and select the latest work item
6) Once work item is created click on Log button where you can see workflow log.
By following the above steps, you can test your workflow.
Hope this helps you.
Regards,
Deepa Kulkarni
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.