Skip to main content

Short question here: I'm creating a debug step that writes to a database table. In that I would like to put the name (or path?) of the component that was running. Is there some kind of system variable (similar to $ewf_workflow_id in workflows)?

 

Hi @Marcel-Jan,

unfortunately for plans and components there is no such system variable.

You can always “hard-code” your context to the JDBC writer step, or alternatively, you can convert the step into a reusable “debug output” component where the log source of the debug would be parametrized. Such a configuration would allow you to dynamically change the “source” and still log to the same debug table, or you could build a more complicated debug logic component distributing the debug records based on your defined criteria to various outputs.

Hope this helps you move forward.

Petr


Reply