Using Static Values
Send the same value every time, whatever the person's attributes. Zetect has no separate static value source: you write a fixed value as an expression with no tokens, or as a transform.
Provisioning mappings, identity source attribute mapping (Expression mode) and the single sign-on NameID (Expression mode).
Administrator access to the console, with access to the screen where you edit the mapping.
Setting a fixed value with an expression
An expression with no ${...} tokens is used exactly as you type it.
To send a fixed value from a provisioning mapping:
- Open the application and select Provisioning mappings under Map.
- Select Add Mapping and choose the Account Attribute.
- In Source, choose Expression.
- In Value, type the fixed value, for example
ACTIVE. - In Send on, choose when to send it, for example Create only.
- Select Save Mappings.
Every account Zetect creates or updates from then on receives the value, as set by Send on.
Expression: OU=Users,DC=example,DC=com
Result: OU=Users,DC=example,DC=com
Setting a fixed value with a transform
Inside a transform you rarely need a separate fixed-value step. Wherever a transform expects a value, such as then, else, default or a lookup result, plain text is used as it is. When you want a whole transform that returns one value, use the static type.
{ "type": "static", "value": "ACTIVE" }
→ ACTIVE
A fixed value inside a transform can still contain tokens. "${department}-users" gives Finance-users for a person in Finance. See static.
Choosing where to put a fixed value
| You want | Use |
|---|---|
| The same value for every account | An Expression with no tokens. |
| A fallback when data is missing | A transform's default, for example on lookup or decision. |
| One of two fixed values depending on an attribute | An if transform. See if. |
| A fixed NameID for every user of an application | Subject Attribute (NameID) in Expression mode with no tokens. |
