cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Change interval rerun for a particular task

Former Member
0 Kudos
780

Is it possible to change the interval of rerun for just one task?


I want to retry to execute a task if there is a lock problem, I want to wait 5 minutes and retry just 3 times.


I'm trying to do it with temporary exceptions following: http://scn.sap.com/community/bpm/business-workflow/blog/2013/09/07/design-error-free-workflow-using-...


I checked the customization settings in SWU3.  I see that the interval rerun = 20 min and repeat count = 3 tries. 

In my task I changed settings as shown below:

But is taking the SWU3 configuration, it restarts after 20 minutes instead of 5...

Is that ok? I'm confused with this behavior... I looked at this thread: http://scn.sap.com/thread/3565145 and as I understand this should work

Any ideas what could I be missing?

Regards,

Karina

View Entire Topic
Former Member
0 Kudos

Hi,

Property " Time from creation of work item until timeout" is irrelevant here. It is not related with defining the re-start schedule of steps with temporary errors.

The re-start schedule/interval can only be specified in SWU3 which is 20 min by default. If you make it 5 mins then as Gaurang said, it will load the system.

I would suggest to use statement " wait for sec" in the method code itself.

Regards,

Ibrahim