cancel
Showing results for 
Search instead for 
Did you mean: 

How to debug TASK method in processType"automaic" in ProcessControlled WF

Former Member
0 Kudos

Hi experts,

I am now working on SC scenario. Now my requirement is to check the price of item with catalog price at the end of WF approval process. If the price is changed then restart the WF. All the logic should be in background.

I add a process level with type "automatic" and created a new TASK with customer class method. But when I start the shopping and I am not sure whether my Zmehod has executed or not. I can not find any Workitem with my Z task no in SWI1.

Here is my question:

1 Is it possible to debug the method of the TASK which is assigned to the "automatic" process level.

2 Can I call /SAPSRM/CL_WF_PROCESS_MANAGER~DETERMINE_PROCESS_RESTART to restart the workflow in this method? Or maybe there are some other method functioned in this way.

Thanks for help.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

I closed this issue with using endless loop in codes.