I want to retrieve the connectors attached to a process Instance. I’m trying with this: /bonita/API/bpm/connectorInstance?p=0&f=caseId={caseID}
but the filter does not work. I know the documentation doesn’t refer to this filter (http://documentation.bonitasoft.com/?page=bpm-api#toc33), but I can’t seem to be able to get the connectors of only that process instance any other way. I have tried /API/bpm/connectorInstance?p=0&c=10&f=id%3d{caseId}, as suggested in the docs, but with no luck.
Am I doing something wrong? Or is this simply impossible ATM?
Nope
if I try
/bonita/API/bpm/connectorInstance?p=0&c=100&f=caseId={caseID}
it gives me every connector of every process instance (along with a 200 OK)…which basically is the same if I do it like this:
/bonita/API/bpm/connectorInstance?p=0&c=100
Just to clarify,
I have 3 process instances of the same process, running. And the connector instances of those 3 process instances appear no matter what URL (of the ones above) I try. I want to obtain only the connectors of one of the process instances.
Hi,
Yes, i had tried with the containerId and got it to work, hence why I couldn’t understand why wouldn’t it work with the id (caseId) when, according to the docs, it should.
I think the docs should indeed be updated!
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.