/// <summary> /// Record a marker in workflow history event. /// </summary> /// <param name="markerName"></param> /// <param name="details"></param> /// <returns></returns> protected WorkflowAction RecordMarker(string markerName, object details) { Ensure.NotNullAndEmpty(markerName, "markerName"); return(WorkflowAction.RecordMarker(markerName, details.ToAwsString())); }