workflow symbol is tagging even for completed workflow | Community
Skip to main content
GK-007
Level 9
October 16, 2015
Solved

workflow symbol is tagging even for completed workflow

  • October 16, 2015
  • 4 replies
  • 1119 views

Hi All,

I am new to workflows in cq and i have written simple workflow with two steps one is participate and another one is process step.In the process step i have written code to set the property on jcr:content node of page.After completion of the action mentioned in the process step also workflow symbol is still tagged in WCM console.And also in workflow console also still the workflow is showing in running state.Can some one help me out is this the right behavior or there any gap in the implemented workflow.I am adding workflow history screen shot as well.

Thanks,

Kishore 

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 GK-007

i have checked but i have not found any exception after completing all the workflow steps.I have added code to complete the workflow.Now the problem has been resolved.

4 replies

GK-007
GK-007AuthorAccepted solution
Level 9
October 16, 2015

i have checked but i have not found any exception after completing all the workflow steps.I have added code to complete the workflow.Now the problem has been resolved.

Level 8
October 16, 2015

Is your process step set to handlerAdvance=true. If so the workflow engine won't auto-advance the workflow to the end, your step has to do the advance. Make sure handler advance is false. 

GK-007
GK-007Author
Level 9
October 16, 2015

I have set handler advance to 'false' only but still work flow is being shown in "Running" state in Workflow console and tagging to page in WCM console.

Thanks,

Kishore

Level 8
October 16, 2015

The most likely possibility is that your handler class is throwing an exception. Have you checked error.log to see if you are getting any errors when the process runs. Also do you have debug statements in your process. Can you turn down the logging for process class and verify that your process is executing properly.