Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Custom AbsoluteTimeAutoAdvancer timeout delay issue AEM 6.4

Avatar

Level 2

Hi Team,

We have written a custom implementation of OOB AbsoluteTimeAutoAdvancer workflow class. We try to schedule the workflow to trigger at a particular time (UTC time).

The code is working fine in various timezones, but for JST timezone, it seems to add random delays - 10 mins, 17 mins, 26 mins etc.

Because there is no consistent time duration, we are not able to identify what could be causing these delays.

We set a schedule time in UTC as metadataMap property and in AutoAdvancer implementation

Do we have any configuration which is causing delay in particular timezone. Please help.

Thanks!

3 Replies

Avatar

Level 10

Did you setup a new scheduler service in AEM here?

Avatar

Level 2

On click event there is sling servlet which will trigger the workflow. In workflow participant step Timeout is "Immediate" and Timeout handler we customised it by extending AbsoluteTimeAutoAdvancer class.