I am creating a workflow to send an email. The ema...
# suitescript
a
I am creating a workflow to send an email. The email body looks like below. Which has a project Record link. Is it possible to change the text of the link from "Project Recrod" to actualy ID of the project record. It should be something like 'PR1234' instead of Projec Recrod as url link text ?? <span style="font-size11.0pt;line height107%; font-family&amp;quot;Calibri&amp;quot;,sans serif;mso fareast font family&quot;Times New Roman&quot;; mso-ansi-languageEN US;mso fareast languageEN-US;mso-bidi-language:AR-SA">A new Plan Amendment project is awaiting assignment of an Ops Processing resource.&nbsp; Click the link below to be taken directly to the project record for more information.Client ID {job.custentity_ret_client_id_project}</span> <a href='/app/accounting/project/project.nl?id={job.internalid}' >Project Record </a>
j
have you tried updating the last line to this
Copy code
<a href='/app/accounting/project/project.nl?id={job.internalid}' > PR{job.internalid} </a>
a
Yes i tried but its not working. @jeffmillies
j
Does it give you an error?
Also does that link bring to the actual record or no
a
it doesn't gave me any error but instead i don't see any link in email. so complete link is disappearing. @jeffmillies
j
Oh, I think I see where the issue is. I believe you need a '$' infront of the curly bracket
Copy code
<a href='/app/accounting/project/project.nl?id=${job.internalid}' > PR${job.internalid} </a>
you'll also might need to update this one
Copy code
the project record for more information.Client ID ${job.custentity_ret_client_id_project}
a
Perfect It worked. Thanks @jeffmillies.
👍 1