You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ode.apache.org by rJassal <ja...@gmail.com> on 2012/04/25 08:13:57 UTC
Suspend/Terminate/Resume multiple process instances
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.
--
View this message in context: http://old.nabble.com/Suspend-Terminate-Resume-multiple-process-instances-tp33744503p33744503.html
Sent from the Apache Ode User mailing list archive at Nabble.com.
Re: Suspend/Terminate/Resume multiple process instances
Posted by Sathwik <ba...@intalio.com>.
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.