Skip to Content

PR release workflow triggers twice

Hello Friends,

I had created a custom workflow for the item wise release of Purchase Requisition(PR). 2 levels of release are needed for all items whose value is above a particular amount.

My problem is that, for all items in PR which requires 2 levels of release will generate 2 similar work items in agent's inbox. Even if we complete a work item execution, the other will remain in the inbox as not started.

I had used SWE2 to find anything is wrong with the event linkages. There it shows a linkage to the event 'RELEASESTEPCREATED' of BUS2009 to my custom workflow only. Similerly I used SWEC to find any linkages there. There also I can't find anything wrong.

Then I had used SWEL. I got the following result for a PR that contains only one item which requires 2 levels of release:

BUS2009 RELEASESTEPCREATED 04.11.2011 16:34:07 WS90000044

BUS2009 RELEASESTEPCREATED 04.11.2011 16:34:08 WS90000044

Is there anything else that I had to do? Can someone tell me what I had to do to correct this issue?

Please help me to solve this problem as soon as possible.

Regards,

Abijth

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Nov 04, 2011 at 10:54 PM

    Hello,

    Checking in SWEL was a good idea. Two events are being created. Could you confirm in the workflow log that two different releasecode values are being passed to the workflows?

    Not sure how to fix this, it's not really a workflow problem, more a configuration problem.

    You may want to look in some of the other forums.

    regards

    Rick Bakker

    hanabi technology

    Add a comment
    10|10000 characters needed characters exceeded

    • Hello,

      This problem arises because I am using 'RELEASESTEPCREATED' event of BUS2009. So I am going to try a different approch. I am going to trigger my custom workflow for the event 'CREATED' of the business object BU2105. Then I extended the business object and added a method which will return the items of the PR as objects in a table. By looping through this table I am going to get the release strategy & release group of the items and based on that my workflow will work. I am hoping that this will work properly.

      Thanks & regards,

      Abijith

  • Posted on Nov 14, 2011 at 06:04 AM

    Hi,

    BUS2009 RELEASESTEPCREATED 04.11.2011 16:34:07 WS90000044
    BUS2009 RELEASESTEPCREATED 04.11.2011 16:34:08 WS90000044

    Can you please let me know that are you trying to rasie event from any custom code. If you are rasing the event through custom code then try to deactive the peice of code. I feel like the standard applicaiton or transaction must be rasing the event.

    Regards

    Pavan

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.