Create a valid workflow map

Following is a partial list of the rules that are enforced during workflow validation.