Execute a process scheduled job fails
search cancel

Execute a process scheduled job fails

book

Article ID: 244416

calendar_today

Updated On:

Products

Clarity PPM On Premise Clarity PPM SaaS

Issue/Introduction

We have a scheduled Execute a Process type job and suddenly has started failing.

When looking at the job definition we see that the process associated with the job is missing 

Environment

Clarity 16.0.2

Resolution

Reschedule the job and add the process definition to be called.

Additional Information

Log files show:

ERROR 2022-06-15 01:45:00,158 [Dispatch Job Name : bg@host(tenant=clarity)] jobs.ExecuteProcessJob (clarity:myuser:24412603__DB41B1A7-37D5-47EA-A00E-BFBACF172AAF:Job Name) ---> could not execute the process (null)com.niku.bpm.BpmException: getLatestProcessVersion - Cannot get latest process version. Did not get exactly one row backdbResults size: 1  DBResultSet: 0 No of rows: 0

...

java.base/java.lang.Thread.run(Thread.java:829)ERROR 2022-06-15 01:45:00,161 [Dispatch Job Name : bg@host(tenant=clarity)] niku.njs (clarity:myuser:24412603__DB41B1A7-37D5-47EA-A00E-BFBACF172AAF:Job Name) Error executing job: 5288905java.lang.Exception: Could not execute the process (null) at com.niku.bpm.jobs.ExecuteProcessJob.scheduledEventFired(ExecuteProcessJob.java:101)