Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Aem 6.5 workflow history issue

Avatar

Level 4

Hi,

I am facing an issue with creating and starting workflow in aem 6.5.

I tried creating a workflow model in aem 6.5.

Now when I run the workflow, when i open the history in instances tab, I can just see 2 steps - first and last. I am unable to see the middle steps. It seems node transition is not working as expected. Please suggest

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

@manisha594391,

There might be a problem in your workflow process step. Can you share some code? Try replacing your custom workflow process step with something that is out of the box like "activate page". Run your custom workflow model. Review the invoked workflow history. This can determine if there is a defect in your custom workflow process code. Also, do you have any errors in the error.log?

View solution in original post

6 Replies

Avatar

Correct answer by
Community Advisor

@manisha594391,

There might be a problem in your workflow process step. Can you share some code? Try replacing your custom workflow process step with something that is out of the box like "activate page". Run your custom workflow model. Review the invoked workflow history. This can determine if there is a defect in your custom workflow process code. Also, do you have any errors in the error.log?

Avatar

Level 4

The same process step is working with the existing. workflow. Also, I tried using OOTB Activate process. The workflow instance history is still the same. when seen the history, the initiators are different. For thhe existing workflow the initiator is workflow-service, while for the fresh one the initiator is workflow-administrator

Avatar

Community Advisor

I'm trying to figure out if it's the the AEM product that you are having problems with, or is it your custom workflow model. Please run an out of the box workflow model, http://localhost:4502/cf#/libs/settings/workflow/models/request_for_activation.html, and review the workflow history, are all the steps presented in the workflow history?

Avatar

Level 4

@BrianKasingli It was a custom model. The issue is now resolved. The issue was, if any of the step fails, all steps from start till before the failed step are not shown in history of workflow. Thanks!!

Avatar

Community Advisor

Can you accept an answer, and resolve this ticket please

Avatar

Level 1
I got the similar issue. Non of the history were being shown in the workflow history page. I troed the ootb "request for activation" workflow. The result were the same. Have anyone had the same issue ? My aem version is 6.5.6.