Good Afternoon, Since im working with Form external URL trying to execute the process externally , when I reach the final human task and execute it , I want an indication that my process is completed and I reached the end event , is there a way to do it using Rest API !?
Hi, you can use the `flowNode` rest api to search for the end event. See /API/bpm/flowNode
in documentation
HTH
Romain
I saw that the protal make this request Call `/bonita/API/bpm/archivedCase?c=1&d=started_by&d=processDefinitionId&f=sourceObjectId=${caseId}&p=0` at the end of the process , what is used for , to make sure that the state is completed ? can I use it ?
You can have a look here for possible case state. Yes you can search archived cases by state. However, keep in mind that case archiving is asynchronous and can be disabled by the platform administrator.
If you have multiple end events in your process and need to know which one has been triggered then API/bpm/flowNode or API/bpm/archivedFlowNode can be used.
Well I didn't get how to use that URL ! Everything I want to know is that I reached the end of my process after executing my last task , so when I press the submit button , I want an indication that all the tasks are done , like in the portal !