CE-63 Replacing deprecated wfMsg function