Skip to Content

How to Trigger Start event in BPM from custom UI5 application


I am working on triggering the BPM start event from custom UI5 application. My requirement is Action(Submit Button) from custom UI5 application should trigger the BPM start event automatically. The Submit button in custom UI5 application tries to post some data through BPM Odata service. After that, it should trigger my BPM start event automatically. My doubt is how to use the BPM OData service to initiate the start event in BPM process. How to use this service in BPM especially in Start event in BPM process.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • May 02, 2017 at 01:53 PM

    you can either create soap or rest interface and give that to UI5 application team.mostly they would prefer rest. they can call the service after submit button is clicked.

    Add comment
    10|10000 characters needed characters exceeded

  • May 02, 2017 at 02:09 PM

    odata service is auto generated based on the start event, once it gets called, your bpm process is started.

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Jun Wu,

      We are trying to trigger the BPM process from the UI5 application. But it is not working. Please see the below snippet.

      var outputData = {FirstName : "XXX" , LastName : "YYY"};

      var taskId = "5425b28c268111e7a8e00000003beec6";

      var oBPMModel = new sap.ui.model.odata.ODataModel(


      oBPMModel.create("/OutputData", outputData, null,

      function sendData_OnSuccess(oData, response) {

      alert("Task has been completed successfully");


      function sendData_OnError(oError) {

      alert("Task could not be completed");



      Karthik S