Creating Alert Categories in ESR and using them in Integration Processes – PI 7.1 Feature
All those working on PI 7.1 must have noticed in ESR this new object called as Alert Category under Process Integration Scenarios and Objects, we can now define an ALERT CATEGORY in ESR and use it inside the control step while designing Integration Processes.
Here is how we can use this feature.
Create a new Alert Category in the ESR, I have created one as test_alert_category.
Set the priority of your alert category as shown in the image below.
Now we need to create alert containers to be used in the alert category (the way we create while defining alert categroies in Alert Server using tcode ALRTCATDEF).
I have created 4 alert containers of type String to be used in my alert category.
Now we can use this alert containers in defining the short and long text of the category. Just take the cursor to white space below Short Text tab (or Long Text ) and press CTRL + SPACE on keyboard (similar to input help while using NWDS or Eclipse)
Now in order to define the receipents of this alert, use tcode ALRTCATDEF, we can see that the category we defined in ESR is classified as XI , goto Fixed Receipents button and add the users who are intended to receive this alert in their inbox.
After completing the above shown steps you can design your integration process. When configuring the control step in integration process, under properties window we can see an option as Source, here select Enterprise Service Repository as the source instead of Alert Server
We can see parameters section which has all the alert containers defined in the category, we can keep the values as default or can select runtime values from Integration Process using the expression editor.
Activate the ESR objects and create ID objects. When the process runs and if the control step is encountered in the IP, an alert of category test_alert_category is triggered. The alert can be seen in the alert inbox of the User who is configured to receive the alert.
This is how we can define Alert Category in ESR and use it while designing Integration Processes.
We cannot view this alert category in the alert configuration section of RWB as this is defined in ESR and not in Alert Server, hence no rules need to be created for this alert category.
We cannot edit the alert containers defined in the category from transaction ALRTCATDEF, we can only configure the receivers of the alert here.Reference: http://help.sap.com/saphelp_nwpi711/helpdata/en/43/1b9259fb002be8e10000000a11466f/content.htm