Skip to Content
author's profile photo Former Member
Former Member

Activity step in Purch. Req. Approv WF not executing

Good evening folks.

I am struggling with a Workflow that was created by a contractor who is no longer around which is for our Purchase Requisition Approval process.

When a PR is finally approved (1 or more levels of approvals possible), we then want it to send an email to the originator to say their PR has been approved.

The next step after a loop (loop ends when Release Indicator = '2'), is an Activity that gets the PR originator's name from the User Id. This is to be done in a custom Task utilizing the BUS2105 object type.

The Container variables are setup correctly, the Binding appears to be setup correctly. Task Properties are Background Processing and Task Complete.

The Standard Task has a status of Released.

When the PR is approved and the WF executed, it goes all the way to the Activity Step to get the PR originator's name and then just stops. The status of the WF at this point is "In Process" and never goes beyond that.

Any help in pointing me in the right direction to research would be greatly appreciated.

Scott.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Mar 04, 2013 at 06:33 AM

    Also, try debugging the background method that is created for finding mail ID of PR creator. This will help understand the point where it is going wrong.

    Regards,

    Rahul Kulkarni

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Anjan Paul

      Anjan;

      Yes the task and method are defined with the background selection checkbox.

      What I found out was that the Container Element in the Properties tab had botht he Import and Export checkboxes blank. I set them on and now the WF works fine. Now I just have to get the right variables inserted into the messages.

      Thank you everyone for your help.

  • Posted on Mar 02, 2013 at 06:10 PM

    As already mentioned by Abdullah you can check any short dumps in ST22. Check in SWO1 when you execute the method with same dat what happen. Thirdly you can restart the workflow from SWPC and check what did you see in SM21 and ST22.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Mar 01, 2013 at 11:46 PM

    Most probably, there is a short dump. This is why the status stays in "In Process." Look in ST22 for short dumps around the time the task starts execution. That should point you in the right direction.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Thank you Abdullah;

      I'll check that today. Since I am not really a WF programmer (but the only programmer here at my company), I didn't think that a dump would have happend.

      I'check out what everyone has said so far and get back to this string with my results.

      Thanks again.

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.