You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ode.apache.org by wangliyi <wa...@nttdatabj.com.cn> on 2008/08/19 08:10:07 UTC

Missing Variable value in VariableModificationEventLink to this message

hi,
I also have the same problem.I have saw the mail belong to the address 
http://markmail.org/message/3z35wutq4bazcpci


 public void handleVariableModificationEvent(VariableModificationEvent 
event) {
     logger.debug("VariableModificationEvent["+event.toString()+"]");
  }

the next value results from the source above.

VariableModificationEvent:
 NewValue = [order0: null]
 VarName = order0
 Type = dataHandling
 ScopeName = __PROCESS_SCOPE:Service
 ScopeDeclarationId = 3
 ParentScopesNames = [__PROCESS_SCOPE:Service]
 ScopeId = 6127616
 ProcessInstanceId = 6062080
 ProcessId = 
{http://script.sample.intra-mart.co.jp/sample_script/Service}Service-2
 ProcessName = 
{http://script.sample.intra-mart.co.jp/sample_script/Service}Service
 LineNo = 221
 Timestamp = Tue Aug 19 11:06:04 GMT+08:00 2008
 Class = class org.apache.ode.bpel.evt.VariableModificationEvent

can you help me?

thanks

wangliyi



Re: Missing Variable value in VariableModificationEventLink to this message

Posted by Matthieu Riou <ma...@offthelip.org>.
On Mon, Aug 18, 2008 at 11:10 PM, wangliyi <wa...@nttdatabj.com.cn> wrote:

> hi,
> I also have the same problem.I have saw the mail belong to the address
> http://markmail.org/message/3z35wutq4bazcpci
>
>
> public void handleVariableModificationEvent(VariableModificationEvent
> event) {
>    logger.debug("VariableModificationEvent["+event.toString()+"]");
>  }
>
> the next value results from the source above.
>
> VariableModificationEvent:
> NewValue = [order0: null]
> VarName = order0
> Type = dataHandling
> ScopeName = __PROCESS_SCOPE:Service
> ScopeDeclarationId = 3
> ParentScopesNames = [__PROCESS_SCOPE:Service]
> ScopeId = 6127616
> ProcessInstanceId = 6062080
> ProcessId = {
> http://script.sample.intra-mart.co.jp/sample_script/Service}Service-2<http://script.sample.intra-mart.co.jp/sample_script/Service%7DService-2>
> ProcessName = {
> http://script.sample.intra-mart.co.jp/sample_script/Service}Service<http://script.sample.intra-mart.co.jp/sample_script/Service%7DService>
> LineNo = 221
> Timestamp = Tue Aug 19 11:06:04 GMT+08:00 2008
> Class = class org.apache.ode.bpel.evt.VariableModificationEvent
>
> can you help me?
>

>From the result of your toString() call this seem to be working. If you look
at the line:

NewValue = [order0: null]

The right hand side is the result of a toString on a DOM node. It shows a
node named order0. The null there is actually some value inside your node,
it doesn't really matter it's just the DOM toString that's a bit confusing.
But you definitely seem to have a node there and calling event.getNewValue()
should return it.

Matthieu


>
> thanks
>
> wangliyi
>
>
>