Add lifecycle rules for entities
Use these instructions to define lifecycle rules for entities.
Only system administrators can perform this task.
Lifecycle rules trigger operations defined in the Manage Operations task. Depending on the type of lifecycle rule, the corresponding operations defined at the level are available.
Lifecycle rules are different from operations. The lifecycle rule defined at entity type or entity level does not override the lifecycle rule defined at a higher level. Each level has valid lifecycle events that can run independently based on the schedule defined.
To add a lifecycle rule for an entity type...
- Click Configure System > Manage Life Cycle Rules. The Manage Life Cycle Rules page is displayed.
- On the Manage Life Cycle Rules page, select one of the following lifecycle rule levels:
- Select Global level to define a lifecycle rule that has no entity context.
- Select Entity type level to define a lifecycle rule that is applicable to the entity type. Select an entity type from the Entity Type list.
- Select Entity level to define a lifecycle rule that is applicable to a specific entity instance type. Select an entity type from the Entity Type list, and then select an entity from the Entity list.
- Click Add. The Manage Life Cycle Rules notebook is displayed.
- On the General page of the Manage Life Cycle Rules notebook:
- In the Name field, type a unique name for the lifecycle rule to define for the corresponding system entity.
- Optional: In the Description field, type a description for the lifecycle rule.
- From the Operation list, select an operation to be invoked when the event occurs. Only operations without input parameters are allowed to be run by the lifecycle rule.
- Click the Event tab.
- On the Event page of the Manage Life Cycle Rules notebook:
- In the Search filter field, type an LDAP filter that identifies the objects affected by the event. For example, the following filter captures all active employees who did not change their passwords in the past 90 days. The capture is calculated from the date that the lifecycle event occurs: (&(employeeType=active)(erPswdLastChanged<=${system.date - 90})) The Search filter is not applicable to global level lifecycle rules because global level lifecycle rules do not have entity context.
- Click Add to define a schedule for the lifecycle rule. The Define Schedule page is displayed.
- On the Define Schedule page, define a schedule for the lifecycle rule to run, and then click OK. The fields displayed depend on the scheduling option that is selected.The new schedule is displayed on the Event page of the Manage Life Cycle Rules notebook.
- Click OK to save the lifecycle rule and close the notebook.
A message is displayed, indicating that you successfully created a lifecycle rule for the entity. Click Close.
When the Manage Life Cycle Rules page is displayed, click Refresh to refresh the Life Cycle Rules table and display the new lifecycle rule.
Parent topic: Lifecycle rules management