Home > OS >  Whats wrong in my camunda fetchAndLock API request. Getting InvalidRequestException
Whats wrong in my camunda fetchAndLock API request. Getting InvalidRequestException

Time:11-22

I have 2 topics to receive data from API, those I can Successfully executed through code. Now I'm trying to execute through rest api using postman tool. now i'm getting InvalidRequestException. Before attempting request I fetched the external tasks using BPMN Diagram

CodePudding user response:

Sorry mistake was mine I mentioned wrongly in request body. I mentioned

"variables": {} 

But it's a array of json "variables": []

I mentioned here just variable names "variables": ["a","b","id"]

Later I used POST /external-task/{id}/complete request to pass with values to complete the process

  • Related