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)?
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
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
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.