Image not found when generating correspondence via CEP agent
Team is using the SystemEventEvaluation agent to process event definitions that send out an update notification email to subscribers when a subscribed request is updated.
The event definition specifies that activity NotifyAccountSubscribers is called with an access group of Administrator rights, and tracer shows the correct rules are executed. The correspondence record contains an email header banner in the form of an image and this image is not accessed by the process, so that when the email is generated it has a red X where the image should be.
The same correspondence is generated correctly, including the banner image, when run outside the SystemEvent Evaluation process.
The banner image is found if the application on the access group PRPC:EventProcessing is updated to use the current appllication i.e. Development:01-01-01 rather than default Administrator applciation, which should not have to do.
The banner_email image is saved in Development:01-01-01 ruleset and Development:01-01-01 use DevelopmentTask rule-set.
When running agent using default Administrator access group, it does find all the other rules in DevelopmentTask that it needs.
Image is not displayed in an Email generated via SystemEventEvaluation agent when default Administrator application is used in PRPC: EventProcessing
<img alt="" class"yui-img" scr="webwb/gcsbanneremail.jpg">
Image is displayed in an Email generated via SystemEventEvaluation agent when Development:01-01-01 application is used in PRPC: EventProcessing
<img alt="" class"yui-img" scr="cid:webwb/gcsbanneremail.jpg">
Steps to Reproduce
Update a request for an account for which a subscription event definition exists, by adding an note.
Inspect the email that is produced to find missing image.
The root cause of this problem is that RequestorHashInformation does not get populated when using runActivityAsTenant.
This issue is scheduled to be resolved in Pega 7.1.8.
Published June 12, 2015 - Updated October 8, 2020
Was this useful?
0% found this useful
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.