AnsweredAssumed Answered

Service parameters and return value

Question asked by mhw on Sep 14, 2011
Latest reply on Aug 27, 2012 by trevershick
Hi, I am trying to interact with a service facade using XML only. I am stuck with how to pass parameters from outside expressions.

I have the following process:
<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>

Now I want to access the filed "serviceName" from the execute-Method. Unlike realized with "activiti:class" the field is not injected. But I have to use "activiti:expression" since I need the "activiti:resultVariable".

Could anybody please help?

regards, Michael