cancel
Showing results for 
Search instead for 
Did you mean: 

question on work flow agreement

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (5)

Answers (5)

pokrakam
Active Contributor

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.

anand_sagarsethi
Contributor
0 Kudos

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

pokrakam
Active Contributor

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.

Former Member
0 Kudos

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

pokrakam
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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

vigneshwar_reddy
Active Participant
0 Kudos

Hi ,

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

Regards,

Vignesh