Skip to main content
I want to create a flow or process that only runs in the sandbox environment. I want to create it in Production so that whenever I create a sandbox it is there but I do not want it to be able to run in Production. ie. the first step will be to check the environment type.
4 answers
  1. Feb 27, 2024, 1:31 PM

    +1 Sakthivel's response. The query can be run directly in a flow, no need for apex. You can get the organisation Id from the flow global variables.

0/9000