Question
Glidewell Laboratories
US
Last activity: 25 Jun 2021 13:42 EDT
Approve/Reject buttons are not available in email notification of Approve deployment manual task DevOps
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 ?
Can someone help me in this?
Please find the attached email screen shots.
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Updated: 25 Jun 2021 13:42 EDT
Glidewell Laboratories
US
Thank you @Goutham. Yes, It's resolved after importing ListenerIssue & ListenerBug branches.
Updated: 3 Jun 2021 16:02 EDT
Areteans Tech
AU
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.
Glidewell Laboratories
US
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.
Glidewell Laboratories
US
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.
Can someone help me in this?
Areteans Tech
AU
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.
Let us know if this works !!
Glidewell Laboratories
US
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?
Areteans Tech
AU
@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.
Glidewell Laboratories
US
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
Pegasystems Inc.
IN
Hi @AnushaB52
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.
Glidewell Laboratories
US
I have verified the receiver section in the email account and Email listener configurations, everything looks good.
I also verified the DMEmailListener status in Admin studio, it is up and running.
I have also set up the DSS 'OrchestratorURL' (Ruleset: Pega-DeploymentManager) in DM
How ever we still see failure at publish to production repository task with below error after we approve the deployment through email.
"Error: The service URL /PRRestService/cicd/v1/task/publish does not start with a protocol and hostname"
Could you please help in this?
Pegasystems Inc.
IN
@AnushaB52 We have updated the incident with few instructions, please check that and see if that is resolving the issue.
Glidewell Laboratories
US
Hi @Goutham,
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.
Thanks,
Anusha
Pegasystems Inc.
IN
@AnushaB52 I think the issue is resolved right after importing the branch ? this is already addressed in latest version of DM 5.x series.
Accepted Solution
Updated: 25 Jun 2021 13:42 EDT
Glidewell Laboratories
US
Thank you @Goutham. Yes, It's resolved after importing ListenerIssue & ListenerBug branches.
-
Udhaykumar A