Workflow Instances not COMPLETED

Avatar

Avatar
Ignite 1
Level 1
vikramA3
Level 1

Likes

0 likes

Total Posts

3 posts

Correct reply

0 solutions
Top badges earned
Ignite 1
View profile

Avatar
Ignite 1
Level 1
vikramA3
Level 1

Likes

0 likes

Total Posts

3 posts

Correct reply

0 solutions
Top badges earned
Ignite 1
View profile
vikramA3
Level 1

16-09-2019

Hi,

I am creating a simple workflow with Process Step, Assign Task, Generate Document Of Record and Send Email.

I am able to complete the workflow successfully. However, the workflow instance is still showing RUNNING. It is intermittent.

Can you please tell me how to complete a workflow OR make sure its status changes to COMPLETED?

Sometimes I get the below error message:

com.adobe.granite.workflow.WorkflowException: Process implementation not found: com.aem.community.core.CustomStep

    at com.adobe.granite.workflow.core.job.HandlerBase.executeProcess(HandlerBase.java:207)

    at com.adobe.granite.workflow.core.job.JobHandler.process(JobHandler.java:261)

    at org.apache.sling.event.impl.jobs.JobConsumerManager$JobConsumerWrapper.process(JobConsumerManager.java:502)

    at org.apache.sling.event.impl.jobs.queues.JobQueueImpl.startJob(JobQueueImpl.java:293)

    at org.apache.sling.event.impl.jobs.queues.JobQueueImpl.access$100(JobQueueImpl.java:60)

    at org.apache.sling.event.impl.jobs.queues.JobQueueImpl$1.run(JobQueueImpl.java:229)

    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

    at java.lang.Thread.run(Unknown Source)

Please help me understand why it is happening.

Accepted Solutions (0)

Answers (4)

Answers (4)

Avatar

Avatar
Springboard
Level 10
Mayank_Gandhi
Level 10

Likes

327 likes

Total Posts

1,150 posts

Correct reply

185 solutions
Top badges earned
Springboard
Establish
Validate 1
Contributor 2
Ignite 5
View profile

Avatar
Springboard
Level 10
Mayank_Gandhi
Level 10

Likes

327 likes

Total Posts

1,150 posts

Correct reply

185 solutions
Top badges earned
Springboard
Establish
Validate 1
Contributor 2
Ignite 5
View profile
Mayank_Gandhi
Level 10

23-09-2019

Can you send high-level workflow details?

Avatar

Avatar
Ignite 1
Level 1
vikramA3
Level 1

Likes

0 likes

Total Posts

3 posts

Correct reply

0 solutions
Top badges earned
Ignite 1
View profile

Avatar
Ignite 1
Level 1
vikramA3
Level 1

Likes

0 likes

Total Posts

3 posts

Correct reply

0 solutions
Top badges earned
Ignite 1
View profile
vikramA3
Level 1

23-09-2019

Yes, Mayank. It involves assign task and sending workflow item to a user's inbox.

I would like to be able to complete the running workflows automatically. Some workItems keep showing RUNNING, & they don't complete AND some of them completes automatically after a couple of hours.

Avatar

Avatar
Springboard
Level 10
Mayank_Gandhi
Level 10

Likes

327 likes

Total Posts

1,150 posts

Correct reply

185 solutions
Top badges earned
Springboard
Establish
Validate 1
Contributor 2
Ignite 5
View profile

Avatar
Springboard
Level 10
Mayank_Gandhi
Level 10

Likes

327 likes

Total Posts

1,150 posts

Correct reply

185 solutions
Top badges earned
Springboard
Establish
Validate 1
Contributor 2
Ignite 5
View profile
Mayank_Gandhi
Level 10

20-09-2019

Does the process involve assign task or sending workflow item to a user's inbox?

Avatar

Avatar
Give Back 5
Employee
shunnar
Employee

Likes

12 likes

Total Posts

46 posts

Correct reply

10 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back 10
Give Back
Boost 5
View profile

Avatar
Give Back 5
Employee
shunnar
Employee

Likes

12 likes

Total Posts

46 posts

Correct reply

10 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back 10
Give Back
Boost 5
View profile
shunnar
Employee

20-09-2019

Regarding this error, it is likely that your bundle is not started. Check it in /system/console/bundles

"Process implementation not found: com.aem.community.core.CustomStep"

You can terminate running workflows by going to host:port/workflow and go to the "Instances" tab. Right click the instance to terminate it