2
I have a template that sends an email at the end, on the extra, and I’m having trouble getting it.
The email sending code is the:
sendMail(<advogadoDoCaso.emailAdvResponsavel>, “Atenção, já está disponível a prévia com testemunhas do processo nº ” & <dadosDoProcesso.numerodoprocesso> & “. \b\b Acesse ” & documentInfo(<docInfo.link>, “pdf”) & ” e visualize o documento.”)
The struct of docInfo is this:
-<docInfo> : struct[DocumentInfo] {
fields {
+[link] : String
}
}
I have tried several ways, how to call documentInfo outside sendemail, but I am not able to make it work, because the email is sent with the blank field, as if there is no link
Thanks @Luan, your answer is correct, thank you very much!
– atGuz
How great it worked for you, @atGuz!
– Luan Naufal