This content has been marked as final.
Show 3 replies
-
1. Re: Signaling Transition from a Java State
jbarrez Aug 6, 2009 4:15 AM (in response to waterloo)The java activity is only used when you don't need runtime process information. Use the 'custom' activity instead (see http://docs.jboss.org/jbpm/v4.0/userguide/html_single/#custom )
-
2. Re: Signaling Transition from a Java State
rmoskal Aug 9, 2009 12:46 PM (in response to waterloo)You can get current execution information into your java code by passing it the current execution like so:
<java expr="#{workflowServices}" method="DecorateTask" > <arg><object expr="#{execution}"/></arg> <arg><object expr="#{SKYLINE_TARGET_GROUP}"/></arg> </java>
On the java side your method just has an Execution as a parameter.
Cheers!
Robert -
3. Re: Signaling Transition from a Java State
kukeltje Aug 10, 2009 2:14 AM (in response to waterloo)Creative...