Skip to Content
-1

question on work flow agreement

Hi Experts,

I am working on support project for workflow, I have a agreement ME33K and there is an approval work flow . for one agreement its getting approved properly and for one agreemnt its going on in a loop . I had checked the log and from the graphic I obseved that agent is not determined . please suggest how to proceed with the debug in production . I know we can place an end less loop and debug the same in dev or quality systesm. but this is in prod.

please sugggest.

thanks,

rg

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • Jun 22, 2017 at 06:29 AM

    You can change the workflow container at any time. However it still sounds very much like faulty design that you really need to look at.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 22, 2017 at 03:31 PM
    -2

    Ramya,

    context to changing the workflow container.

    Yes you can do that..

    & its need to be coded..

    If some says its a faulty design; then its not necessary its a faulty design until the perspective is not right. During support, there are cases when you need to fix things than to just change the skeleton of it.

    Make sure the impact of change is particular.

    Use SWC_SET_ELEMENT CONTAINER to set any value of element container.

    Thanks

    Anand

    Add comment
    10|10000 characters needed characters exceeded

    • No it doesn't "need to be coded", you can edit any in process work item at any time and change the container.

      And no I don't agree with your other statement, if a wf gets stuck in a loop such as described because the agent is wrong, the design is faulty. This has nothing to do with perspective, incorrect agents is a common scenario and a WF should never need that kind of intervention when it happens.

      Regarding changing containers with SWC... function: as has been said many many times on this very forum, use the provided API functions.

  • Jun 21, 2017 at 02:25 PM

    Hi ,

    Check SAP note 1782731 and 2197117(Debug using T.code:SWW_BREAKPOINT).

    Regards,

    Vignesh

    Add comment
    10|10000 characters needed characters exceeded

  • Jun 21, 2017 at 02:32 PM

    If an agent not determined causes loop you definitely need to fix the workflow! It should be easy to reproduce the scenario in dev.

    Add comment
    10|10000 characters needed characters exceeded

    • hello,

      sorry its my bad , I put the question in wrong way. In the loop its checking for price ok flag in a background task method and the price ok flag is not set and after they are cehcking container operation for that flag . Now because the flag is not set it keeps on looping . I want to know if the work flow is restarted can I change the container value which is set in background method in debug.

      Moreover when I keep a break point in that method and execute the work flow its not triggering at that point because this is a background method.

      please suggest.

      Thanks,

      rg

  • Jun 22, 2017 at 05:38 AM

    hello,

    sorry its my bad , I put the question in wrong way. In the loop its checking for price ok flag in a background task method and the price ok flag is not set and after they are cehcking container operation for that flag . Now because the flag is not set it keeps on looping . I want to know if the work flow is restarted can I change the container value which is set in background method in debug.

    Moreover when I keep a break point in that method and execute the work flow its not triggering at that point because this is a background method.

    please suggest.

    Thanks,

    rg

    Add comment
    10|10000 characters needed characters exceeded