Enable User
Description:
This step enables an existing Active Directory user account.
The Enable Active Directory User workflow step connects to Microsoft Active Directory via a configured LDAP connection and enables the specified user account.
The step identifies the user by the specified username and changes the account status from disabled to enabled. Once enabled, the user can authenticate and access Active Directory resources according to the permissions assigned to the account.
This step provides an efficient way to automate user account activation as part of employee onboarding, account reinstatement, or identity lifecycle workflows.
The step supports:
- Active Directory user account management
- Enabling disabled user accounts
- Configurable LDAP connections
- Dynamic username input using workflow variables
- Integration with Microsoft Active Directory
This step can be used for:
- Employee onboarding
- User account reinstatement
- Temporary account reactivation
- Identity lifecycle management
- HR system synchronization
- Access management
- Business process automation
Inputs
- idapConn – Select the Active Directory (LDAP) connection configured in FlowWright.
- userName - Specify the username of the Active Directory user account to enable.
Returns
- Enabled – The Active Directory user account was successfully enabled.
- Not Enabled - The user account could not be enabled.
Usage:
The Enable Active Directory User step is typically placed after an approval, onboarding, or account reactivation process within a workflow.

The workflow enables the specified Active Directory user using the configured LDAP connection.
Once the user account has been enabled, later workflow steps can:
- Notify administrators
- Send welcome notifications
- Provision downstream applications
- Assign group memberships
- Synchronize identity systems
- Continue identity lifecycle management processes
You need to set up an LDAP connection before using this step.
Go to:
Integration → Connections → Generic Connections
On the Manage Generic Connections page, click:
Actions → Create
Configure an Active Directory connection before using this workflow step.
A sample connection is provided here for reference.

Example:
Let’s build and execute the “clsEnableADUserDef” example:
- Create a new process definition named “clsEnableADUserDef” and open it in designer mode.
- Drag a “clsEnableADUser” step to the canvas.
- Connect the dots between the “Start” and “clsEnableADUser” steps.
- Click the "clsEnableADUser" step to configure its "Required" properties. Provide a name for the step. Select the LDAP connection from the drop-down list. Enter the “Username”. Click the Save button to confirm. Note: Click the "AI Predict" button to have the Copilot add new process steps that match your process description.

- The “Logging” configuration is necessary for documentation and also measures workflow progress and percent complete. This is achieved by configuring the step state and percent fields individually, as shown in the images below. Configure the “Logging” using the following properties.

- Save the Process Definition. Create a new Process Instance and execute it. When the workflow reaches the Enable User step, FlowWright connects to the configured Active Directory server using the selected LDAP connection and attempts to enable the specified user account. If the operation completes successfully, the workflow follows the Enabled return path. If the user account cannot be found, is already inaccessible, or the LDAP connection cannot be established, the workflow follows the NotEnabled return path.

- Click the process step to view its properties. The step should enable the specified Active Directory user account and return Enabled upon successful completion. Use the Read Active Directory User step to verify that the account status has been updated.

Tips:
- Verify that the LDAP connection has been configured before using this step.
- Ensure that the LDAP account has permission to modify Active Directory user objects.
- Verify that the specified user account exists before attempting to enable it.
- Use workflow variables to dynamically provide the username.
- Use the Enabled and NotEnabled return paths to implement appropriate success and error handling.
- Combine this step with Create User, Update User Attributes, Add Users to Group, or Disable User steps to automate complete Active Directory identity management workflows.
Notes:
- A valid LDAP connection must exist before this step can execute.
- The configured LDAP account must have sufficient permissions to modify Active Directory user objects.
- The specified user account must already exist in Active Directory.
- Enabling a user account does not modify passwords, group memberships, or user attributes.
- Network connectivity or authentication issues may prevent the account from being enabled.
- The workflow should include appropriate error handling for the NotEnabled return path.
- The workflow result depends on the current state of the user account and the permissions granted to the configured LDAP connection.
Definition Sample:
You may download the sample definition(s) from the link provided and later import them (drag-and-drop) into your FlowWright Process Definition (XML file) or Form Definition (HTML file) page.
Note: Verify and complete any missing configuration after importing the sample, including:
- LDAP connection
- Username mapping
- Workflow variable mappings
- Active Directory permissions
- Environment-specific settings
After verifying the configuration, save the Process Definition before execution.
Click here to download the sample file.