If mapping is not a dict, we store a message that would fail later when being viewed, typically breaking History tab when used in workflow history.
If mapping is not a dict, we store a message that would fail later when being viewed, typically breaking History tab when used in workflow history.