Close popover
Deepak Raghul R (Deepak1907)
System Architect
Pegasystems Inc.
Deepak1907 Member since 2018 1 post
Posted: March 6, 2020
Last activity: March 9, 2020

How to customize the report schedule pyActionSendMail activity to change the Email account other than Default

The OOTB Report Schedule functionality uses the ScheduleTaskProcessor Standard agent which has pzScheduledTaskProcessor final activity, this calls pyTaskOutputProcessor activity which invokes pyActionSendMail  . This activity sends the email with the report as an attachment, but in this OOTB activity in step 9 the email account name is hardcoded to default, but the requirement is to use a new email account other than the default(say "PegaMKT-Work"). This activity pyActionSendMail is "Available" but when we try to customize this in our application-specific ruleset, the agent is still taking the OOTB activity but not the customized one.

How to customize this activity to make this change so that the agent will pick the customized activity? or is there any other way to change the email account name for the Report Schedule?

Thanks in Advance :) 

Pega Platform 8.2.1 Reporting Communications and Media System Architect