Joiners, movers, leavers
For the events in the lifecycle of an identity – joiner, mover, leaver, rehire and archive – Nova has one routine each: a sequence of steps. Administrators define the steps under “Administration” → “Identity Management” → “User Lifecycle”; for each routine, steps can be added, reordered with the drag handle and switched on or off individually. The built-in steps carry German labels in both interface languages; the table under “The steps” below explains them.
Internal and external
Nova keeps two sets of routines: Internal and External. A tab at the top of the page picks the set the page shows.
- “Internal” applies to every identity except external ones – technical identities and AI agents included.
- “External” applies to identities of type “External” (
external). As long as externals have no routines of their own, they run through the internal ones. “Copy from internal” or “Start empty” creates routines of their own for externals, “Remove the external routines” takes them away again; like any other change, it is stored with “Save”.
The two sets are entirely separate: a step in one never changes the other. The type of an identity is set by the HR import's field mapping in the field “Identity type” (see HR integration) or by an administrator on the identity. When a routine runs for internal and external identities at once, Nova runs each set once and combines the result. The preview shows each identity the steps of its set, and the audit log entry names the set.
The routines and their triggers
Joiner
- Trigger: on the dashboard, the “HR Integration” window lists the day's joiners from the HR import. “Onboard” starts the routine for the selected people, after a preview of the steps.
- Default: “Setze Identität aktiv - Entsperrung von Konten” and “Setze Identität auf Planstelle”.
Mover
- Trigger: the HR import, when a person's position has changed; adding a person to an organisational unit, removing them or moving them; “Run move” in the “HR Integration” window.
- Default: “Setze Identität auf Planstelle”.
Leaver
- Trigger: the “Leave-Date Scan” job (pre-configured to run daily at 02:00) for active identities whose leave date has passed; deleting an identity, which Nova then moves to the recycle bin.
- Default: “Ownership-Übergabe für KI-Agenten” and “Setze Identität inaktiv - Sperrung von Konten”. The default routine does not revoke assignments; a step such as “Entzug aller bestehenden Berechtigungen (Clean Start)” can be added for that. Nor does it end position holdings; “Planstellen-Besetzungen beenden” can be added for that – after “Ownership-Übergabe für KI-Agenten”, which still needs the manager derived from the organisation for the handover.
A grace period after which Nova removes the entitlements of terminated identities is part of the status model in Identities and their status. planned
Rehire
- Trigger: the HR import finds an active person whose identity is in the recycle bin – recognised by personnel number or e-mail address – and brings the identity back.
- Default: “Entzug aller bestehenden Berechtigungen (Clean Start)”, switched off. Assignments the identity still has are therefore kept; with the step switched on, it starts without old access.
Archive
- Trigger: the permanent deletion of an identity from the recycle bin – with “Delete permanently” or by a job of the “Purge Deleted Users” type. This job deletes identities that have been in the recycle bin longer than the retention period; the default is 90 days, adjustable under “Retention (days)”.
- Default: no steps.
The steps
| Step | Effect |
|---|---|
| “Setze Identität aktiv - Entsperrung von Konten” | sets the identity to active and starts a run that unlocks its linked accounts in the target systems |
| “Setze Identität inaktiv - Sperrung von Konten” | sets the identity to inactive and starts a run that locks its linked accounts |
| “Setze Identität auf Planstelle” | places the identity on the position from the personnel data (SAP HCM: attribute P0001-PLANS; SuccessFactors with Employee Central: the position of the employment); it receives the position's business roles. Requires the “Planstellen (OSP)” add-on |
| “Zuweisung Standardmitarbeiterrolle” | assigns the business role with the ID standard-mitarbeiter, if it exists |
| “Entzug aller bestehenden Berechtigungen (Clean Start)” | removes all assignments of the identity |
| “Irreversible Löschung von Backend Konten” | starts a run that permanently deletes all linked accounts in the target systems |
| “Ownership-Übergabe für KI-Agenten” | transfers the AI agents of the departing person to their deputy, otherwise to their “Manager”, otherwise to their manager derived from the organisation; without a successor, Nova marks the agent as orphaned |
| “Planstellen-Besetzungen beenden” | ends all current and future position holdings of the identity – on its leave date once that has passed, otherwise today – and revokes the business roles that only these positions granted. The holdings are kept as history; whoever held a chief position no longer counts as the unit's manager. Requires the “Planstellen (OSP)” add-on |
Only identities with the status “Active” can sign in to Nova itself. When a routine sets an identity to inactive, its running session ends with its next request; an identity with the status “Onboarding” can sign in only after it has been set to active.
With “Manage methods”, administrators create methods of their own. A method is a Nova-Skript – the language of the “Scripts” page, with the same built-in functions – that runs once for every identity of the routine. Unlike a script:
- Set when it starts are
identitywith the fields of the identity (e.g.identity.department),hrwith its personnel data (e.g.hr.employee_id) andaccountswith its accounts per target system (e.g.accounts["AD"]). Nova readsaccountsanew before every method: an account a method creates itself is in it only from the next method on. - The identity's roles:
identity.business_rolesis the list of the ids of its business roles,identity.rolesthe list of its directly assigned roles, each withid,nameandsystem_id; roles it holds through a business role belong to that one. Nova reads both anew before every method. So a method works with what the identity already has instead of revoking everything and assigning it again (example below). nova.<function>is named like the function on the “Scripts” page and takes its parameters. The method sets the identity's own parameters itself –user_id,target_user_idsandaccount_id, the identity's account onsys_id; passing them is an error. Only the functions of the method building blocks are available. Blocks without an equivalent on the “Scripts” page keep a name of their own:set_status,assign_business_role,revoke_business_role,revoke_all_assignments,assign_position,create_ldap_account,delete_backend_accounts,set_account_password,set_passwordandlink_account.- Not available are
sql,sql_write,rows,file,files,useandshow.printwrites to the result of the run. - Results: functions that change something return no readable result; reading functions such as
get_user_detailsreturn data. Functions that apply to the whole routine – creating a role, for example – run once per run; if their values depend on the identity, the method fails for the further identities. - Scheduled runs: blocks Nova runs itself – setting the status, assigning and revoking business roles, creating, locking and deleting accounts – run without a signed-in administrator too. All others call their endpoint with the rights of the administrator who starts the routine; in a scheduled run they fail for the identity.
The editor suggests functions, parameters and ids (Ctrl+Space) and checks while you type, without running anything. Methods created before Nova-Skript are rewritten into Nova-Skript when Nova reads them and stored that way at the next save. For accounts there are nova.create_account(sys_id=…, password_mode="none", mailbox_mode="none"), nova.set_account_password(sys_id=…), nova.set_mailbox(sys_id=…, action="enable") and nova.sync_backend_account(sys_id=…), from which, for example, a joiner routine for Active Directory in three steps is composed (see Active Directory).
For directories (LDAP and Active Directory):
nova.modify_account_attribute(sys_id=…, attribute=…, operation=…, values=[…])writes one attribute of the account directly to the directory, independent of the mapping.replacesets the values,addadds values to a multi-valued attribute,deleteremoves the given values or clears the attribute whenvaluesis missing. If the identity has no account on the system, the call fails for it. Blocked are attributes that have a function of their own or by which Nova finds the account: password,userAccountControl, groups (member,memberOf), name and DN,sAMAccountNameoruid, and system attributes. If an attribute is in the mapping,sync_backend_accountlater sets it back to the mapping value.nova.set_ldap_account_groups(sys_id=…, add_groups=[…], remove_groups=[…])adds the account to groups of the system or removes it from them, immediately in the directory and as a direct assignment in Nova. A group is named by its name (cn), DN, GUID or the id of the imported group in Nova; the editor notes a group Nova has not imported. If the person still holds a group through a business role, the membership stays.
Example for a leaver:
nova.disable_account(sys_id="AD")
nova.modify_account_attribute(sys_id="AD", attribute="mail", operation="replace",
values=[f"{accounts['AD']}@locked.internal"])
nova.set_ldap_account_groups(sys_id="AD", remove_groups=["GG-Sales", "GG-VPN"])Revoke every business role but the standard one; the standard role stays untouched and its groups are not written again:
for br in identity.business_roles:
if br != "standard-mitarbeiter":
nova.revoke_business_role(business_role_id=br)If a target system reports an error, the call counts as failed for that identity – even when only one of several groups could not be written. If the method stops for an identity – with fail("…"), for example, or at a field that does not exist – it fails for that identity only. When AI is switched on, “Generate with AI” writes the method from a description in plain words, using only the functions an AI routine assistant releases; the result then stands in the editor. The editor's dry run shows for a selected identity what the method finds set (input: identity with its roles, hr, accounts) and what it would do (output: every call with its line in the script, the lines of print and, where it stops, the reason). It changes nothing: reading functions run, changing ones it only shows. “Test”, by contrast, really runs a saved method against a selected identity, with all its changes in Nova and in the target systems.
How a routine runs
- Nova runs the switched-on steps in the defined order.
- If a step fails, Nova rolls back its changes and continues with the next step.
- If the steps have changed assignments, Nova starts a provisioning run per identity when automatic provisioning is switched on. Steps that lock, unlock or delete accounts start their runs even when automatic provisioning is switched off – see How access is granted and removed.