5 Replies Latest reply on Mar 15, 2018 1:30 PM by Rafael Detoni

    Starting jBPM process with parameters via REST API

    Laura delli Paoli Master

      Hello everybody,

       

      I was trying to start a jBPM process via REST API providing a map of key-value parameters.

       

      I tried these url:

       

      * jbpmConsoleUrl + "/rest/runtime/" + deploymentId + "/process/" + processDefId + "/start";

      * jbpmConsoleUrl + "/rest/runtime/" + deploymentId + "/withvars/process/" + processDefId + "/start";

      * jbpmConsoleUrl + "/rest/runtime/" + deploymentId + "/withvars/process/" + processDefId + "/start" + "?" + encodedParameters;

       

      But in all cases jBPM process gets null parameters.

       

      If I launch process from jbpm-console and fill the predefined form parameters are correctly read.

       

      Can anyone help me?

       

      Laura