Hello experts,
I've a workflow which launch a subworkflow, but this subworkflow ítem is not being triggered...
I'm new on workflows... can anybody guide me how to check the event which trigger this sub workflow?
Thanks in advance,
Best regards,
Request clarification before answering.
Hello,
Finally the problema was that the activity was not working properly. We created it again, and now everything is working fine.
Thanks in advance for your support.
Regards,
Rebeca
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ack, the graphical workflow log!
But what I see from the graphical log you provided is that the sub-workflow is being called.
To see what events are being used, I recommend you look at turning on the Event Log (transaction SWEL) and running this scenario, then check to see what events for your business object have been raised.
Hope this helps...
Sue
PS:
To view the workflow technical log (which is a good tool to know how to use) choose GoTo> Personal Workflow Settings and choose
'Workitem Display' =Technical View
and Workflow Log = Classic Technical View
(you'll have to back out and re-enter the WF Log after you make these changes). Then your log will look very different... but when you see the call to the subWF, you should see a broken red box, and if you click on the red stoplight besides that box, you should see more details in a pop-up window.
In the example below is a technical/classic technical view workflow log, where workitem ID 1059566 (which is a sub workflow) has gone into errror. You can't see the broken red box because of screen shot capabilities, but you can see the box is broken, and then click on the red stop light to the far left...

You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
One more time, thank you so much for your help, I didn't know that option in the WF, so thank you so much!
I've checked a WF from Friday and there isn't any red box....

Do you know which will be the problem? Do you know why there are "deleted workitems"?
Thanks in advance,
Best regards,
Rebeca
Hello Mike,
The step you told me is a Method included in the ZBUS2078, I will check it again, but I thought it was working correctly, but what will be the reason to end the WF before calling the subworkflow?
Let me check, i will let you know.
Thanks for your support Mike
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Your log shows a normal completion. The graphic is incomplete, but it looks like one of the green branches that cross over the picture are completing the WF before the subworkflow runs. “Find next task and release” is the last step.
If you have two branches in a 1 of 2 fork, one branch completing will cancel all others. If it is a 2 of 2 fork then 2 branches must complete before the WF continues. Please review your logic.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hello Susan,
Thank you so much for your support. I'll try to read the information you told me, but the problem that we have now in the Project is urgent 😞
I send you some screenshots.
As you can see the WF is correctly triggered, but whe the tasks "Trigger next task is triggered" the subworkflow is not executed and is directly out:

This second screenshot is a photo for the log:
As you can see the task QM-IC: Non-Conformity head is logically deleted.... and we do not understand why....

Thanks for your support.
best regards,
Rebeca
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rebeca,
Please investigate tutorials on SAP business workflow - they are really helpful.
And it's always a good idea to post a picture of the actual workflow technical log - we can't help you figure out what's going wrong if you don't give us any information...
Also feel free to check out the SAP Press book 'Practical Workflow for SAP' which I can recommend because all profits go to Doctors Without Borders so I don't make any money on it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 4 | |
| 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.