Tasklist problem

HI,

I created this task by calling API using submit-form. Can I use API to update value of username after created the task. Which API should I use

thanks.

Hi

By update username, do you mean re-assign? If so, using the REST API you could use the claim task API [1]

Edit: Just noticed there is a field called user name. You could update the process variable using the variable REST API [2]. Given there is a form, you could change the value via the form unless the field is read only. If you update via the form, the form SDK takes care of updating the process varaible.

regards

Rob

[1] https://docs.camunda.org/manual/7.7/reference/rest/task/post-claim/
[2] https://docs.camunda.org/manual/7.7/reference/rest/task/variables/post-modify-task-variables/

2 Likes

API[2] completely solved my problem. Thank you.