Field mapping
The field mapping (Administration → Mapping → Target systems) decides per system type which data of an identity is written to which attribute of the target system. Every row has the target attribute on the right and the source on the left: a Nova field, a fixed value or an expression. For Active Directory the row DN (see Active Directory) and the section Exchange come on top.
Sources
| Source | Spelling in the expression |
|---|---|
| Nova field of the identity (name, e-mail, department, position, user type …) | user.<field> |
| Custom attribute of the identity (Administration → Custom attributes) | custom.<key> |
| Account id on the target system | account.id |
| Manager and the manager's account on the same system | manager.dn, manager.account_id, manager.name, manager.email |
Nova knows the account id and the manager when it creates an account and during a sync; the dialog's preview shows placeholders for them.
Expressions
An expression is text in which blocks in double curly braces are evaluated. Inside a block there are fields, quoted fixed values, conditions ('a' if … else 'b') and functions:
| Function | Result |
|---|---|
upper(text), lower(text), strip(text) | upper/lower case, whitespace removed |
replace(text, old, new) | replaced |
substr(text, start, length), split(text, separator, index) | part of the text |
len(text), str(value), default(value, fallback) | length, text, fallback when empty |
today(), today('%d.%m.%Y') | today's date (ISO or formatted) |
Examples:
title {{ user.position_title }}
company {{ custom.kasse }}
description Created by Nova {{ today() }}
manager {{ manager.dn }}
homeMDB {{ 'DB02' if user.user_type == 'external' else 'DB01' }}When AI is switched on, “Generate with AI” in the dialog proposes an expression from a description; “Validate” checks it, the preview shows the result for a sample identity. An expression whose source is missing, such as the manager without an account, writes nothing instead of an empty value.