[jboss-user] [jBPM] - All processInstance variables into a java activity ?

Michael Wohlfart do-not-reply at jboss.com
Mon Jun 7 11:07:19 EDT 2010


Michael Wohlfart [http://community.jboss.org/people/mwohlf] replied to the discussion

"All processInstance variables into a java activity ?"

To view the discussion, visit: http://community.jboss.org/message/546493#546493

--------------------------------------------------------------
did you consider implementing ExternalActivityBehaviour and using the <custom /> tag, in the execute() method you can access whatever variable you want:
> [...]
> public void execute(ActivityExecution execution) { 
>    Object variable = execution.getVariable("variablename");
> }
> [...]
> 
 http://docs.jboss.com/jbpm/v4/userguide/html_single/#custom http://docs.jboss.com/jbpm/v4/userguide/html_single/#custom

--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/546493#546493]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100607/40bc996a/attachment.html 


More information about the jboss-user mailing list