Attribute mappings and continuous updates
Baseline mappings decide which values Owlie writes to an account. Each mapping targets one account attribute and computes its value from the person's identity data. By default Owlie writes the value when it provisions the account. A mapping with Keep updated turned on also follows later changes to the person.
These are outbound mappings, from Owlie to a connected system. Mappings that bring source data into Owlie belong to sync. See Attribute mappings and OXL.
Where mappings live
Open a resource, select the Provisioning tab and open Provision. Baseline attributes is a grid with one row per account attribute the connector declares:
| Column | What it holds |
|---|---|
| Attribute | The account attribute, with a Required badge where the connector requires it |
| Mapping | The mapping mode: Expression, Username Generator or Identity Reference |
| Value | The expression, generator or reference. An attribute with no mapping reads "not mapped" |
| Keep updated | Whether Owlie also updates the attribute after the account exists |
Use Search attributes and Mapped only to narrow a long list. For a connector that declares no attribute list, select Add attribute and name the attribute yourself.
Two kinds of field never get a row. A field that holds whether the account is enabled is managed through the account's lifecycle, not as an attribute. A password field is set through the profile's Password step.
Write an expression
An Expression mapping is an OXL expression, evaluated once per person. It can read:
| Name | What it holds |
|---|---|
identity | The person's attributes, such as identity.email, identity.department or identity.manager_id |
roles | The person's roles |
groups | The person's groups |
resource | The resource being provisioned |
operation | The provisioning operation |
formData | Answers from the resource's request form, when a request started the operation. Empty for every other operation |
config | The integration's own configuration, such as an email domain, without its secrets. Connector-fulfilled resources only |
this | Other mappings in the same profile, as this.<field> |
generated | The value of the profile's username generator |
For example, identity.first_name + " " + identity.last_name builds a display name, and
identity.email passes the address through.
An expression that fails stops the operation, and Owlie doesn't retry it automatically: fix the expression, then retry the operation. Use Preview on Baseline attributes to evaluate the saved mappings against a real identity before anyone is provisioned. See Configure a provisioning profile.
A mapping that reads formData only has a value when a request carried the form. A policy or an
administrator provisioning the same resource gives it nothing, so write the expression to cope with
a missing answer.
Reuse a mapped value
An expression can read another mapping with this.<field>. For example, a hidden field named
shortName can use identity.first_name, while displayName can use this.shortName + ' Smith'.
To add a hidden field, enter a name in Hidden field name and select Add hidden. Its Hidden
switch is on by default. Owlie calculates the field and makes it available to other mappings, but
never sends it to the connected system. A hidden name must differ from every account attribute
declared by the connector. A visible mapping must target a declared account attribute. The
expression editor offers the profile's other mapping names after this..
Mappings can form a chain: one expression can read a hidden field, and another can read that expression's result. Owlie evaluates them in the needed order. A missing field or a cycle is shown on the affected mapping when you save.
A profile has one username generator, on a real account attribute. Other expressions can read its
value as generated, as described in Naming rules. A generator can read a
previously computed this.<field> value in a field block, provided the mappings do not form a
cycle.
Reference another person's account
Some account attributes point at another account in the same system. A manager attribute is the usual case: Active Directory expects the manager's distinguished name and Microsoft Entra ID expects the manager's object ID, not the manager's name or Owlie ID. An Identity Reference mapping looks up the other person's account and writes the value the connected system expects.
| Control | Choices |
|---|---|
| Source | Manager uses the person's manager. Custom expression… takes an expression that returns an identity's ID. |
| Reference resource | This resource looks for the other person's account on the same resource. Choose another resource to read their account there, for example to write an Active Directory value onto an Entra ID account. |
| Value attribute | Which attribute of the referenced account to write. On the same resource, Owlie marks the connector's suggestion Recommended. For another resource you must enter it. Use externalId for the account's ID. |
| If not resolvable | Backfill when available (default), Skip or Fail provisioning. |
If not resolvable applies when there is someone to point at but their account value can't be read yet, for example because the manager's account hasn't been created. With Backfill when available, Owlie provisions the account without the attribute and fills it in once the referenced account exists. You can therefore onboard a team in any order. Skip leaves the attribute out for good, and Fail provisioning fails the operation.
When the person has no manager at all, there is nothing to write. Owlie leaves the attribute out and If not resolvable doesn't apply.
Preview shows a reference that can't be resolved yet as a warning with the reason, such as "The referenced identity has no account on this resource yet."
A few limits:
- Owlie doesn't follow chains. If the referenced value is itself waiting on another reference, the attribute stays unfilled until the value can be read directly.
- The referenced account's value must be readable in Owlie, either because the connected system returned it when the account was created or because sync reports it.
- Revoking the referenced account doesn't clear or repoint the attributes that pointed at it.
- A Custom expression… source that reads
formDatalets the requester choose whose account is referenced. Use it only where that is intended.
Keep an attribute updated
Turn on Keep updated for a mapping when its value should follow the person after the account is created. When an attribute the mapping reads changes, for example a new title, department or manager, Owlie evaluates the mapping again and compares the result with the value it intends for the account:
- If nothing changed, Owlie does nothing.
- If one or more kept-updated attributes changed, Owlie creates one Update Attributes operation for the account with every changed value. The operation's source names the attributes, for example "Synced title, department", so the account's history shows why each value was written.
If the mapping reads a hidden field, Owlie recomputes the hidden field first and sends the changed visible value. A kept-updated manager reference is resolved again when the person's manager changes. If the new manager has no account yet, the value is filled in once that account exists.
Without Keep updated, a mapping's value reaches an existing account only the next time Owlie provisions that account.
The switch appears once the attribute is mapped. It is unavailable, with the reason shown on hover, when:
| Reason shown | Why |
|---|---|
| "Only top-level attributes can be kept updated." | The mapping is inside a nested object. |
| "A hidden field is never sent to the account…" | Hidden fields exist only for other mappings to read. |
| "This attribute is read-only on the target." | The connected system doesn't accept writes to it. |
| "This attribute can't be read back from the target." | Write-only and sensitive attributes are excluded. |
| "This attribute can't change on the target after it is first set." | The connector marks it immutable. |
| "The target doesn't accept updates to this attribute." | The connector can set it at creation but not afterward. |
| "Follows the generated username…" | The mapping reads generated, so it changes with the username, at creation and on rename. |
A username generator has no Keep updated switch: the sign-in name is set once, when the account is created.
Keep-updated changes go to connected systems. They never write back to the HR source the data came from. If the connector can't update accounts, the Update Attributes operation fails with an unsupported-operation error that you can read on the operation.
Values Owlie refuses to change
A connector can mark an attribute as immutable. Once it has a value, an operation that would change it fails and isn't retried automatically, so a profile change can't silently rewrite, for example, an account's permanent ID. Map such an attribute to a value that doesn't change for the person.