Skip to main content
Version: 2027 R1

Manage groups

The action creates or deletes groups in Active Directory. It can be embedded on any automation event — e.g. on step entry, on step exit, on a transition path, or on a menu button.

caution

For the action to run, Active Directory configuration in the system settings must have object modification enabled and the connection parameters configured, under which the action will be authorized.

Basic configuration​

The Basic tab of the Properties panel contains settings common to every action in an automation: the Active switch, the Action type selector, the Documentation field, the Use action template switch (when enabled, the action takes its configuration from the selected action template defined in the process), the Execution condition section (decides whether the action always runs, or only when a custom rule is met), and the Runtime error handling section (the message and numeric error code returned when the action fails). Since these settings aren't unique to the Manage groups action, they're described in detail in the Actions chapter.

Basic tab of the Properties panel for the Manage groups action

Advanced configuration​

The Advanced tab contains fields specific to this action. Their availability depends on the selected operation — when deleting a group, only part of the sections is visible, because the rest applies only to creating a group.

Advanced tab of the Properties panel for the Manage groups action, Create group operation

1. Action mode​

Determines which operation will be performed on the Active Directory group:

  • Create group — sets up a new group.
  • Delete group — removes an existing group.

The selected operation determines the availability of the remaining sections on the tab.

2. Group data​

Data of the group the action will operate on. When creating a group, two fields are available:

  • Group login — the group name in the format domain\groupname, e.g. WEBCON\Marketing.
  • Organizational unit DN — the organizational unit the group is created in, in the format OU=Board,DC=webcon,DC=pl.

When deleting a group, the Group login field becomes Group login or domain\SID — the group to delete can be identified either by its login or by its domain SID.

3. Group types​

The section lets you set the scope of the created group in the Group scope field (Domain local, Global, Universal) and its type in the Group type field (Security, Distribution). The section is available only when creating a group.

4. Group parameters​

Allows you to set basic parameters of the AD group: Display name, E-mail and Description. These fields can be filled in dynamically by pointing to a value with a business rule (the fx button). The section is available only when creating a group.

5. Created group SID​

A SID is a unique identifier of every Active Directory group. The Save created group SID switch reveals the Form field field, where you point to the process form field the SID of the newly created group will be saved to. The section is available only when creating a group.

tip

The SID saved in the form field can be used to call the Manage users action.

6. Synchronization mode​

After a group is created or deleted, an independent synchronization operation must run. Synchronization can take a few seconds — until it finishes, the group's data isn't available in the system. The Synchronization mode field is available regardless of the selected operation:

  • Synchronously - wait until synchronization finished — the action finishes only after the group's data synchronization completes. Use it when subsequent actions in the sequence rely on the newly entered data. In this mode, saving or deleting the group's data happens outside the transaction in which the sequence of actions runs — if a later action in the sequence returns an error, rolling back the transaction won't roll back the group data changes already made.
  • Asynchronously - do not wait until synchronization finished — the action starts the group's data synchronization but doesn't wait for it to finish; synchronization runs as the last operation after the transaction completes successfully. If a later action in the sequence returns an error, the group's data won't be entered into the system either.
  • No synchronization - changes will be visible after the next user synchronization — the action doesn't trigger the group's data synchronization. The changes become visible after the scheduled user synchronization runs or after the Synchronize users list action is executed. This mode is recommended when many consecutive changes are made, followed by a single synchronization.