so I was wondering how to tackle quite common scenario where we have a process running nice in Test environment and when moving to production we realize some fields have different names, or we need to skip some steps etc. If to adjust the code to production then it won’t be working on testing environment.
So I thought about creating an If condition based on the environment. In my case environments are layered by respective Tenants in Orchestrator. So conveniently the best way would be to retrieve somehow the tenant name within the process and check it.
Is there a way how to do it? Thank you!
update: I actually find a neat solution, to have Asset in both environments with same name, that will store the environment name. Like asset “environment”. In testing it would have value “testing” and likewise in production. But - anyways - is there a way to retrieve Tenant?