WF priorities to Workflow class