[jboss-user] [JBoss Seam] - How to pass a variable to a Seam action in a Jbpm process ?

chawax do-not-reply at jboss.com
Thu Aug 30 11:55:30 EDT 2007


Hi,

In a Jbpm process, I have an action that should call a method of a Seam component. No problem until there. Now I want to pass a parameter to this method, so that it could be a generic method. 

In my process definition, I configured the action this way :

<action expression="#{afficherMessageConsole.execute('coucou')}" />

But I have the following error :

org.jbpm.jpdl.el.ELException: Encountered "(", 
  | expected one of ["}", ".", ">", "gt", "<", "lt", "==", "eq", "<=", "le", ">=", 
  | "ge", "!=", "ne", "[", "+", "-", "*", "/", "div", "%", "mod", "and", "&&", "or", 
  | "||", "?"]
  | 	at org.jbpm.jpdl.el.impl.ExpressionEvaluatorImpl.parseExpressionString(ExpressionEvaluatorImpl.java:321)
  | 	at org.jbpm.jpdl.el.impl.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:251)
  | 	at org.jbpm.jpdl.el.impl.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:191)
  | 	at org.jbpm.jpdl.el.impl.JbpmExpressionEvaluator.evaluate(JbpmExpressionEvaluator.java:34)
  | 	at org.jbpm.graph.def.Action.execute(Action.java:119)
  | 

I think there is a syntax error, but I can't find it. It must be something stupid, but I am stupid too so I can't see it lol

Thanks in advance

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

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



More information about the jboss-user mailing list