Skip to main content
November 22, 2023
Question

send email service

  • November 22, 2023
  • 10 replies
  • 0 views

In send email service , i want to send some message along with deep link . when we get that email and upon clicking on that deep link it should redirect to the summary page for approval.

can someone help me how to achieve this

    10 replies

    November 22, 2023

    Try to create a email body using HTML template with the required details along with record link in it (record link should be provided using <a href = record link which you have created>),

    create record link by passing the request id to it, so that when you click on the link it will navigate to the summary page of the request.

    /*provide the record name and the record value which you wanted to open */
    urlforrecord(recordType!record, ri!requestId)

    sabat0002Author
    November 22, 2023

     [mention:b193ec7b482d482b93cb9da3112fca42:e9ed411860ed4f2ba0265705b8793d05] 




    is this the way?

    i'm getting error,can you please help

    sriramk5349
    November 22, 2023

    Hi [mention:85ca6a2722324ac4b08c9eda0b5e1851:e9ed411860ed4f2ba0265705b8793d05] ,

    urlForRecord is function and it shouldnt be called inside quotes as Appian will think them as text and not as function to be executed and keep & to get concatenation.

    "<a href = "& urlforrecord( recordtype: /*your recordType*/, recordIds:/* your primary key*/ ) &"> Summary</a>"

    konduruc733182
    November 27, 2023

    Hello sabat0002,

    Could you please share your complete template that is being used for the Send Email Smart Service.