Workflow Steps are not executing after one another | Community
Skip to main content
louisa_chu
October 16, 2015
Solved

Workflow Steps are not executing after one another

  • October 16, 2015
  • 3 replies
  • 891 views

Hi, 

Would anyone be able to confirm me that if I created different workflow steps, they should be executing in order? 

I created a workflow to create a specified size of thumbnails

Then use that thumbnail in a custom process to create a folio manually. 

Another custom process is to call an API int he dps publisher. 

I notice that sometimes, my thumbnail are not generated and the custom process is already started to create the folio manually already.  Therefore, my folio ended up with no cover images. 

I also put in some loggings that the third step has also been triggered way before any of the first and second steps are finished. 

Are workflow steps running in parallel?  Did I do something wrong to make this happen like this?  

I've attached a picture of my workflow.   

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

As temporary workaround incorporate the delay between steps. Seems like some timeout is happening.  File a support ticket with aem version, debug log of workflow along with workflow package.

3 replies

Sham_HC
Sham_HCAccepted solution
Level 10
October 16, 2015

As temporary workaround incorporate the delay between steps. Seems like some timeout is happening.  File a support ticket with aem version, debug log of workflow along with workflow package.

Community Advisor
October 16, 2015

Did you check handler advance checkbox in each step? Checking this box moves workflow to next step.

louisa_chu
October 16, 2015

Yes, the check box are checked..  But the problem is not about advancing to the next step but it's actually the process are starting together instead of one after another.  I don't know if this is by design of AEM workflow or I did anything wrong in my custom step that makes the process to be all starting together.