Create BPM process using REST API

1
0
-1

I've been reading through the REST API documentation on using GET to query the values of various process objects, and PUT to update the values of various process objects, but there seems to be no POST or similar method to build a process using the REST API.

Is the REST API restricted to only being able to update processes objects after they have been manually drawn, or can you build processes via the REST API too?

3 answers

1
0
-1

Hi,

Here you have an example describing how to create a process and how to deploy it programmatically. The example is using the Java API though

best

Comments

Submitted by sunnyape on Wed, 03/06/2019 - 19:16

Yeah, something like that. Being able to place events, activities, decisions etc, put them into a particular swimlane.

Seems like the REST API isn't advanced enough for that sort of thing

1
0
-1

Thanks for that information, but that wasn't my question. My question is, can I BUILD the process via the REST API.

Your example starts by building the processes from .bos files, not the REST API.

Comments

Submitted by msakirkutlu_1359205 on Wed, 03/06/2019 - 10:10

I could be wrong but, in my knowledge you can't build process with REST, but you can deploy, enable, disable, remove a process with REST API.

1
0
-1

You can start processes with POST requests. You can check vacation management example. In page there is post request for creating process.

https://community.bonitasoft.com/project/vacation-management-example

Notifications