Thanks Łukasz It was of much help. Can I anyway use this variable to get the process instance id using any of the ODE API's? The thing is I would like to get the process instance value in my Java code rather than in the process. I do not want to store the process instance id in any of the schema elements. Rather I would like to get it from any of the ODE API's
Thanks Again Dhanush -----Original Message----- From: Łukasz Budnik [mailto:[email protected]] Sent: Monday, January 25, 2010 5:41 PM To: [email protected] Subject: Re: ID of Process Instance Created Hi Dhanush, Here you can find an example of using ode namespace to retrieve process' id: http://jee-bpel-soa.blogspot.com/2008/11/complex-types-as-inputoutput-parameters.html cheers, Łukasz 2010/1/25 Dhanush Gopinath <[email protected]>: > Hi, > > Is this variable to be used in XPATH in the process definition? Or can I use > it. I saw in the test cases that it is used in process as an XPath variable. > > Thanks > Dhanush > > -----Original Message----- > From: Rafal Rusin [mailto:[email protected]] > Sent: Thursday, January 21, 2010 5:37 AM > To: [email protected] > Subject: Re: ID of Process Instance Created > > You can use $ode:pid variable. You can grep for it in ODE tests. > > 2010/1/20 Dhanush Gopinath <[email protected]>: >> Hi, >> >> >> >> How do I get the process instance id (or process instance info) of a >> process which I started recently? >> >> >> >> I know I can use the WS API listInstances by giving a filter and order >> and get it, but how does it guarantee me that it is the same process >> instance that I have started. I may order it with the help of started >> date/time, but somebody else can start another instance of the same >> process at around the same time right? >> >> >> >> Is there any API to start a process and returns the id? >> >> >> >> Thanks & Regards >> >> Dhanush Gopinath >> >> >> >> > > > > -- > Rafał Rusin > http://rrusin.blogspot.com > http://www.touk.pl > http://top.touk.pl >
