public function getNotesRequiredForAction($actionName)
{
$actionConfig = $this->getWorkflow()->getActionConfig($actionName, $this->getElementStatus());
return isset($actionConfig['notes']['required']) ? (bool) $actionConfig['notes']['required'] : false;
}