Can I get a result from the standard 'Send Email' action?

  • 1
  • Question
  • Updated 7 months ago
  • Answered
I am sending an email using the standard 'Send Email' Action. This is from a skuid page embedded within a lightning component.

I would like to continue with more actions, ONLY if the email was successfully sent.

Is there a way to validate whether the Send Email action has succeeded or not?

Photo of Greg Jarrett

Greg Jarrett

  • 3,496 Points 3k badge 2x thumb

Posted 7 months ago

  • 1
Photo of Bill McCullough

Bill McCullough, Champion

  • 12,436 Points 10k badge 2x thumb
Greg,

This post applies to invocable actions.  I am not sure if the Send Email Action is an 'invocable action', but there is a 'merge' variable you can try to see if it works:

{{$PreviousAction.result.OUTPUT_VARIABLE_NAME}}

https://community.skuid.com/skuid/topics/capture-apex-action-invocable-response

Thanks,

Bill
Photo of Greg Jarrett

Greg Jarrett

  • 3,496 Points 3k badge 2x thumb
Cheers Bill, I couldn't seem to get anything to work there, and I'm not even sure if the 'Send Email' action returns a response of any sort. For now we have gone with cc'ing the current user so that they know the email has been sent. Not an ideal solution but it will work for now.

Thanks.