Service studio Version 11.54.31
Currently I'm doing email reminder using a timer so the email content is included the url link for each case.
To get the current url, I used ( GetRequestDomain() ):
"https:// "+GetRequestDomain()+"/"+GetEntryEspaceName() + "/CaseDetail?CaseId=" + CaseId
But this url is not working when the email reminder is sent using timer. The url is resulted (127.0.0.1):
https://127.0.0.1/*****
Hi @Jia Wen Loo ,
You will not get domain url using GetRequestDomain() action in timer as this is the background process, I would suggest you to create one site property and set domain url manually for each environment and use this site property inside timer.
Hope it helps you
Thanks
Arun
Thanks for answering me.
Hi @Jia Wen Loo, in the email body, please try to put the link simply as: "/"+GetEntryEspaceName() + "/CaseDetail?CaseId=" + CaseId. As I remember, OS will automatically resolve the domain before the first "/" for us. Hope this help.