Planning Analytics

 View Only
  • 1.  Execute Process With REST

    Posted Tue May 19, 2020 12:40 AM

    ​​​​​The syntax is the same as chore which is listed in the docs but it does not work, if I remove the tm1.Execute it retrieves the process.



    Izac Horne


  • 2.  RE: Execute Process With REST

    Posted Tue May 19, 2020 01:04 PM
    suggest using


    Ted Phillips

  • 3.  RE: Execute Process With REST

    Posted Wed May 20, 2020 04:28 AM
    Hi Izac,

    What's not working? What's the response you get?

    What might be confusing is the documentation states that the Execute action, when used with Chore, there isn't a payload (read: n/a) which, technically isn't true, but the server excepts an empty payload to mean and empty, JSON, object (read: {}) as in, there are no parameters. If your process has parameters, most notably required once, then you'll have to put those into the payload that you pass to the Execute action. If none of the parameters are required (you specified default values for all of them) then just passing {} might be enough.

    BTW Ted's suggestion to use ExecuteWithReturn, for processes, is indeed the preferable way to execute processes.

    Hubert Heijkers