This content has been marked as final.
Show 2 replies
-
1. Re: All processInstance variables into a java activity ?
mwohlf Jun 7, 2010 11:07 AM (in response to newbeewan)1 of 1 people found this helpfuldid 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");
}
[...] -
2. Re: All processInstance variables into a java activity ?
newbeewan Jun 15, 2010 8:32 AM (in response to mwohlf)Effectivelly, it does the job..
I prefere to use ActivityBehaviour in place of ExternalActivityBehaviour (simpler to implement no "signal" method).
An other way I found is to create an eventlistener to listen the stratup of that activity to populate data before java execution...
Regards