Hi Ravinder,
suspend, resume and terminate functions take only one instance ID as
argument as per the PMAPI source.
https://github.com/apache/ode/blob/trunk/bpel-runtime/src/main/java/org/apache/ode/bpel/engine/ProcessAndInstanceManagementImpl.java
I think the ODE documentation needs correction.
regards,
sathwik
On 04/25/2012 11:43 AM, rJassal wrote:
As per this specification user can suspend/terminate/resume multiple process
instances at same time.
http://ode.apache.org/bpel-management-api-specification.html#BPELManagementAPISpecification-Suspend%2FResumse%2FTerminate%2FFaultProcessInstance
my soap request is as follows:-
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:pmap="http://www.apache.org/ode/pmapi">
<soapenv:Header/>
<soapenv:Body>
<pmap:suspend>
<iid>23006</iid>
<iid>23979</iid>
<iid>25410</iid>
<iid>25580</iid>
</pmap:suspend>
</soapenv:Body>
</soapenv:Envelope>
But it only seems to suspend first one.