Hello, so i have been trying to hit a complete task API. For my project i have created simply a user task and am trying to hit the complete task API using swagger endpoints. But I am getting different Json parsing errors when i specify the payload. Could anyone please redirect me as to what are the variables in the payload for this API and how do I complete my form associated with my UserTask.
@Awais_Sabir Which version of Camunda are you using?
v2 API : Complete user task | Camunda 8 Docs
v1 API : Complete a task | Camunda 8 Docs
was able to run the API using camunda v2 api - Complete user task
@Awais_Sabir You can try something like this:
{
"variables": {
"orderId": "Order-238399",
"quantity": 10
},
"action": "COMPLETED"
}
Issue resolved. thanks for the help !!