Start a process with instantiation form via REST Api

1
0
-1

Hi,
is it possible to start a process with an instantiation form via REST Api?

If I start a process by creating a case via http://../API/bpm/case, the process will be initialized without instantiation form. And an error occurred, that the contract of the business object isn't fullfilled.
That makes sence.

But is there a way to initialize a process with an instantiation form via REST Api?

Thanx

2 answers

1
+1
-1

Hi,

The API to use is : /API/bpm/process/processId/instantiation, it's under the process section in the documentation : http://documentation.bonitasoft.com/bpm-api-849#process

1
0
-1

Thanx for your answer.

But that's not exactly what I was looking for. I wanted to start an instantiation form via Rest API. But that is the wrong way.
It simply works with a http call like:
http://[host]:8080/bonita/portal/homepage#?name=[processname]&displayName=[displayNameoftheprocess]&version=[version]&id=[processDefinitionId]&token=StartProcess&_p=StartProcess&_pf=1

Now it works.

Notifications