DNN-5943 - Added check to prevent workflow state with the same name