I am trying to invoke the workflows (to initiate workflow) from my local Postman instance. I am trying to do it as per this documentation https://backstage.forgerock.com/docs/idm/6.5/integrators-guide/index.html#invoking-activiti-workflows
The workflow i am trying to invoke is having two fields. How do i send the values for these 2 fields via postman. When i try via the curl command specified in the documentation, i get the following error:
“reason”: “Internal Server Error”,
“message”: “problem evaluating script: javax.script.ScriptException: java.lang.NullPointerException: Cannot get property '_id' on null object”
The Request which I am sending is :
It would help a tad bit more if you could paste the entire CURL request (and not just the body). From what it seems like, your POSTMAN request did meet the REST contract (otherwise you would get a 400 Bad Request) but the server itself couldn’t process it. I would look in the logs to see what actualy happened.