Hi all
I have a problem with getting history of process execution.
My process: startEvent -> task1 -> task2 ->endEvent, where task1 and task2 are service tasks
There is a table ACT_HI_ACTINST, but into it rows are added only when process finished successfully.
When i got an error in task2, do i have a chance to get from some history table info, that process was started, finished task1 and got error on task2?
Thanks in advance
Solved! Go to Solution.
You should add an error handling in your process definition related to the event error that you want to catch.
So I suggest to add a new flow in your process similar to the following one:
https://www.activiti.org/userguide/#bpmnErrorEventDefinition
Then you can use the HistoryService to retrieve all your needed informations during the execution of your workflow instance.
You should add an error handling in your process definition related to the event error that you want to catch.
So I suggest to add a new flow in your process similar to the following one:
https://www.activiti.org/userguide/#bpmnErrorEventDefinition
Then you can use the HistoryService to retrieve all your needed informations during the execution of your workflow instance.
Hi, Piergiorgio Lucidi thanks for replay
I didn't want to over complicate my process definition, but didn't find any other option
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.