JBPM-3914 - Enhance validation for process variables