How can i update a task priority via REST API

1
0
-1

I use:

../API/bpm/activity/{{v_selectedRowProyectoActivo.id}}

with the var v_selectedRowProyectoActivo.id i have the task id.

When i try to update the task priority from normal to highest i cant make it via API REST.
i send: {"priority": "highest"} to try to update the field.

I'm using bonita bpm 7.2.2

Thanks for the help.

1 answer

1
+1
-1
This one is the BEST answer!

I found the error.

I only can change the priority in human task so i change the api to human task

Comments

Submitted by lonicolet on Wed, 04/28/2021 - 08:14

Hello !

That changes the priority of the task or of the case ?
And did you do it on a button in the UI Designer ? Or in a script in the studio ?

Thanks

Notifications