AnsweredAssumed Answered

Business key to uniquely access process instance

Question asked by sonalik on May 5, 2017
Latest reply on May 5, 2017 by gdharley

Hi Team,

 

I am using Activiti-REST API's (5.22.0).

 

I have created a process definition and deployed successfully.

 

I want to start a new instance every time when the request comes. While starting the instance i also want to uniquely name the instance, which can be done using business key.

 

The instance gets created successfully. Now i want to do following API calls using business-key and not using process-instance id: (few i am able to do successfully which i have listed)

1) Suspend/Activate a process instance using business key ?

2) Get running instance using business key- Please confirm whether correct?

   activiti-rest/service/runtime/process-instances?businessKey=process_V2 

3) Get Diagram?

4) Get active task -  Please confirm whether correct?

   activiti-rest/service/runtime/tasks?processInstanceBusinessKey=process_V2 

5) Completing a task?

6) Add Users/Groups to process instance/definition ?

 

Looking forward for your support as always.

 

Thanks in advance.

Outcomes