You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ode.apache.org by Rafal Rusin <ra...@gmail.com> on 2010/02/05 19:54:47 UTC

Re: Getting ODEProcess for a given Instance

On 28 January 2010 22:35, Andreas Fritzler
<an...@googlemail.com> wrote:
> Hi,
>
> I'm trying to get the ODEProcess object which is associated with an process.
>
> ODEProcess p = _server.getBpelProcess(instance.getProcess().getType());
>
> in the ProcessAndInstanceManagementImpl.java returns null although the
> process is deployed.

You can attach debugger and check out why that returns null.
I suppose you need to provide PID QName instead of ProcessType.

Regards,
-- 
RafaƂ Rusin
http://rrusin.blogspot.com
http://www.touk.pl
http://top.touk.pl