Skip to Content
avatar image
Former Member

Subworkflow is not being triggered

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,

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

6 Answers

  • Best Answer
    avatar image
    Former Member
    Jan 29 at 12:28 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 19 at 01:17 PM

    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...

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Rebeca,

      No red box means tat there is no error in your workflow. As Mike Pokraka said, that means your workflow went to a normal completion. The 'empty' boxes are steps (perhaps wait steps) that no longer are necessary because the workflow has ended.

      Sue

  • Jan 18 at 05:56 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 19 at 12:19 PM

    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....

    Could you please help us?

    Thanks for your support.

    best regards,

    Rebeca

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 22 at 09:20 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 22 at 09:41 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • What process does the WF implement? You can define that if task A completes then task B doesn't need to be done, or you can say A and B must complete before the WF can continue.