Custom AbsoluteTimeAutoAdvancer timeout delay issue AEM 6.4

Avatar

Avatar
Validate 1
Level 2
vishalv66424037
Level 2

Likes

0 likes

Total Posts

13 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 2
vishalv66424037
Level 2

Likes

0 likes

Total Posts

13 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile
vishalv66424037
Level 2

16-04-2019

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!

Replies

Avatar

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,409 likes

Total Posts

12,671 posts

Correct reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,409 likes

Total Posts

12,671 posts

Correct reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile
smacdonald2008
Level 10

18-04-2019

Did you setup a new scheduler service in AEM here?

Avatar

Avatar
Boost 250
MVP
Gaurav-Behl
MVP

Likes

250 likes

Total Posts

1,147 posts

Correct reply

283 solutions
Top badges earned
Boost 250
Establish
Give back 300
Give Back 50
Give Back 5
View profile

Avatar
Boost 250
MVP
Gaurav-Behl
MVP

Likes

250 likes

Total Posts

1,147 posts

Correct reply

283 solutions
Top badges earned
Boost 250
Establish
Give back 300
Give Back 50
Give Back 5
View profile
Gaurav-Behl
MVP

18-04-2019

You may validate your implementation against this sample code to iron out any issues -

Experiencing Adobe Experience Manager - Day CQ: AEM 6 SP2 - Date Time Auto Advancer

Avatar

Avatar
Validate 1
Level 2
vishalv66424037
Level 2

Likes

0 likes

Total Posts

13 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 2
vishalv66424037
Level 2

Likes

0 likes

Total Posts

13 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile
vishalv66424037
Level 2

20-04-2019

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.