Set Value
Replaces the value with a Value you choose, always or only when the value is empty. It is how a mapping gets a label or a default. A value typed as text is used as text, and a variable reference is used as the value it resolves to, whatever its type; leave Value blank to set the value to null.
The Set Value reference describes each field, in the same words its Guide icon shows in the tool.
When
- Always replaces every value. On its own it is rarely what you want; inside a Conditional's branches it is what gives each branch something to produce. A Conditional that tests whether a status equals
donecan hold a Set Value ofPublishedunder Then and one ofDraftunder Else. - Only When Empty replaces only an empty value, which is
null, empty text, or an empty list or object, and passes any other value on unchanged. This is the way to supply a default: an Extract Path ofassignee/displayNamefollowed by a Set Value ofUnassignedwith Only When Empty names the assignee when there is one and saysUnassignedwhen there isn't, with no Conditional.
Set Value is the one transform that acts on an empty value rather than passing it on, which is what makes the second use work.