Getting RUN_ID

Is there a way to get RUN_ID and ROOT_RUN_ID of a graph without converting the code to JAVA?

The docs in this link http://doc.cloveretl.com/documentation/UserGuide/index.jsp?topic=/com.cloveretl.gui.docs/docs/functions-reference-ctl2.html shows how to get RUN_ID using JAVA but I was hoping there’s a way to get RUN_ID using CTL.

Thank you,
Shubha

Hi sshrestha,

Of course, RUN_ID and ROOT_RUN_ID are both parameter values that can be access using CTL. You use getParmValue(“”) to extract the current RUN_ID and ROOT_RUN_ID of the job you are running.

That worked :). Thank you for you quick reply.

-Shubha