Lekha
(Lekha Chandra Putcha)
November 4, 2022, 8:44am
1
Hi!
We have a requirement that while sending an email to a client, we will also send a link in that email.
That link should be expired after one hour.
For instance, client receives an mail at 2:30 P.M, he can access that link until 3:30 P.M.
after 3:30P.M., he will not be allowed to use that link.
How to get this requirement.
Thank you.
@Lekha
You can make use of Direct Web Access (DWA) to achieve this requirement.
In DWA we are having OOTB capability to mention the link expiry time.
Please refer below mentioned article to know more about DWA implementation.
Configure Direct Web Access in Pega: - Pega Tech (pegateck.com)
@Gunasekaran_Baskaran
But its accepting only Days to expire , how to do it for an hour.
@KrishnaMohanK2527 Sorry I missed that. Please give a try by mentioning 0.1 as an input for days to expire.
Lekha
(Lekha Chandra Putcha)
January 10, 2023, 11:09am
5
@Lekha
I resolved this problem.
Solution is as follows.
Sending expiration time along with email link. [expiration time= current time+60 mins]
While loading, calculate the time difference between expiration time and loading time.
If the difference is less than 60 minutes, link will lead to a harness for user interactions.
If not, link has expired message will display.
YaswanthD
(Yaswanth Devabhakthini)
August 15, 2023, 5:43pm
6
@Lekha Hi Lekha, I too have a similar requirement to fulfill and looking for ways on how can we set the expriy to the link. Can you please give more information on how you achieved it ? Also, are you using DWA as a solution ?
Lekha
(Lekha Chandra Putcha)
August 17, 2023, 11:12am
7
Hi @YaswanthD !
Please go through attached one. It might be helpful.
Complete one hour email link.docx (1.22 MB)