Process End Event

1
0
-1

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 !?

1 answer

1
0
-1

Hi, you can use the `flowNode` rest api to search for the end event. See /API/bpm/flowNode in documentation

HTH

Romain

Comments

Submitted by fatma.ghorbel_1... on Wed, 05/27/2020 - 18:37

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 ?

Submitted by romain.bioteau on Thu, 05/28/2020 - 09:46

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.

Submitted by fatma.ghorbel_1... on Thu, 05/28/2020 - 14:38

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 !

Notifications