public Serializable get(ProcessInstance instance, String scope) throws Exception {
return instance!=null ? instance.getName() : null;
}
public InputterAdapter getInputter(){
return new TextInput(){
public Object createValueFromHTTPRequest(Map parameterValues, String section, String fieldName, Object oldValue) {
return createCommandVariableValue(super.createValueFromHTTPRequest(parameterValues, section, fieldName, oldValue));
}
public Object getValue() {
return createCommandVariableValue(super.getValue());