Chapter 17. Graph parameters

CloverETL Server passes set of parameters for each graph execution. Please keep in mind, that placeholders ${paramName} are resolved only during loading of graph XML, so if you need placeholders resolving for each graph execution, graph cannot be pooled. However current parameter values are always accessible by inline java code like this:

String runId = getGraph().getGraphProperties().getProperty("RUN_ID");

Properties may be added or replaced like this:

getGraph().getGraphProperties().setProperty("new_property", value );

This is set of parameters which are always set by CloverETL Server:

Table 17.1. Defaults for graph execution configuration - see section Graph config properties for details

keydescription
SANDBOX_CODECode of sandbox which contains executed graph.
GRAPH_FILEPath to the graph file, relative to sandbox root path. It is often referred as "graphId".
SANDBOX_ROOTAbsolute path sandbox root.
RUN_IDID of the graph execution. In standalone mode or in cluster mode, it is always unique. It may be lower then 0 value, if the run record isn't persistent. See "Launch Services" for details.