/**
**Get a mandatory Dynamic Process Property.**
@param propName
The name of the Dynamic Process Property.
@return
The property value.
@throws
Exception in case the property does not exist or
its value is blank (is not initialized).
*/
static String _getDPPSafe(String propName) {
String propValue = _getDPP(propName)
if (propValue == null) throw new Exception(propName + ' not set!')
return propValue
}
/**
**Get a Dynamic Process Property.**
@param propName
The name of the Dynamic Process Property.
@return
The property value or [null] in case the property does not exist or
its value is blank (is not initialized).
*/
static String _getDPP(String propName) {
String propValue = ExecutionUtil.getDynamicProcessProperty(propName)
return (propValue == null || propValue.length() == 0) ? null : propValue
}