i want to send this json from postman and get question form field (in start message event in model) ,to use in my scrip task as java script in camunda modeler.but i got error
my json is(i wrot it in postman):
“{
“messageName” : “startMsg2”,
“businessKey” : “202033”,
“processVariables” : {
“question” : {“q1” :“Q11111”,“q2”:“Q22222”,“q3”:“Q33333” }
}
}”
error Message:
{
“type”: “ScriptEvaluationException”,
“message”: “Unable to evaluate script while executing activity ‘Task_108txvx’ in the process definition with id ‘json_send:1:1384e93e-a940-11ea-ac0f-1c6f6532a514’:TypeError: Cannot get property "question" of null in at line number 8”
}
my file is:
multi-user-approval_json_02_PostMan_test.bpmn (4.6 KB)