// Process custom properties are created as variables associated
// with the top scope
if (_customProcessProperties != null) {
for (Map.Entry<QName, Node> customVar : _customProcessProperties.entrySet()) {
final OScope oscope = _structureStack.topScope();
OVarType varType = new OConstantVarType(_oprocess, customVar.getValue());
OScope.Variable ovar = new OScope.Variable(_oprocess, varType);
ovar.name = customVar.getKey().getLocalPart();
ovar.declaringScope = oscope;
ovar.debugInfo = createDebugInfo(null, "Process custom property variable");
oscope.addLocalVariable(ovar);