Add Group Admins Smart Service

The Add Group Admins node allows you to give users the right to be the administrator of a group. It can be run by the System Administrator (but not the Portal Administrator). It is found under Appian Smart Services > Identity Management in the Process Modeler Palette.

CAUTION: The Add Group Admins Service Node can only be executed by a user with the proper user rights. If not, a run-time exception sends an error message to the Process Administrator and pauses the process.

Properties

  • Category: Identity Management

  • Icon:

  • Assignment Options: Attended/Unattended

Configuration Options

This section contains tab configuration details specific to this smart service. For more information about common configurations see the Process Node Properties page.

Data Tab

This tab displays the Node Inputs and Node Outputs for the Service Node. You can add additional inputs and outputs, if needed. The default inputs are:

Input Data Type Required Multiple
New Administrators (Users) User Yes Yes
Group Group Yes No

If the node is run without being assigned to a user (or a group) you must specify values for each of the Node Inputs listed in the table above. You can either manually enter data into the text-field, or a value can be generated 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.

a!addAdminsToGroup()

The Add Group Admins 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.

Syntax

a!addAdminsToGroup(group, newAdministrators, onSuccess, onError)

Inputs

  • group (Group): The group to which the new administrators will be added..
  • newAdministrators (List of Username): The users that will be added as administrators.
  • onSuccess (Any Type): A list of saves or an HTTP response to execute after the smart service executes successfully. Created with a!save() or a!httpResponse().
  • onError (Any Type): A list of saves or an HTTP response to execute when the smart service does not execute successfully. Created with a!save() or a!httpResponse().
FEEDBACK