We are using deployment manager 4.8 for the deployments through CI/CD pipeline, while sending email notifications for the deployment approval manual task approve/reject buttons are not available to approve through email.
while calling pyCascadingGetApproval flow, ‘EmailApproval’ parameter is set to true (please find the attachment for the screenshot)
I see pyEmailApprovalActions correspondence is referencing pzEmailDMAction which has approve/ reject buttons but we still don’t see these buttons available in the notification for the email approval.
Also when we click on approve button and reply to email does it resume the deployment ?
When a manual task is added in Pipeline , DM send two emails (1 which you have attached) and also another email with the Accept / Reject Buttons. Check if you have got another email.
For resume/stop the deployment , check the Email listener “DMEmailListener” which has email account “Pega-Pipeline-CD” . Now configure your email account here.
The solutions that we found for sending approve/ reject buttons in the email is we have to check checkbox for “Operator is available to receive work”, after checking this we are able to receive the notifications with approve/reject buttons in it.
But when we click on approve/reject button, reply to field is empty and not sure what we need to do to get it auto populated to reply the email and approve/reject the deployment.
Thanks for your response, after selecting “Operator is available to receive work” under operator settings we are able to receive approve/reject buttons in the email.
We have already configure the email account in the email listener, please find the attached screen shot.
Thanks for informing us about the Email buttons fix.
Regarding Email To field, Check the below and Please do correct me if I am wrong.
SendSimpleEmail utility is responsible for sending the email.
Inside the SendSimpleEmail , getEmailSenderInfo utility is called to decide which Email account to use to send the email.
Inside this we have Datatransform pySetNotifyParameters which set the Param.ReplyTo.
This Param.ReplyTo is passed to the HTML section pzDMEmailActions.
So trace the getEmailSenderInfo utility and check if the ReplyTo parameter is set . Also check the Obj-open in first step . For my case, it getting the data from Pega-Pipeline-CD . If this Email Account does not exist . It takes the data from Default Account. Make sure you configure the same account details in Default account too.
I have checked email account and there reply to section is empty and I have updated sender email as reply to address but it didn’t work. do we have to do email listener configurations for this to work?
@AnushaB52 , We have modified three email accounts with same email address . 1) Default 2) Pega-Pipeline-CD 3)Pega-Pipeline-DataSync . All three email account have an reply to filled with same email address in sender.
DMEmailListener should handle the email listener configurations.
once you approve/reject through mail does it resume the DM task from Manual Approval step to next task? It’s not happening in my scenario, I had to go to DM and approve the task to resume deployment from approval task to next task
Once you approve/reject through mail automatically deployment gets resumed or errors out based on your action.
If this not happening
Make sure Receiver section in email account has been filled with right email ID you want to monitor. Because email listeners monitor and pull emails from the inbox that you specify in the Receiver section of an email account record.
Make sure DMEmailListener is running by checking on Admin studio.
Post this also if you are facing any issue check on logs and give us if you are seeing any exception.
I have updated authentication profiles passwords and candidate system configurations are already implemented. However I still see the issue and uploaded the logs in the incident.