serviceTask: Define arguments and return value
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2010 03:31 AM
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 ?
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 ?
Labels:
- Labels:
-
Archive
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2010 04:57 AM
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.