The Rename Users Node allows you to rename existing users on the system while executing your process application. Users will be notified via email when their usernames have changed, and all username changes are tracked in the User Management Log.
Note that during a bulk rename, if any one username change fails, the node will pause by exception and none of the given usernames will be changed. Additionally, it is not possible for a user to rename themselves.
Only system administrators can run this smart service.
Category: Identity Management
Icon:
Assignment Options: Attended/Unattended
It is recommended to use the smart service or the related a!renameUsers() expression function to update usernames, instead of directly through the Admin Console.
This is especially critical for scenarios where usernames are stored in an external system, including a business data source, where no other system is responsible for updating those usernames during a rename. It is important to build workflows that can both update the username within Appian and properly call for updates to external data sources, as well, in order to avoid service disruptions in existing applications.
This section contains tab configuration details specific to this smart service. For more information about common configurations see the Process Node Properties page.
Input | Data Type | Description | Required | Multiple |
---|---|---|---|---|
Old Usernames | Text | The current username to be changed. A username must match an existing username, including case. For example, if john.doe exists, you cannot enter JOHN.doe . |
Yes | Yes |
New Usernames | Text | The new username that will take effect. A username can only contain letters, numbers, and the following special characters: @ . _ - ' . A username cannot match an existing username, regardless of case. For example, if john.doe already exists, you cannot enter JOHN.doe . |
Yes | Yes |
In order to successfully execute a bulk rename, two equal-sized lists of users must be be passed into the two node inputs. The first item in the first list, for old usernames, corresponds to the first item in the second list, for new usernames. If any one username is invalid in either of the lists, the ode will pause by exception and none of the given usernames will be changed.
See also: View and Update Users
None
The Rename Users smart service is available as an expression function that can be executed inside a saveInto on a component or as part of a Web API.
a!renameUsers( oldUsernames, newUsernames, onSuccess, onError )
Keyword | Type | Description |
---|---|---|
|
List of Text String |
The current username of the user. |
|
List of Text String |
The new username of the user. |
|
Any Type |
A list of saves or an HTTP response to execute after the smart service executes successfully. Created with |
|
Any Type |
A list of saves or an HTTP response to execute when the smart service does not execute successfully. Created with |
During a bulk rename, if any one username change fails, the expression will fail and none of the given usernames will be changed. Additionally, it is not possible for a user to rename themselves.
Feature | Compatibility | Note |
---|---|---|
Portals | Partially compatible | Can be used with Appian Portals if it is connected using an integration and web API. |
Offline Mobile | Incompatible | |
Sync-Time Custom Record Fields | Incompatible | |
Real-Time Custom Record Fields | Incompatible | |
Process Reports | Incompatible | You cannot use this function to configure a process report. |
Process Events | Incompatible | You cannot use this function to configure a process event node, such as a start event or timer event. |
Rename Users Smart Service