Previous and new values in user update workflows
Workflows triggered by a user update now receive the update event, including the previous and new value of any field that changed.
What it is
Workflows triggered by a user update now receive the update event, including the previous and new value of any field that changed.
Why it matters
Workflows can act on what changed, not only that something changed. For example, when a user's manager changes, find every approval still pending with the previous manager and move it to the new one.
What's new
- Every user update trigger passes the change: User is updated, Reporting manager is updated, name changes and more.
- Reference any field with
user.event.changeLog.<field>.fromand.to, wrapped in double curly braces in your workflow. Use.fromNameand.toNamefor display names, handy for fields like manager. - Works in new code workflows and older workflows.
- Build it by asking Service Assist: "When a user's reporting manager changes, replace the old manager with the new one on any request still waiting for approval."
Available on users now. Other objects follow in a later release.
How it works
Read the workflow events guide.