"Run as" options
By default, the Search activity is executed under the user account specified by the “run as” setting in the workflow options and start conditions. This could be the service account of the Active Roles Administration Service or the account of the user who caused the workflow to start. You can configure the activity to override the default “run as” setting by choosing to run the activity under the service account or the account of the user who caused the workflow to start. The account under which the activity is running determines the access rights of the activity in the directory.
Additional settings – Search activity
A Search activity has the following additional configuration options:
-
Terminate the search activity if the search returns more than <number> objects: Use this option to specify the maximum number of objects the activity is allowed to return when performing a search. If you want to receive all the objects that match the search conditions, you can disable this option.
-
Exclude or include request controls from the activity operation request: Request controls are certain pieces of data in an operation request that can be used to pass additional information to Active Roles on how to process the request. Request controls are optional. If no request controls are added to a request, then Active Roles determines how to process the request based solely on the type of the request. You can configure the activity to add certain controls to its operation requests (include request controls) or to ensure that certain controls never occur in the activity operation requests (exclude request controls).
Stop Search activity
You can use a Stop Search activity within a Search activity to stop the search being performed by the Search activity. Basically, a Stop Search activity is intended to be used within an If-Else activity nested into a Search activity, in order to stop the search if certain conditions occur. In this scenario, the If-Else activity analyzes data returned by the search, and executes the If-Else branch containing the Stop Search activity if the data returned by the search meets the conditions of that If-Else branch.
CRUD activities
Active Roles offers a number of workflow activities, collectively referred to as CRUD activities, intended to create new objects, and modify or delete existing objects in Active Directory. The CRUD abbreviation designates the key operations that can be performed by using these activities: Create, Read, Update, Delete. The following CRUD activities are available in the Active Roles Workflow Designer:
-
Create activity: Creates an object, such as a user, group, or computer, in Active Directory.
-
Update activity: Changes properties of an object, such as a user, group, or computer, in Active Directory.
-
Add to group activity: Adds an object, such as a user, group, or computer, to specified groups in Active Directory.
-
Remove from group activity: Removes an object, such as a user, group, or computer, from specified groups in Active Directory.
-
Move activity: Moves an object, such as a user, group, or computer, to a specified container in Active Directory.
-
Deprovision activity: Deprovisions a user or group, by applying the Active Roles deprovisioning policy.
-
Undo deprovision activity: Restores a user or group that was deprovisioned by using Active Roles.
-
Delete activity: Deletes an object, such as a user, group, or computer, in Active Directory.
The following topics in this section provide an overview of the configuration settings that are common to CRUD activities:
-
Notification: Active Roles can notify via email about whether or not the activity has encountered an error condition at run time.
-
Error handling – CRUD activities: Determines whether or not the workflow is allowed to continue if the activity has encountered an error condition at run time.
-
"Run as" options: Determines the user account under which to run the activity.
-
Additional settings – CRUD activities: Some advanced configuration options that allow you to adjust the processing of the operation requested by the activity.