CDAP SMTP email sending question

66 views
Skip to first unread message

Francisco Vidal Cabrita Carneiro

unread,
Apr 14, 2021, 6:00:51 AM4/14/21
to cdap...@googlegroups.com
Hello,

This question concerns sending an email post-run action and was posted here: https://cdap.atlassian.net/wiki/spaces/DOCS/pages/688029749/Send+Email+Post-run+Action 

If I set run condition to failure and I want to send the pipeline logs as an argument to the email message body, how can I do this?

Likewise, say for example I have counted the number of records processed that produced errors, how can I save this counted value as a runtime argument and send it in the email body?

Thank you in advance

Venudhar Ravishankar

unread,
Apr 14, 2021, 3:59:31 PM4/14/21
to CDAP User
Hi,

Thanks for asking. I know you can make an HTTP action to request the pipeline logs, but I don't think this would work directly from the email action.

Reply all
Reply to author
Forward
0 new messages