Skip to main content
August 12, 2021
Question

Send E-Mail Smart Servic

  • August 12, 2021
  • 3 replies
  • 0 views

My use case: "Implement a related action. The related action will send an email. The list of recipients is inputted by the user. The subject line is inputted by the user. The body text is inputted by the user. These user inputs are captured after submitting a form interface" 

I am using the "Send E-Mail" smart service. I am passing recipientsList, emailBody, and subjectLine text values as inputs to the process model. 

How can I use these process variables in the Send E-Mail smart service node?

I can't seem to figure this out!

    3 replies

    danny.verb
    August 12, 2021

    Next to each field in the Send E-Mail smart service node there is a little pencil box that allows you to open an Appian expression editor. With that editor, you can reference your process variables. 

    For the recipients' list, you might need to cast the list using fn!toemailrecipients() otherwise you might get a runtime error.

    peter.lewis
    Employee
    August 12, 2021

    Danny is absolutely correct, but if you're still having trouble please post some screenshots of what you see so we can make the best recommendations to help you [emoticon:c4563cd7d5574777a71c318021cbbcc8]