AnsweredAssumed Answered

Form properties not initialized when null or empty

Question asked by pfeiffer on Dec 21, 2012
Latest reply on Feb 11, 2013 by jbarrez
Hi,

I have a question regarding form properties. When using form properties and the user did not fill in a value, the process variable related to the form property is not set in the execution. You can see this in the FormPropertyHandler on line103 :

if (modelValue != null) {
…set variable in execution
}

Why have you chosen to do this this way ? Now as a result, when using a javaDelegate, executionlistener or tasklistener and injecting fields using that same process variable  will all fail, as the process variable is not defined. Therefore it is never possible to inject fields using a variable that may not have been filled in. You can only use "Required" form variables to inject. It seems like a limitation that is not necessary ?

Regards

Outcomes