Change notification
This sample demonstrates how to trigger notifications when elements change in Decision Center.
Time required
15 minutes
Prerequisites
You must have Decision Center installed to use the sample.
Check that the sample server is started before you use the sample (see Starting and stopping the sample server).
Description
The sample shows how to do the following tasks:
Generate notifications for actions that are run on model elements in Decision Center. For example, when a business user creates, updates, or deletes a rule, an automatic notification through RSS is triggered to inform the development team of the change. The change notification includes information such as the name of the user, the name of the rule affected, and the name of any modified properties, together with their old and new values.
Construct links to the modified elements to view them in the Business console.
To implement these requirements in Decision Center, you do the following tasks:
Write a custom session controller to redefine the behavior of Decision Center when you commit an element, deleting an element, or computing the possible values for a feature.
Generate RSS data and make it available from the web server and then invite interested users to subscribe to the RSS feed by using an RSS reader tool.
The sample includes the following key features:
Custom session controller
Permanent link construction