Expand my Community achievements bar.

SOLVED

Workflow Steps are not executing after one another

Avatar

Level 1

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.   

1 Accepted Solution

Avatar

Correct answer by
Level 10

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.

View solution in original post

3 Replies

Avatar

Correct answer by
Level 10

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.

Avatar

Level 9

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

Avatar

Level 1

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.