OverviewCopy link to clipboard
The Update User Profile Service Node allows you to update a selected user's personal data, including their name, address, phone number, supervisor and title. Any fields not modified will retain their previous information. If you do not select a user, any changes made are applied to the user running the node.
Note: The Update User Profile Service Node can only be executed by someone who is a System Administrator. Attempting to modify a user account other than your own, without sufficient user rights generates an error alert for the Process Administrator and pauses the process.
PropertiesCopy link to clipboard
-
Category: Identity Management
-
Icon:
-
Assignment Options: Unattended/Attended
Configuration optionsCopy link to clipboard
This section contains tab configuration details specific to this smart service. For more information about common configurations see the Process Node Properties page.
Data tabCopy link to clipboard
Node inputsCopy link to clipboard
The Data tab displays all the node inputs and node outputs for the Smart Service node. You can add additional inputs and outputs, if needed. The default inputs generated for the Update User Profile node are:
Input | Data Type | Required | Multiple |
---|---|---|---|
Choose User | User | Yes | No |
Overwrite All Fields | Boolean | No | No |
First Name | Text | Yes | No |
Middle Name | Text | No | No |
Last Name | Text | Yes | No |
Nickname | Text | No | No |
Supervisor* | User | No | No |
Title | Text | No | No |
Text | Yes | No | |
Office Phone | Text | No | No |
Mobile Phone | Text | No | No |
Home Phone | Text | No | No |
Address 1 | Text | No | No |
Address 2 | Text | No | No |
Address 3 | Text | No | No |
City | Text | No | No |
State | Text | No | No |
Province | Text | No | No |
ZIP Code | Text | No | No |
Country | Text | No | No |
Locale* | Text | No | No |
Time Zone* | Text | No | No |
Calendar* | Text | No | No |
Custom Field 1 | Text | No | No |
Custom Field 2 | Text | No | No |
Custom Field 3 | Text | No | No |
Custom Field 4 | Text | No | No |
Custom Field 5 | Text | No | No |
Custom Field 6 | Text | No | No |
Custom Field 7 | Text | No | No |
Custom Field 8 | Text | No | No |
Custom Field 9 | Text | No | No |
Custom Field 10 | Text | No | No |
* See specific usage considerations for additional information.
Node outputsCopy link to clipboard
This node does not return any values.
Usage considerationsCopy link to clipboard
Consider the following when using this smart service.
General considerationsCopy link to clipboard
-
If the node is run without being assigned to a user (or a group), you must specify values for each of the node inputs. If you want to overwrite all fields, including setting some fields to null, set the Overwrite All Fields input to true. You can either manually enter data into the text field, or generate a value using the Expression Editor. When using the Expression Editor, you can reference and modify process variables, rules, constants, and other data. The expressions then populate your node input values.
-
If the node is assigned, the node input values are typed by your assigned user(s) into a form.
Specific considerationsCopy link to clipboard
- Supervisor: If the user selected for the Supervisor field has been deactivated since the profile was last updated, an error is thrown and the process pauses by exception until a valid user or no user is entered for the field.
- Locale: The locale code of the user, such as
en_US
orde
. If not provided, defaults to the environment's primary locale. - Time Zone: The time zone ID of the user, such as
America_New York
orEurope/London
. If not provided, defaults to the environment's primary time zone. To find the time zones available on your environment, view the Time Zone options in your User Settings or the Internationalization tab of the Admin Console. - Calendar: The calendar of the user. If not provided, defaults to the environment's primary calendar. Valid values:
gregorian
,Epoch A T1
,Epoch A T2
,Epoch B T1
,Epoch B T2
,Umm Al Qura
.
a!updateUserProfile()Copy link to clipboard
The Update User Profile smart service is available as an expression function that can be executed inside a saveInto
on a Interface Component or as part of a Web API.
SyntaxCopy link to clipboard
a!updateUserProfile( group, overwriteAllFields, firstName, middleName, lastName, nickname, supervisor, title, email, officePhone, mobilePhone, homePhone, address1, address2, address3, city, state, province, zipCode, country, locale, timeZone, calendar, customField1, customField2, customField3, customField4, customField5, customField6, customField7, customField8, customField9, customField10, onSuccess, onError* )
ParametersCopy link to clipboard
Keyword | Type | Description |
---|---|---|
|
User |
The user whose profile will be updated. |
|
Boolean |
Set to |
|
Text |
The new first name of the user. |
|
Text |
The new middle name of the user. |
|
Text |
The new last name of the user. |
|
Text |
The new nickname of the user. |
|
User |
The new supervisor of the user. |
|
Text |
The new title of the user. |
|
Text |
The new email address of the user. |
|
Text |
The new office phone number of the user. |
|
Text |
The new mobile phone number of the user. |
|
Text |
The new home phone number of the user. |
|
Text |
The new address of the user. |
|
Text |
The new address of the user. |
|
Text |
The new address of the user. |
|
Text |
The new city of the user. |
|
Text |
The new state of the user. |
|
Text |
The new province of the user. |
|
Text |
The new ZIP code of the user. |
|
Text |
The new country of the user. |
|
Text |
The new locale code of the user, such as |
|
Text |
The time zone ID of the user, such as |
|
Text |
The new calendar of the user. If not provided, defaults to the primary calendar. Valid values: |
|
Text |
The new value of custom field 1 of the user. |
|
Text |
The new value of custom field 2 of the user. |
|
Text |
The new value of custom field 3 of the user. |
|
Text |
The new value of custom field 4 of the user. |
|
Text |
The new value of custom field 5 of the user. |
|
Text |
The new value of custom field 6 of the user. |
|
Text |
The new value of custom field 7 of the user. |
|
Text |
The new value of custom field 8 of the user. |
|
Text |
The new value of custom field 9 of the user. |
|
Text |
The new value of custom field 10 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 |
Feature compatibilityCopy link to clipboard
The table below lists this smart service function's compatibility with various features in Appian.
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 | Custom record fields that evaluate in real time must be configured using one or more Custom Field functions. |
Process Reports | Incompatible | Cannot be used to configure a process report. |
Process Events | Incompatible | Cannot be used to configure a process event node, such as a start event or timer event. |