When you configure a Modify Requested Changes activity, you can define the property changes to add or remove from the change request. You can choose the properties you want the activity to change and, for each property, choose to remove the property from the request, clear the property value in the request, or specify the new value to be assigned to that property. For a multi-value property, you can choose to add or remove a value from that property. Additional options are available such as notification, error handling, changing the container where to create new objects, and adding or removing Active Roles controls from change requests.
To configure a Modify Requested Changes activity
- In the Active Roles console tree, expand Configuration | Policies | Workflow, and select the change workflow containing the Modify Requested Changes 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 Target changes tab in the “Modify Requested Changes” Activity Properties dialog box.
- Configure the list of the properties you want the activity to modify:
- 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.
- Click Remove from request if you want the workflow not to apply the changes to the property that were specified in the request that started the workflow.
- If an action other than Clear or Remove from request is selected, 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 type the desired string.
- 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 from a list of object properties.
- 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 from a list of object properties.
- 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 from a list of object properties.
- Workflow parameter value. Use the value of a certain parameter of the workflow. You can choose the desired parameter from a list of the workflow parameters.
- Property of object from workflow data context. Use the value of a certain property of the object that will be selected by the activity on the basis of the data found in the workflow run-time environment. 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. You can configure a rule expression to compose a string value based on properties of various objects found in the workflow run-time environment.
- Go to the Notification tab in the “Modify Requested Changes” Activity Properties dialog box to view or change notification settings. For instructions, see Configuring notification.
- Go to the Error handling tab in the “Modify Requested Changes” Activity Properties dialog box to view or change error handling settings. For instructions, see Configuring error handling.
- Click the Additional settings link at the bottom of the “Modify Requested Changes” Activity Properties dialog box.
- In the Additional Settings dialog box that appears, you can configure the activity to:
- Change the container where to create new objects. Click in the Modify object creation requests so as to create objects in this container box, and then choose from the following options:
- Fixed container in directory. With this option, objects will be created 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, objects are created in the OU that holds the target object of the request that started the workflow.
- Activity target object. With this option, objects are created in the OU or container created or otherwise processed by a particular 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, objects are created 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, objects are created in the OU or container that will be selected by the activity on the basis of the data found in the workflow environment at the time of executing the workflow. You can specify which OU or container you want the activity to select.
- Object identified by DN-value rule expression. With this option, objects are created 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.
- Add or remove Active Roles controls from the request. To add or change a control, click Add or Change, and then, in the dialog box that appears, specify the name and, if applicable, the value of the control. If you want the activity to add the control to the request, click Include this control in the change request. If you want to ensure that the control never occurs in the request, click Exclude this control from the change request.
Controls can be used to pass additional information to Active Roles on how to process the request. See Active Roles SDK for information about controls.
- Change the container where to create new objects. Click in the Modify object creation requests so as to create objects in this container box, and then choose from the following options: