I looked at the Javadocs, and searched the forum, but did not find an answer.
Is there an API to get the process completion state (success, error, etc,) for processes that are completed and are in the history?
If you want to know the process completion state(the end activity id), you can use HistoricProcessInstance.getEndActivityId().
・HistoricProcessInstance
https://www.activiti.org/javadocs/org/activiti/engine/history/HistoricProcessInstance.html
If you want to get HistoricProcessInstance, you neet to use HistoricProcessInstanceQuery.
・HistoricProcessInstanceQuery
https://www.activiti.org/javadocs/org/activiti/engine/history/HistoricProcessInstanceQuery.html
Ask for and offer help to other Alfresco Process Services and Activiti Users and members of the Alfresco team.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.