I want to start process and do other tasks in JBPM 7.1.0 using REST API. Though these APIs are available for earlier versions of JBPM, but I am not able to implement it in 7.1.0. kindly help.
1 Answers
5
votes
This answer based on assumption that you have deployed a container in KIE-SERVER.
first of all...
go to
{server}:{port}/kie-server/docs/
to get the full documentation.
To start a process: it really depends whether the project you are running is case project (new in jbpm 7) or normal project.
for case-project [POST]
{server}:{port}/kie-server/services/rest/server/containers/{containerID}/cases/{processID}/instances
for normal process [POST]
{server}:{port}/kie-server/services/rest/server/containers/{containerID}/processes/{processID}/instances