Process instance Id null

Hi

I am not able to see my running process instance id in this list:
/engine-rest/history/process-instance/.

I know this instance is running because i keep printing it in a loop.
and its set to run indefinitely at interval of every 5 seconds.

But then why can’t i see it in running instances list?

Thanks
Urvashi

Hi,

perhaps because your process instance is still running and has not reached any save points.
This means the transaction was not committed and the process instance was not stored in the database.

To change this you could mark your service task or the start event with asyncBefore. In this case
the process instance will be persisted before your code is executed.

For more information about this topic please read the documentation about Transactions in Processes.

Greets
Chris

1 Like