DNN-5943 - Added WorkflowState as input parameter to the GetActionMessage method