Groovy On Event Listener

Support questions related to CloverDXServer

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 ..


Posts: 142
Joined: Tue Sep 01, 2015 1:22 pm

Re: Groovy On Event Listener

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


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

Visit us online at