Reference Configuration Variables in Workflows

I can't seem to reference my configuration variables in Workflows python codeblocks. I know that the documentation doesn't say you can actually do this I tried both options and predictably got errors.

I tried both methods
{{retoolContext.configVars.YOUR_VAR_NAME}}
retoolContext not defined

{{ environment.variables.YOUR_VAR_NAME }}
environment not defined

is there a plan to add the ability to reference secrets in workflow code blocks?

1 Like

Hey @Roei! There aren't specific plans yet but it is a feature that's being tracked, if it gets included we can let you know here :slightly_smiling_face:

+1 for configuration variables in workflows.