I was wondering if there is a way to have a process reach its End Event, but then have another separate process on another diagram be triggered and do its tasks? The reason I have taken this approach is because I am launching the first process via Java with the startProcessInstanceByKey() method. But i want this process to end and have another process automatically run when that happens. I dont want to represent it as a business process or a call activity on the first process.
Did you try to add an execution listener on the endEvent of the first process, and then inside this listener just to start a new process? (here you can also have some logic in order to start a specific process according to some rules, uploaded values, etc..)
I have not tried that, I will try to attach a listener to the end event and see if its possible with 5.14. Is there a tutorial or an example of this working in 5.14? Thank you.
Sorry but I don't know if such a tutorial exists, but you know.. with some debugging and some digging into the code you'll solve it for sure. if you have a blog, maybe you'll write such a tutorial and share it to the community