I’d like to be able to check on a process instance state to know wether it still need informations or if it’s finished (Archived)
When it’s not closed, i do : processAPI.getProcessInstance(processInstanceId).getState()
but how can i know when it’s closed with the same processInstanceId ?
I’ve tried ArchivedProcessInstance but i couldn’t make it work with processInstanceId…
and getState has the same problem as I can’t find the processInstanceId of the process once it has been archived.
It’s not a problem of validator. It’s just that I want to check on the progression of my process from an outside application.
I got around my problem by saving a state field in a database…
I’d like to be able to check on a process instance state to know whether it still need information or if it’s finished (Archived)
I would add Validators to all necessary fields so that it is not possible to close a case without information…adding information after the fact could be seen as questionable by auditors…
Bonitasoft empowers development teams with Bonita, the open-source and extensible platform to solve the most demanding process automation use cases. The Bonita platform accelerates delivery of complex applications with clear separation between capabilities for visual programming and for coding. Bonita integrates with existing solutions, orchestrates heterogeneous systems, and provides deep visibility into processes across the organization.