Question on using webAPI to start a process

How can I get a webAPI to start a process without a Process Start Form and return the taskID of a chained User Input Task? The TaskID that I'm getting from fv!processInfo (a!startProcess) is an invalid one when I try to embed it in my page.

I'm using webAPI because I'm passing an external parameter to the process model, retrieving if from http!request.formData (I get the param) and then starting the process. There's no problem to get the processModelUuid and append a <appian-action/>, but then I can't pass parameters.

Is this approach good?

Thanks in advance.

OriginalPostID-225959

OriginalPostID-225959

  Discussion posts and replies are publicly visible