Since 3.0 only specified properties from a "source" job are passed to executed job by default. There is a "graph.pass_event_params_to_graph_in_old_style" server config property which can change this behavior so that ALL parameters from a "source" job are passed to the executed job. This switch is implemented for backwards compatibility. Regarding to the default behaviour: in the editor of graph event listener, you can specify a list of parameters to pass. Please see Start a Graph for details.
The following parameters with current values are always passed to the target job
Table 19.3. passed parameters
key | description |
---|---|
EVENT_RUN_SANDBOX | Sandbox with the graph which is source of the event |
EVENT_JOB_EVENT_TYPE | GRAPH_STARTED | GRAPH_FINISHED | GRAPH_ERROR | GRAPH_ABORTED | GRAPH_TIMEOUT | GRAPH_STATUS_UNKNOWN, analogically JOBFLOW_* for jobflow event listeners. |
EVENT_RUN_JOB_FILE | jobFile of the job which is source of the event |
EVENT_RUN_ID | ID of the graph execution which is source of the event. |
EVENT_TIMEOUT | Number of milliseconds which specifies interval of timeout. Makes sense only for "timeout" graph event. |
EVENT_RUN_RESULT | Result (or current status) of the execution which is source of the event. |
EVENT_USERNAME | User who "owns" the event. For graph events it is the user who created the graph event listener |