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!
Discussion posts and replies are publicly visible
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.
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
Thank you to both Danny and Peter, their answers fixed my problem.