I’ve donwloaded REST API from here. This API works fine with GET method to know for example how process are opened, how many users have tasks running etc…
I’ve started my Tomcat bundle, loaded bar application and organisation and I can to start a process form portal easily.
Now, I would to start a process from REST API and documentation shows this method :
public int startACase(long processDefinitionId)
This method needs a long id, this id is returned by an another method :
private long deployProcess()
who calls this method :
private long installProcessFromUploadedBar(String uploadedFilePath)
who calls this method :
private long extractProcessId(HttpResponse response)
But in my case, I don’t need to to call all these methods because bar file is loaded in Tomcat bundle yet.
I’m just need to start a case, if I must to call startAcase(long id) then how to generate an uniq long id ?
And if I can to instantiate a process by an other way, please could you tell me how to do it ?
Thanks in advance, it’s very important for me to find a solution.
Sorry for my bad english ;
Search for processes that match the search criteria.
Request url http://…/API/bpm/process?parameters
Request method
GET
Request payload
empty
Response payload
Matching processes in JSON
Parameters
Standard search parameters p and c must be specified
s: search on “name”, “displayName” or “version”
o: can order by “name”, “version”, “deploymentDate”, “deployedBy”, “activationState”, “configurationState”, “processId”, “displayName”, “lastUpdateDate”, “categoryId”, “label”
f: can filter on “name”, “version”, “deploymentDate”, “deployedBy”, “activationState” with the value DISABLED or ENABLED, “configurationState” with the value UNRESOLVED, or RESOLVED, “processId”, “displayName”, “lastUpdateDate”, “categoryId”, “label”, “supervisor_id”
d: can deploy on “deployedBy”
Bonitasoft empowers development teams with Bonita, the open-source and extensible platform to solve the most demanding process automation use cases. The Bonita platform accelerates delivery of complex applications with clear separation between capabilities for visual programming and for coding. Bonita integrates with existing solutions, orchestrates heterogeneous systems, and provides deep visibility into processes across the organization.