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

SOLVED

Timeout Handler not working in AEM 6.4.2

textlang
Level 2
Level 2

Timeout Handler not working in AEM 6.4.2

1 Accepted Solution
nidhip010816
Correct answer by
Employee
Employee

Hello,

The time that you put in the 'Timeout' field will make the step to be executed automatically after the
specified time, only if you do not approve the workflow step from admin or the designated user to approve.

To use,

1. In the Waiting for Activation step, provide the desired timeout value in Timeout Field.
2. In the Timeout Handler field, choose "Absolute Time Auto Advancer" (If you want the step to be executed after
the time specified, make sure that the admin does not approve the request in inbox and you wait for the specified time for the step to be completed)
3. You should configure the timeout settings on "Waiting For activation step"
4. The AbsoluteTimeAutoAdvancer reads a property named absoluteTime from the WorkflowData's MetaDataMap, which you will provide in the field 'Timeout' as mentioned in step 1.

Could you please confirm the use case you are following with Timeout which is is failing.

Warm Regards,
Nidhi

View solution in original post

0 Replies
nidhip010816
Correct answer by
Employee
Employee

Hello,

The time that you put in the 'Timeout' field will make the step to be executed automatically after the
specified time, only if you do not approve the workflow step from admin or the designated user to approve.

To use,

1. In the Waiting for Activation step, provide the desired timeout value in Timeout Field.
2. In the Timeout Handler field, choose "Absolute Time Auto Advancer" (If you want the step to be executed after
the time specified, make sure that the admin does not approve the request in inbox and you wait for the specified time for the step to be completed)
3. You should configure the timeout settings on "Waiting For activation step"
4. The AbsoluteTimeAutoAdvancer reads a property named absoluteTime from the WorkflowData's MetaDataMap, which you will provide in the field 'Timeout' as mentioned in step 1.

Could you please confirm the use case you are following with Timeout which is is failing.

Warm Regards,
Nidhi

View solution in original post

textlang
Level 2
Level 2

Hi Nidhi,

 

We have a custom workflow for Activate Later in AEM 6.4.2 which is migrated from AEM 5.6.1 which have the below steps:

1. Create Version- The version is created succesfully

2. Participant Chooser Step: Wait for activation assigned to admin user and have the timeout settings value are as follows:

 

a. Timeout Handler: Absolute Time Auto Advancer

b. Timeout: Immediate

 

3. Activate

The workflow is stuck in step 2 and is throwing the below warning in the log-

-Granite Workflow Timeout Queue(com/adobe/granite/workflow/timeout/job)] com.adobe.granite.workflow.core.job.TimeoutHandler WorkItem does not exist: /var/workflow/instances/server0/2020-01-13

Even if the workitem node exists in the path mentioned. We tried giving the permissions to workflow-service user and workflow-process-service user but the same error is coming. Please provide some suggestions