You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

I need to build a function that enables users to start a joget process for an external system, so i am following these steps:-

1. To start a process i will call this API:-

/web/json/workflow/process/start/ProcessDefID

but to be able to get the ProcessDefID  (Process definition Id) I am thinking of following this approach:-

1. to get the list of packages using the following API:-

/web/json/workflow/package/list

2. After that to get the list of processes under the associated package using the following API, where the packageid will be returned from the previouse API call:-

/web/json/workflow/process/list?packageid=

Then from the returned JSON i can extract the process definition ID and start the process.

 so my question is , if there is a single API call which enables me to directly retrieve all the process definition IDs inside my system (instead of retrieving the packages---> then the processes under specific package)?

Best Regards

  • No labels