Skip to Content

Create Worflow item only if Task is released WS00400064

Hi SAP Experts

I’m using Standard Workflow WS00400064 to create work items if Notification task is released and if for a released task user responsible will be changed. This works basically but if I change user responsible for a task not yet released it creates also a work item. I tried to enter conditions in start event tab but it seems condition will be not used. There is no field to restrict only for released Tasks (TSRL) or something like this. Used condition also with Planned Start date and or Time. Do I do something wrong or is there another possibility to create work item only if Task is released?

Thanks a lot for your help!!!!!!!

With kind regards Peter

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Dec 23, 2014 at 05:18 AM

    Is the workflow started via an event? Is there an event linkage(s) defined in transaction SWETYPV for more than one workflow?

    Can you turn on the event monitor, and monitor (transaction SWEL) which events get triggered when you do the different operations for the notification task?

    I don't know this particular workflow or its functionality, but just by looking the following SAP help document, it looks like there is an event RESPONSIBLEISCHANGED that starts a workflow.

    Workflow Template WS00400064 (QM Pers.resp) - QM - Quality Management: Workflow Scenarios - SAP Library

    If you just deactivate the linkage to this even in SWETYPV, perhaps the unnecessary workflow will not start anymore?

    Regards,

    Karri

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Peter Nussbaumer

      The events are triggered by the standard code. Normally there is not much you can do to prevent those events to be triggered (or if an event is not triggered in some scenario in which you would want it to be triggered).

      It is possible that you cannot solve this with workflow start conditions. Normally you can do only quite simple things with conditions - such as checking if field value is X or Y. To be honest I cannot completely follow your explanation. But lets say that event X is always triggered when the responsible user gets changed. This is fine and your workflow starts. Now, you don't want to start the workflow when the QM task is till in certain status ("not yet released"?). Normally you would check the status field in the start conditions, and if the status was "not yet released", you would not start the workflow. If this field is not available in the start condition editor, it means that the "status" attribute/field has not been defined for the corresponding business object. Then in this case you should create a new attribute to the business object.

      Regards,

      Karri

  • avatar image
    Former Member
    Dec 23, 2014 at 04:00 AM

    Hi Peter,

    Sorry but I am not able to understand the question clearly. "Task released" is it related to some order task or some other thing in SAP or you are talking about workflow task released ?

    Till now , i can figure out that there must be a Business object on which you are working and the same must be having a status field etc to check in start condition or check inside the workflow. Please check.

    Thanks

    Rakesh

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 23, 2014 at 05:57 AM

    Hi,

       I think you can take help of Check Function  Module for doin it.

    Add comment
    10|10000 characters needed characters exceeded