Bonita API to assign a task

1
0
-1

Hi all folks

i would like to know how using the Bonita API to assign a task of a process instance from one user to another.

Example: Process A has three consecutive tasks Task1 , Task2 and Task3. User admin started the process and it executed Task1 and Task2. Now with the Bonita API Rest in a java client it's necesasry to asign the Task2 of that case ( process instance ) to the user John.

Is it possible ? I could not found the correct Bonita API method.

Thank You

Regards

Comments

Submitted by michailrmd on Wed, 02/12/2014 - 17:48

Thank you Yhon

I forgot to mention that i am using BOS Community 5.10.1 versión.

Do you know if there is a similar method for this version ?

Best regards

2 answers

1
+1
-1

Hi,

Here you have a method to assign task through API REST in 5.10: http://documentation.bonitasoft.com/javadoc/rest/5.10/API/runtimeAPI/assignTask/index.html

And you can a find a good post about how to use some REST methods from Python. If you want, you can adapt it to another language: http://community.bonitasoft.com/answers/how-use-bonitasoft-rest-api-pythondjango. What programming language are you using?

Regards

Yhon

Comments

Submitted by michailrmd on Sat, 02/15/2014 - 00:46

Hi Yhon

Thak you for your answer,

It has been very useful for me.

I am using java as a programming lenguage

Regards

1
0
-1

Hi,

To assign task with the REST API : http://documentation.bonitasoft.com/web-rest-api-examples#assign_task

Best regards,

Céline

Comments

Submitted by michailrmd on Wed, 02/12/2014 - 17:45

Thank you Celine

Is it possible with BOS Community 5.10.1 ?

Regards

Submitted by celine.souchet on Wed, 02/12/2014 - 18:01

No, there isn't REST API in 5.10.1.

Notifications