Timeouts on AEM workflows | Community
Skip to main content
March 13, 2024

Timeouts on AEM workflows

  • March 13, 2024
  • 2 replies
  • 1075 views

I am having difficulty understanding how timeouts on workflow work. I understand that when we define a timeout on the workflow it advances to the next defined step when the specified time is reached. But what happens to the status of the workflow? For all my workflows I see that they are moving under 'Failures' with status of the workflow being 'RUNNING' meaning the workflow did not see any failure. It is so contradicting to this behavior and wondering what makes it do this. Any help is greatly appreciated.

 

Thanks!

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

Harwinder-singh
Community Advisor
Community Advisor
March 13, 2024

@starpuff  I agree this is a confusing at times.

A way to read this would be that when a workflow instances moves to Failure with running status, that means there is atleast one process step that hasn't completed before the workflow instance goes into error state.

StarpuffAuthor
March 13, 2024

Hi @harwinder-singh 

 

Thanks for the response but almost all of the times my workflows are getting completed without any failure though they are in running state in Failures. I have tried to remove the timeout on workflow but the behavior is still same (it goes into Failures after an hour exactly) - not sure if other dependent workflow timeouts are causing this

rk_pandian
March 14, 2024

Hi @starpuff,

 

What does the log say? It would be better to debug the workflow steps & check the logs to see what happens actually, as the workflow could fail because of some exception.

 

Regards,

Ramkumar

kautuk_sahni
Community Manager
Community Manager
March 20, 2024

@starpuff Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.

Kautuk Sahni