When exactly is an runtime process also visible in the list of historic process instances?
Here is what I'm trying to implement:
- from a runtime process instance send a message to ActiveMQ, to let a script know that a new process is started
- this script fetches the process instance
- These runtime processes are volatile, so I cannot trust this list. I need to use the historic list.
Problem: On the moment the process instance sends it message, and the script catches the message, it cannot
find the process instance yet in the historic process instances list. When does this actually happen? Is there
some "stage" in the life of a process instance where you can be sure of this?
thanks in advance