Announcement

Collapse
No announcement yet.

Help getting started with BPM API

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Help getting started with BPM API

    How can I start a BPM process via API? For example: /bpm/start/process/id. I want to initiate a BPM process via API and retrieve the results once it's completed, checking the status. ​

  • #2
    Hi BigBoss,

    You can start the BPM process via the API (provided that the start element is a Start Event) as follows:

    POST http://ESPO_URL/api/v1/BpmnProcess
    Code:
    {
      "targetId": "66449ad6dd2ef4cd7",
      "targetName": "Test Account",
      "targetType": "Account",
      "flowchartId": "6655815376df5c698",
      "startElementId": "ft4z9k5s7a"
    }
    A target is a record for which the process will be run, and you can get the start element ID manually when you go to the record, which can be a target for the process, and select the desired BPM for processing. In the opened window you will see the start element ID:

    Click image for larger version

Name:	image.png
Views:	80
Size:	58.3 KB
ID:	106718

    Comment

    Working...
    X