Empty `retoolContext` object and no availability of environment variables

I am a Retool Business user and am trying to build some workflows that leverage config variables, secret values being of particular interest. At this point. I have several test variables configured, but I am unable to reference any of them, be it in Workflows or in Apps. In fact, my entire retoolContext resolves as an empty object. It contains no data whatsoever. Does anybody know what might be causing this to happen?

1 Like

Hi @nicksempere - welcome to the community!

Are you running a cloud or self-hosted instance of Retool? If the latter, do you know which version? On older versions, in particular, I've seen issues when it comes to accessing retoolContext from within a workflow. Have you verified that you're able to access those same configuration variables from within the app editor?

Hi @Darren, thanks for the warm welcome!

I'm running a self-hosted instance. Don't have the versioning on me, but can track it down. We update retool on a regular cadence though, so it shouldn't be more than a couple quarters off the latest stable release. Neither the app editor nor workflows seem to resolve the retoolContext, sadly.

Of course! :slightly_smiling_face: If you're using a version from before the release of 3.52-stable, it's possible that you wouldn't have access to configuration variables from within workflows. I've just forcefully enabled a couple of feature flags for your license key that should fix this, assuming it's a versioning issue in the first place.

Can you refresh your license key via the "Settings => Advanced" menu and give it another shot? I'll do some more research, in the meantime, to figure out what else might be going on.

1 Like

Thanks very much!

1 Like