cancel
Showing results for 
Search instead for 
Did you mean: 

serviceTask: Define arguments and return value

jcosano
Champ in-the-making
Champ in-the-making
is it possible call java class defining arguments or specifying a return value?

I have this structure in jbpm format:

   <java class="main.Guardian"  method="control" name="guardian" var="answerGuardian1">
      <arg>
         <string value="dog1"/>
      </arg>
      <transition to="evaluate2"/>
   </java>

How can I translate it using serviceTask ?
1 REPLY 1

jbarrez
Star Contributor
Star Contributor
No, that's currently not yet supported by the service task. You will have to use process variables that are used in the execute() method to get a similar behaviour.
Welcome to the new Hyland Connect. Get started or submit feedback.