Skip to Content

Strange behaviour from WF

Hi,

I have a PO WF, which triggers for a particular ReleaseGroup.

Agents for the ReleaseStrategy is not maintained in SPRO/ReleaseStrategy, but in a custom table.

After it triggers the WF, there is a step which picks Agents from this custom table and next step sends workitem to that Agent.

In one case, the PO is from the correct Release Group, but there is no Agent for this (unfortunate reasons) in the table, but still it sent workitem to a user.

I couldnt find any workitem being forwarded, nor I saw any change logs in PO.

I need hints on what all cases could have lead this to happen.

Thanks,

Aditya

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Oct 24, 2017 at 10:21 AM

    If you can't find any legitimate agents for a task, most people have the workflow abend, so that we can catch those types of errors.

    Did your workflow task go to one particular agent, or to many agents? Is it possible that the task is classified as 'General' and when no agents were found, it was sent to all possible agents?

    Add comment
    10|10000 characters needed characters exceeded

    • I see 2 possibilities here.

      1. Since the work item didn't go to any approver's inbox, someone might have manually forwarded it to that user using SWI1 transaction.

      2. If the task is defined as general then it might have gone to all possible approvers and one user might have reserved it.

      I could only guess these 2 options without seeing the workflow log.

  • Nov 02, 2017 at 10:05 AM

    Hi ,

    In addition to Susan, please check the customer exit EXIT_SAPLEBNF_005 is implemented or not .

    Thanks

    Add comment
    10|10000 characters needed characters exceeded

  • Nov 02, 2017 at 09:15 AM

    If your agents list is empty, the WF will send the task to all possible agents. First one to pick it up owns it, and I would guess that's how your user was determined.

    Add comment
    10|10000 characters needed characters exceeded