Skip to main content
Version: 2027 R1

Manage users

The action creates, edits, or deletes Active Directory domain accounts based on process form field values. It can be embedded in any automation event — for example, on step entry, on step exit, on a path transition, or on a menu button.

caution

For the action to run, you need to enable object modification and configure the connection parameters it will be authorized under in the Active Directory configuration in the system settings.

Basic configuration​

The Basic tab of the Properties panel contains settings shared by every action in an automation: the Active toggle, the Action type field, the Documentation field, the Use action template toggle (when enabled, the action takes its configuration from the selected action template defined in the process), the Execution condition section (determines whether the action always runs or only when a custom rule is satisfied), and the Runtime error handling section (the message and numeric error code returned when the action fails). Since these settings are not unique to the Manage users action, they are described in detail in the Actions chapter.

Basic tab in the Properties panel of the Manage users action

Advanced configuration​

The Advanced tab contains fields specific to this action. Their availability depends on the selected operation — for example, when deleting an account, most sections are hidden because they apply only to creating or editing user data.

Advanced tab in the Properties panel of the Manage users action, Create user operation

1. Action mode​

Determines which operation will be performed on the domain account:

  • Create user — creates a new domain account.
  • Edit user — modifies an existing account's data.
  • Delete user — deletes an existing account.

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

2. User data​

Data of the domain account the action operates on. The User login field (in the domain\username format, e.g. WEBCON\j.smith) is available for every operation. When creating a user, two more fields appear:

  • Organizational unit DN — the organizational unit the account is created in, in the format OU=Board,DC=webcon,DC=pl.
  • Common name (CN) — the common name of the account being created, e.g. John Smith.

3. Password​

The section allows you to manage the domain account's password. When editing a user, the section is collapsed by default behind the Change password toggle — enabling it reveals the same fields as when creating a user:

  • Enter password manually — when enabled, reveals the Password field, where a business rule (the fx button) can supply the password value.
  • When the toggle is off, the Save generated password in field is available — it allows you to pick the process form field, the automatically generated password will be saved to.
caution

If you create a new user account without enabling Enter password manually, the account's password will be generated automatically.

The Password section is unavailable when deleting a user.

4. Edit user data​

The section is enabled with the toggle in its header, which is off by default. When the toggle is on, the User properties list is available — expandable cards, one per supported domain account property. Each card shows the Property name and Property code fields (identifying which Active Directory attributes the card covers) and a Value field, where a business rule (the fx button) supplies the property's new value. The Add property button adds another property to the list.

Expanded user property card with the Property name, Property code, and Value fields

This section is unavailable when deleting a user.

info

A description of additional Active Directory attributes is available in the article Using the "Domain users" data source on our technical blog.

5. Account status​

The Account status action field determines whether, as a result of the action, the account's availability stays unchanged or is changed:

  • Unchanged
  • Unlock
  • Lock

This section is unavailable when deleting a user.

6. Synchronization mode​

After a user's data is created or updated, an independent synchronization operation is required. Synchronization can take a few seconds — until it completes, the user's data is not available in the system. The Synchronization mode field is available regardless of the selected operation:

  • Synchronously - wait until synchronization finished — the action completes only after the user's data synchronization finishes. Use this mode when subsequent actions in the sequence rely on the newly entered data. In this mode, the user data is written or updated outside the transaction the action sequence runs in — if a later action in the sequence returns an error, rolling back the transaction will not revert the user data changes already made.
  • Asynchronously - do not wait until synchronization finished — the action triggers the user data synchronization but does not 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 user data will also not be written to the system.
  • No synchronization - changes will be visible after the next user synchronization — the action does not trigger the user 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.