fixes #4414 Error in console when add a new workflow action
Merge pull request #4684 from dotCMS/issue-4414-error-in-console-when-add-a-new-workflow-action

fixes #4414 Error in console when add a new workflow action