Best Practice for Managing Config Files Across Multiple Environments?

Hello UiPath Community

I’m currently working on a project that needs to run across DEV, UAT, and PROD environments via Orchestrator, and I’m looking for a scalable approach to managing config files.

I’ve used the REFramework Config.xlsx in past projects, but now I’d like to avoid hardcoded values and excessive duplication when switching environments.

What are some best practices for:

  • Storing and retrieving environment-specific values (e.g. URLs, credentials, toggles)?

  • Centralizing configuration via Orchestrator assets vs using JSON/config libraries?

  • Keeping devs from accidentally pushing PROD secrets into version control?

Bonus: Any sample projects or community templates that follow these patterns?

Thanks in advance for any insight or approaches you’re using successfully in your setups.

— jhonnmick
:growing_heart:

Hi Jhonnmick,

Great question! Here’s a concise approach for managing configs across DEV, UAT, and PROD:

Best Practices

  • Use Orchestrator Assets: Store environment-specific values (URLs, credentials, toggles) in assets with the same name across folders (DEV/UAT/PROD). This avoids hardcoding and duplication.
  • Hybrid Config: Use JSON or Config.xlsx for static values + Orchestrator Assets for secrets and env-specific data.
  • Secure Secrets: Use Credential Assets. Avoid committing secrets by .gitignore-ing config files and using templates (Config.Template.xlsx).
1 Like

Hello,

My advice is to ditch the Excel config entirely and the config dictionary variable / argument.

Instead, when you need to use a dynamic value, such as the URL to a website you want to open, just use the Get Asset activity to get the asset immediately before using it.

The Config.xlsx approach is, in my opinion, a legacy mindset from when UiPath was in its infancy.

If you do this, you can then leverage Solutions Management or Unified build to package your process together with any assets or queues, which makes it easy to transfer all of them between tenants.

1 Like