Update Case and Activity after successful PUT state not changing
I use Living Application example but not able to claim the Human task, Query Activity, and Case State after the update,
For now, I just can make the activity Completed, but when I try another state, the response gives 200 but state activity remains on executing. Please clear me what is the difference between this state executing and state that I want to assign.
How to query those activity states and see what is it updated
Bonita provides some REST API's to read and update activities
The REST API to use is always
Perform a GET to read the state of an activity, and put to update it.
For human tasks, it is almost the same but with thew API
Keep in mind that if you'll have to pass the contract to the API payload to update it.
you saying to execute this order of calls
1.Login service post
3.Activitity state Get
4. Activity state PUT
Correct me if I am wrong
For the human task, I have a contract with persistence id and bool true false if the task is done or not
How to claim the task from the case and then execute this contract make it done