Stop process

Hi,

Is it possible to create a button to stop process? I want user not only to have submit button, but also stop button, that terminates whole process 

Hello,

To create a 'Stop' button, you need to create your own REST API that use bonita engine to stop current process instance ( pass in parameters).

Regards

Just create a java project, that use bonita dependancies. 
Just take a look at : https://documentation.bonitasoft.com/bonita/7.10/engine-api-overview

In your java code, just use this method: 

bonitaTenantComponent.getProcessAPI().cancelProcessInstance(processInstanceId);

Hi,

I am new to bonitasoft, can you tell me how to do it ?

Thanks