Workflow model is not refreshed. Old version is used | Community
Skip to main content
Level 2
March 31, 2018

Workflow model is not refreshed. Old version is used

  • March 31, 2018
  • 2 replies
  • 4212 views

So I have a workflow model, which is used in one scenario. I have several environments. On the fresh environment my workflow model works as expected.

On existing environments it seems that it uses old version of the workflow. I would like to ask if workflow model are cached somewhere ? If yes, how can I purge the cache ?

If workflow models are not cached, what can be cause of such issue? In logs I get information that "No route found to continue from step node5". I'm sure that workflow model is correctly configured, because it works on new environment, so that's definietely something on AEM side. I can see in CRX that workflow is installed, I tried to save it again in the workflow model editor, but that didn't help. It fails on my second or split, It reaches or split and then it says that it cannot proceed to next step. Do you have any idea what can be wrong ?

I have tried to remove all instances of running and completed workflow model thorugh maintanance task, then I have removed workflow completely. I have reinstalled it through package but still I had the same issue. Of course restart of AEM instance also doesn't work.

I'm using AEM 6.3 SP1 (author)

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

2 replies

smacdonald2008
Level 10
March 31, 2018

This sounds strange - if you have the exact workflow as you have on your fresh environment - you should be getting the same results. So the community better understands - can you please post a screenshot of your model.

Level 2
March 31, 2018

that is not possible. Simple or split with default steps and two branches.

What I can add, is that I'm editing default Request for Deletion workflow.

smacdonald2008
Level 10
April 1, 2018

I have asked the AEM workflow Eng team to look here. If the workflow works on 1 instance and if you setup the same workflow and all the dependencies properly - it should behave the same way.

kautuk_sahni
Community Manager
Community Manager
April 2, 2018

Which version are you on?

Nothing that we can find out with latest AEM version.

Request you to create a Support ticket for this.

-Kautuk

Kautuk Sahni
smacdonald2008
Level 10
April 2, 2018

Support stated:

It could be two reasons.

  1. Force class re-compile
  2. Run offline compaction.

If those above does not work, have them to log the case.

Level 2
April 2, 2018

It's AEM 6.3 SP1 with CFP 2,

I will try to do both things smacdonald2008, however that would be a big coincidence if offline compaction would work on both environments.