AnsweredAssumed Answered

expression parse  bug?

Question asked by croc1 on Jun 27, 2012
Latest reply on Jun 27, 2012 by croc1
hi!
I encountered some troubles in activiti 5.9.
when parse  expression

the exception is

org.activiti.engine.impl.juel.TreeBuilderException: Error parsing '${userService.findUsers("{"id":"12"}"': syntax error at position 27, encountered 'id', expected ')'


and the bpmn is



<startEvent id="startevent1" name="Start"></startEvent>
    <userTask id="P1" name="P1" activiti:candidateUsers="${userService.findUsers(&quot;{&quot;id&quot;:&quot;12&quot;}&quot;, var1)}"></userTask>
    <endEvent id="endevent1" name="End"></endEvent>


I want to pass a string like json in my service,but the "}" be resolved..  :?

How to solve that problem?

THX!

Outcomes