super(resourceId, formVariableNames);
}
public Map<String, VariableInstance> execute(CommandContext commandContext) {
StartFormData startFormData = new GetStartFormCmd(resourceId)
.execute(commandContext);
Map<String, VariableInstance> result = new HashMap<String, VariableInstance>();
for (FormField formField : startFormData.getFormFields()) {
if(formVariableNames == null || formVariableNames.contains(formField.getId())) {
result.put(formField.getId(), createVariable(formField));
}
}