Expand my Community achievements bar.

Rescheduling AbsoluteTimeAutoAdvancer in Workflow is not working.

Avatar

Level 1

Hi All,

Facing issue while rescheduling AbsoluteTimeAutoAdvancer in workflow.

I created a custom workflow to schedule a press release email. For this I am adding "absoluteTime" metaData in workflow process step followed by AbsoluteTimeAutoAdvancer in participant step.It is scheduling as expected in this scenario.

But when I tried to reschedule same workflow instance by postponing the date, it is still getting executed for older time even after changing "absoluteTime" metaData to newer timestamp.

Is it possible to reschedule the workflow using AbsoluteTimeAutoAdvancer?

Please let me know if I am missing out anything.

Thanks in advance.

8 Replies

Avatar

Level 10

Are you looking to invoke a workflow based on time intervals?

Avatar

Level 1

I am using time out handler in participant step

Selected timeout as :Immediate and

handler : AbsoluteTimeAutoAdvancer

Which internally uses "absoluteTime" metadata of workflow. Once time is reached it advances to next step in workflow.

Here I am trying to reschedule time which is not working out.

Avatar

Level 1

I followed this article already. In my case it is working for the first time when time out happens.

But if I change time before timeout , still it is advancing to next step for the old time. I want to understand possibility of changing time , will it works ?

Avatar

Level 10

It works the first time. Does the same workflow work a second time if you do not modify the time?

Avatar

Level 1

Yes it works for the second time if I do not modify time.

If I change time to 'time b' which is future time than already scheduled time 'time a', workflow is advancing to next step at old time i.e at 'time a'  not at 'time b'.

Avatar

Level 1

Any one facing the same problem, please let me know.

Avatar

Level 10

This is not a configurable setting that can be fixed or a community member can address. If you are experiencing this - it could be a bug. Please open a support ticket so this can be fixed.