variables.add(new InstancePropertyPointingProcessVariable("InstanceId"));
variables.add(new InstanceNamePointingProcessVariable());
variables.add(new InstanceDueDatePointingProcessVariable());
ActivityFor forLoopForAddingCommandVariables = new ActivityFor(){
public void logic(Activity activity) {
if (!(activity instanceof HumanActivity)) return;
ProcessVariable commandVariable = new ProcessVariable();
final HumanActivity finalActivity = (HumanActivity)activity;
variables.add(new ActivityDueDatePointingProcessVariable(finalActivity));
}
};
forLoopForAddingCommandVariables.run(def);
String[] selections = new String[variables.size() + 1];
selections[0] = "";
Object[] values = new Object[variables.size() + 1];
values[0] = null;