Skip to Content

Not able to trigger BPM process from UI5 application

May 15, 2017 at 07:47 AM


avatar image


I am working on triggering bpm process through BPM Odata service from cutom UI5 application. I need to trigger the BPM process with user data.But I am not able to trigger the process. I am getting "Invalid Data" as error in console. Need your assistance.

UI5 code:

var startProcessSvcURL = "http://bpmsystem:port/bpmodata/startprocess.svc/"; this.processStartODataModel = new sap.ui.model.odata.ODataModel(startProcessSvcURL, true);

var startData = { "UserTaskCompleteEventTypeOUTPUT": { "UserTaskCompleteEvent" : { "Form" : { "Name" : "XXXX", "Age" :"26", "Country" :"YYYY" } } } } ;

this.processStartODataModel.create("/StartData", startData,null, sendData_OnSuccess(oData, response)

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

function sendData_OnError(oError)

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


xmlns:tns="$" targetNamespace="">

Error Message :

2017-05-15 13:05:19.672239 The following problem occurred: HTTP request failed500,Internal Server Error,{"error":{"code":"INVALID_DATA","message":{"lang":"en","value":"An error occurred. 500 Internal Server Error. Log ID: C000A23520554AE60000000001120078"}}} -

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers