Stop process

1
0
-1

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

2 answers

1
0
-1

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);

1
0
-1

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

Comments

Submitted by kalmakhelidze10... on Mon, 01/20/2020 - 08:52

Hi,

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

Thanks

Notifications