Groovy On Event Listener

Support questions related to CloverETL Server

CloverDM
Posts: 12
Joined: Wed Jan 27, 2016 12:22 pm

Groovy On Event Listener

Postby CloverDM » Mon Mar 07, 2016 11:59 am

Hello There,

I have a listener ,which is a Groovy code which will be triggered when a JOB flow finished .
How can i get that executed Job flow run Id in groovy code , Please help me ..

Thanks
:roll:

cholastal
Posts: 107
Joined: Tue Sep 01, 2015 1:22 pm

Re: Groovy On Event Listener

Postby cholastal » Tue Mar 08, 2016 3:51 pm

Hi

Basically, you can obtain Run ID via the RunRecord object on which you can call getID() method. You can find an intuitive example in our documentation (Execute Groovy Code part). There are also other variables/objects described there.

Best regards
---
Lukas Cholasta
CloverCARE Support
CloverETL | Rapid Data Integration

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


cron