How can i update a task priority via REST API


I use:


with the var 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

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