How to trigger workflows from Postman

Tagged: ,

This topic has 2 replies, 2 voices, and was last updated 10 months, 2 weeks ago by msarun85.

  • Author
  • #28752

    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
    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:
    “code”: 500,
    “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 :

    and URL via postman is:

     Jatinder Singh

    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.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

©2022 ForgeRock - we provide an identity and access platform to secure every online relationship for the enterprise market, educational sector and even entire countries. Click to view our privacy policy and terms of use.

Log in with your credentials

Forgot your details?