User account for Alert consumer in PI 7.31 single stack
I have created a new alert consumer using RegisterConsumer webservice.
However when i schedule the Alert Consumer job to trigger the email, it's unable to collect the alerts. We are able to schedule and receive the email if i use standard consumer "ALERT-TO-MAIL"
I got to know from one of the threads that "The alert consumer should have a user account that includes the SAP_XI_ALERT_CONSUMER role to be able to retrieve alerts"
Is there a way to know which user account is used for the alert consumer? I believe this is the only missing link in the puzzle.
Hareesh Gampa replied
I believe it should be the "Run as" user.
Go to the task that you have created to schedule the alert consumer job -> General Info -> Run as user
Assign the role "SAP_XI_ALERT_CONSUMER" to the above user and check.
Prior to this, Did you try retrieving them using 'retrievesinglealert' method?