This mechanism is used to notify users about relevant changes in midPoint and/or connected resources. For example, a user (or user's boss, or the person who requested the operation, the security manager, etc) may be notified when one of user's accounts is created, modified, or removed. Or, when the midPoint user record is created, when the password is changed, or when he has a new work item to process. There are many such situations imaginable.
Currently there are three basic kinds of notifications:
- User notifications. These are related to midPoint user record, e.g. its creation, modification or removal.
- Account notifications. These are related to accounts on resources, e.g. creation, modification, or removal of such an account.
- Workflow notifications. These are generated e.g. when a work item is created or completed, or when a workflow process instance is started or finished.
Configuration of notifications is currently done within SystemConfiguration object (see the schema in SVN trunk). Some examples are shown below:
<!-- this event handler sends accounts passwords (when created or changed) via SMS to the account owner telephone number, if known -->
<!-- this event handler sends *user* passwords (when created or changed) via SMS to the user's telephone number, if known -->
<!-- this event handler sends notifications about successful account creation to the account owner mail, if known -->
<status>success</status> <!-- only successful operations! -->