“Undo deprovision” activity
An “Undo deprovision” activity is intended to restore a particular user or group that was deprovisioned by using Active Roles. The activity causes Active Roles to roll back the changes that were made to the user or group object by applying the Active Roles deprovisioning policies. As a result, the object reverts to the state it was in before the deprovisioning-related changes where made.
When you configure an “Undo deprovision” activity, you can specify the rules for selecting the user or group you want the activity to restore. Additional options are available such as notification, error handling, and “run as” options.
To configure an “Undo deprovision” activity
- In the Active Roles console tree, expand Configuration | Policies | Workflow, and select the workflow containing the “Undo deprovision” 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 “Undo Deprovision” Activity Properties dialog box.
- Click in the Activity performs the operation on this object box to specify the user or group you want the activity to restore. 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 “Undo deprovision” 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 “Undo deprovision” 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 the “Undo deprovision” 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 “Undo deprovision” 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.
“Delete” activity
When you configure a Delete activity, you can specify the rules for selecting the object you want the activity to delete in Active Directory. Additional options are available such as notification, error handling, and “run as” options.
To configure a Delete activity
- In the Active Roles console tree, expand Configuration | Policies | Workflow, and select the workflow containing the Delete 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 “Delete” Activity Properties dialog box.
- Click in the Activity performs the operation on this object box to specify the object you want the activity to delete. 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 Delete 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 Delete 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 the Delete 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 Delete 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.
Configuring notification
You can configure a CRUD activity to subscribe recipients to the notifications of the following events:
- Activity completed successfully When configured to notify of this event, the activity causes Active Roles to send a notification e-mail if no significant errors occurred during execution of this activity.
- Activity encountered an error When configured to notify of this event, the activity causes Active Roles to send a notification e-mail if any significant errors occurred during execution of this activity.
To configure notification for a CRUD activity
- In the process diagram, right-click the name of the activity and click Properties.
- Go to the Notification tab in the Properties dialog box, and use the steps for Configuring a Notification activity to configure the notification settings.
The notification settings specify the event to notify of, and notification recipients. When executed by the workflow, the activity prepares a notification message appropriate to the specified event. Active Roles retains the message prepared by the activity, and sends the message to the specified recipients upon occurrence of that event.
Configuring error handling
When configuring a CRUD activity, you can use error handling to suppress errors encountered by that activity.
To configure error handling for a CRUD activity
- In the process diagram, right-click the name of the activity and click Properties.
- Go to the Error handling tab in the Properties dialog box, and select or clear the Continue workflow even if this activity encounters an error check box on that tab.
If the Continue workflow even if this activity encounters an error check box is not selected (default setting), then an error condition encountered by the activity causes Active Roles to terminate the workflow. If you select this check box, the workflow continues regardless of whether or not the activity encounters an error condition.