Relatively simple by having handlers creating/adding all sorts of vars like
this (package and imports not shown):
| public class VariableActionHandler implements ActionHandler {
|
| private String name;
|
| private String method;
|
| private String value;
|
Yes, but *not* at the start of a process right? If I have a start task I cannot
use this. I even tried task-assign events on the start task, but was not able
to set variables that could be used this way at start time.
For this reason I created a Jira issue to be able to pass variables when
Adding attributes or custom xml is not realy possible yet. You can achieve some
things, but they might change, therefor I do not recommend these.
What I do myself is when I start a process from a bean (customized version of
the jbpm 3.1 webapp (I modified the HomeBean)), I immediately set a