Skip to Content

Error while starting BPM Process though BPMOData

Hi Team,

I am trying to trigger the BPM process from my UI5 application. But I am getting an error.

I have followed the same data structure in process context. I tried triggering the BPM /StartData with empty object. But that is also not working. Kindly suggest some solutions.

SAP UI5 Code:

var serv = "/bpmodata/startprocess.svc/";

this.processStartODataModel = new sap.ui.model.odata.ODataModel(startProcessSvcURL, true);

var startData = {}; startData.ProcessStartEvent = {}; startData.ProcessStartEvent.start = {"Name": "XXX", "Age" :"26", "Country": "YYY"};

this.processStartODataModel.create("/StartData", startData,null,

function success(oData, response)

{ alert("Task has been completed successfully"); },

function error(oError)

{ alert("Task could not be completed"); });

Error :

"error":{"code":"INVALID_DATA","message":{"lang":"en","value":"An error occurred. 500 Internal Server Error."

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers