Debug or production environment

Hi fellows UiPathers

Is there any way to get the execution environment?

I explain myself, I want to add a flow decision and there evaluate if it’s executing on debug. Some processes send emails and when I’m resolving issues I need to skip this steps; I know I can change the workflow but sometimes I forget to restore the workflow properly.

Thanks a lot

It’s better practice to have an asset, indicating weather the robot should send or not the emails. This work as long as you have Orchestrator production and development environments.