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&...]