[jboss-user] [JBoss jBPM] - bpws.getVariableData as predicate is not supported?

meghanai_99 do-not-reply at jboss.com
Mon Sep 10 14:43:50 EDT 2007


JBPM throws following exception while evaluating expression using bpws.getVariableData in predicate -

  | 2007-09-10 11:24:13,233 DEBUG [org.jbpm.bpel.graph.basic.assign.FromVariable] evaluating query '/ns9:GetItemsByQueryResponse/ns9:return[bpws:getVariableData("index")]/ns9:genericItem/ns9:itemID' for 'Token(/primary)'
  | 2007-09-10 11:24:13,264 DEBUG [org.jbpm.bpel.graph.scope.FaultActionHandler] handling fault exception: org.jbpm.bpel.graph.exe.ScopeInstance at 13fb60f[name=global,token=/,state=ScopeState[performingPrimaryActivity=0],id=0]
  | org.jbpm.bpel.graph.exe.BpelFaultException: org.jbpm.bpel.graph.exe.FaultInstance at 82bb3d[name={http://schemas.xmlsoap.org/ws/2004/03/business-process/}subLanguageExecutionFault,id=0]
  | 	at org.jbpm.bpel.sublang.xpath.XPathQueryEvaluator.evaluate(XPathQueryEvaluator.java:62)
  | 	at org.jbpm.bpel.graph.basic.assign.FromVariable.extract(FromVariable.java:65)
  | 

It seems queries can be 'GetVariableDataFunction' or 'Pure XPath'...but I thought this would be a common case where inside while loop user would want to iterate over one record at a time.

Are there plans to support this? Shall I enter JIRA issue?

Thank you,
Meghana.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082738#4082738

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082738



More information about the jboss-user mailing list