Display Graph Parameters in Event Listener Email

Support/help with CloverETL implementation problems

dflkid
Posts: 20
Joined: Mon Feb 23, 2015 8:57 am

Display Graph Parameters in Event Listener Email

Postby dflkid » Fri May 26, 2017 6:34 am

I have an event listener that sends me an email when a certain graph errors out. There is a graph parameter that I'd like to display the value of in the error email that is sent to me. Is there a way to do this? The placeholders that can be used in emails is not very well documented, so it's difficult to understand what variables are available to use.

Thanks,
Andrew

jandikovae
Posts: 23
Joined: Fri Nov 04, 2016 8:51 am

Re: Display Graph Parameters in Event Listener Email

Postby jandikovae » Fri Jun 02, 2017 10:16 am

Hi,

I suppose that you are referring to Send an email and Placeholders chapters in the documentation that seem incomplete to you. And you are right, passing the graph parameters is not literally mentioned there and it is definitely a good idea to improve that.

If you want to display a graph parameter in an email sent as a response to a job execution, you can simply add a line to the HTML email definition:

Code: Select all

<p>AnyName: ${PARAM1}</p>


Where PARAM1 is the name of the parameter as it is defined in the "Edit graph parameters" screen in the Designer. In the resulting email, you will then see whatever is the value od the PARAM1 parameter. In my example graph it is e.g.:

AnyName: Hello World!

Please let me know in case I have misunderstood your question.

Thanks,
Eva
---
Eva Jandikova
CloverCARE Support
CloverETL | Rapid Data Integration

Visit us online at http://www.cloveretl.com
How to speed up communication with CloverCARE support


cron