AnsweredAssumed Answered

Process variables xml only

Question asked by mhw on Sep 13, 2011
Latest reply on Sep 15, 2011 by ronald.van.kuijk

I am working on replacing our proprietary engine, which is configured by xml only. There I need a call to a java service. Then the result should be evaluated to continue.

I tried the following:
       variables.put("ServiceDelegate", new ServiceDelegate());
<serviceTask id="javaService" name="Read voltage"
         <activiti:field name="serviceName">
   <sequenceFlow id="flow2" sourceRef="exclusiveGw" targetRef="theTask1">
      <conditionExpression xsi:type="tFormalExpression">{voltage == 12.1}</conditionExpression>
But it says: "condition expression returns non-Boolean". Why? I cannot find a complete reference to the expression language. Could someone please give me a hint?

I can't figure out how I pass the execution to the service, too(just like with "activiti:class"). How this is done using the expressions?

regards, Michael