Configure additional settings
By using additional settings, you can configure a Search activity to stop the search if the number of the objects that meet the search conditions exceeds a certain threshold. It is also possible to modify behavior of a Search activity using so-called request controls to pass additional information to Active Roles on how to process operation requests created by that activity.
To configure additional settings for a Search activity
- In the process diagram, right-click the name of the Search activity and click Properties.
- Click the Additional settings hyperlink at the bottom of the “Search” Activity Properties dialog box.
- To have the Search activity stop the search if the number of the objects found by the search exceeds a certain threshold, select the Terminate the search activity if the search returns more than check box, and specify the maximum number of objects the activity is allowed to return when performing a search.
- Add, change, or remove request controls in the Include or exclude these controls from the activity operation requests list.
To add or change a control, click Add or Change, and then, in the dialog box that opens, specify the name and, if applicable, the value of the control. If you want the activity to add the control to the requests, click Include this control in the activity operation requests. If you want to ensure that the control never occurs in the requests created by this activity, click Exclude this control from the activity operation requests.
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. For information about request controls, see the Active Roles SDK documentation.
Configuring 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 topics in this section provide instructions on how to configure the following CDUD activities:
- “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 the steps for configuring the settings that are common to CRUD activities:
“Create” activity
When you configure a Create activity, you can specify the Organizational Unit or container where you want the activity to create objects, choose the object type and name, and specify how you want the activity to populate the properties of the newly created objects. Additional options are available such as notification, error handling, and “run as” options.
To configure a Create activity
- In the Active Roles console tree, expand Configuration | Policies | Workflow, and select the workflow containing the Create activity you want to configure.
This opens the Workflow Designer window in the details pane, representing the workflow definition as a process diagram.
- In the process diagram, right-click the name of the activity and click Properties.
- Go to the Container tab in the “Create” Activity Properties dialog box.
- Click in the Activity creates the object in this container box to specify the Organizational Unit (OU) or container in which you want the activity to create an object. The following options are available:
- Fixed container in directory. With this option, the activity creates an object in the given OU or container. You can select the desired OU or container in Active Directory when you configure the activity.
- Parent OU of workflow target object. With this option, the activity creates an object in the OU that holds the target object of the request that started the workflow. This option is unavailable in case of an automation workflow.
- Activity target object. With this option, the activity creates an object in the OU or container created or otherwise processed by another CRUD activity at the time of executing the workflow. You can select the desired CRUD activity from the workflow definition when you configure the activity.
- Object identified by workflow parameter. With this option, the activity creates an object in the OU or container specified by the value of a certain parameter of the workflow. You can choose the desired parameter from the workflow definition when you configure the activity.
- Object from workflow data context. With this option, the activity creates an object in the OU or container that is selected by the Create activity on the basis of the data found in the workflow environment at the time of executing the workflow. When configuring a Create activity, you can specify which OU or container you want the activity to select at workflow run time.
- Object identified by DN-value rule expression. With this option, the activity creates an object in the OU or container whose Distinguished Name (DN) is specified by the string value of a certain rule expression. By using a rule expression you can compose a string value based on properties of various objects found in the workflow environment at the time of executing the workflow. You can create the desired rule expression when you configure the activity.
- Go to the Object name tab in the “Create” Activity Properties dialog box.
- Click in the Object type box, and select the type of the objects you want the activity to create, such as User, Group, Computer, and so forth.
- Click in the Object name box to specify how you want the activity to generate the object name when creating an object. The following options are available:
- Text string. With this option, the activity uses the given string of characters as the name of the object. You can specify the desired string when you configure the activity.
- Name of workflow target object. With this option, the activity uses the name of the target object of the request that started the workflow. This option is unavailable in case of an automation workflow.
- Name of workflow target object, followed by text string. With this option, the activity uses a certain text string prefixed with the name of the target object of the request that started the workflow. You can specify the desired text string when you configure the activity. This option is unavailable in case of an automation workflow.
- Workflow parameter value. With this option, the activity uses the name specified by the string value of a certain parameter of the workflow. You can choose the desired parameter from the workflow definition when you configure the activity.
- Property of object from workflow data context. With this option, the activity uses the name identified by the value of a certain property of the object that will be selected by the Create activity on the basis of the data found in the workflow environment at the time of executing the workflow. When you configure a Create activity, you can choose the desired property and specify which object you want the activity to select at workflow run time.
- Value generated by rule expression. With this option, the activity uses the name identified by the string value of a certain rule expression. By using a rule expression you can compose a string value based on properties of various objects found in the workflow environment at the time of executing the workflow. You can create the desired rule expression when you configure the activity.
- Go to the Object properties tab in the “Create” Activity Properties dialog box.
- Configure the list of the properties you want the activity to populate:
- To add a property to the list, click Add property, and then select the name of the desired property.
- To remove a property from the list, click the Delete button labeled X on the right side of the list item representing that property.
- After you have added a property to the list, click in the Value filed to specify the value you want the activity to assign to that property of the newly created object. The following options are available:
- Text string. With this option, the activity assigns the given string of characters to the property. You can specify the desired string when you configure the activity.
- Property of workflow target object. With this option, the activity assigns the value of a certain property of the target object of the request that started the workflow. You can select the desired property when you configure the activity. This option is unavailable in case of an automation activity.
- Property of workflow initiator. With this option, the activity assigns the value of a certain property of the user whose request started the workflow. You can select the desired property when you configure the activity.
- Changed value of workflow target object property. With this option, the activity assigns the value that is requested to be assigned to a certain property of the workflow target object. You can select the desired property when you configure the activity. This option is unavailable in case of an automation activity.
- Workflow parameter value. This option causes the activity to populate the property with the value of a certain parameter of the workflow. You can choose the desired parameter from the workflow definition when you configure the activity.
- Property of object from workflow data context. This option causes the activity to populate the property with the value of a certain property of the object that will be selected by the Create activity on the basis of the data found in the workflow environment at the time of executing the workflow. When you configure a Create activity, you can choose the desired property and specify which object you want the activity to select at workflow run time.
- Value generated by rule expression. This option causes the activity to populate the property with the string value of a certain rule expression. By using a rule expression you can compose a string value based on properties of various objects found in the workflow environment at the time of executing the workflow. You can create the desired rule expression when you configure the activity.
- View or change notification settings. For instructions, see Configuring notification.
- View or change error handling settings. For instructions, see Configuring error handling.
- View or change "run as" options. For instructions, see Configuring “run-as” options.
- View or change advanced settings. For instructions, see Configuring additional settings.
“Update” activity
When you configure an Update activity, you can specify the rules for selecting the object whose properties you want the activity to change, and define how you want the activity to change the properties of the object. Additional options are available such as notification, error handling, and “run as” options.
To configure an Update activity
- In the Active Roles console tree, expand Configuration | Policies | Workflow, and select the workflow containing the Update activity you want to configure.
This opens the Workflow Designer window in the details pane, representing the workflow definition as a process diagram.
- In the process diagram, right-click the name of the activity and click Properties.
- Go to the Activity target tab in the “Update” Activity Properties dialog box.
- Click in the Activity performs the operation on this object box to specify the object whose properties you want the activity to change. This object is referred to as activity target. You can choose from the following options to specify the activity target:
- Fixed object in directory. The activity target is the given object. You can select the desired object in Active Directory when you configure the activity.
- Object identified by workflow parameter. The activity target is the object specified by the value of a certain parameter of the workflow. You can choose the desired parameter from the workflow definition when you configure the activity.
- Object from workflow data context. The activity target is selected by the activity on the basis of the data found in the workflow environment at the time of executing the workflow. When configuring an Update activity, you can specify which object you want the activity to select at workflow run time.
- Object identified by DN-value rule expression. The Distinguished Name (DN) of the activity target is specified by the string value of a certain rule expression. By using a rule expression you can compose a string value based on properties of various objects found in the workflow environment at the time of executing the workflow. You can create the desired rule expression when you configure the activity.
- Go to the Target properties tab in the “Update” Activity Properties dialog box.
- Configure the list of the properties you want the activity to modify:
- To add a property to the list, click Add property, and then select the name of the desired property.
- To remove a property from the list, click the Delete button labeled X on the right side of the list item representing that property.
- After you have added a property, click in the Action field to specify the type of the changes you want the activity to make to that property:
- Click Set to have the activity assign a new value to the property.
- Click Clear to have the activity remove the property from the object.
- In case of a multi-value property, click Add value or Remove value for the activity to add or remove the value of the property.
- If an action other than Clear is selected in the Action field, click in the Value filed to specify the property value you want the activity to set, add or remove. The following options are available:
- Text string. Use the given string of characters as the value of the property. You can specify the desired string when you configure the activity.
- Property of workflow target object. Use the value of a certain property of the target object of the request that started the workflow. You can select the desired property when you configure an Update activity. This option is unavailable in case of an automation workflow.
- Property of workflow initiator. Use the value of a certain property of the user whose request started the workflow. You can select the desired property when you configure the activity.
- Changed value of workflow target object property. Use the value that is requested to be assigned to a certain property of the workflow target object. You can select the desired property when you configure the activity. This option is unavailable in case of an automation workflow.
- Workflow parameter value. Use the value of a certain parameter of the workflow. You can choose the desired parameter from the workflow definition when you configure the activity.
- Property of object from workflow data context. Use the value of a certain property of the object that will be selected by the Update activity on the basis of the data found in the workflow environment at the time of executing the workflow. When you configure the Update activity, you can choose the desired property and specify which object you want the activity to select at workflow run time.
- Value generated by rule expression. Use the string value of a certain rule expression. By using a rule expression you can compose a string value based on properties of various objects found in the workflow environment at the time of executing the workflow. You can create the desired rule expression when you configure the activity.
- View or change notification settings. For instructions, see Configuring notification.
- View or change error handling settings. For instructions, see Configuring error handling.
- View or change “run as” options. For instructions, see Configuring “run-as” options.
- View or change advanced settings. For instructions, see Configuring additional settings.