Mark rules for Dev only
How can I mark rules in Dev so as not to be carried over to Prod or be 'inactive' in Production.
For example, let's say I have Activity 'SampleRun' in Dev that can go to UAT and QA env but should not be applicable for PRD env.
Some approaches:
1. Save the activity in a different ruleset and omit this ruleset when creating RAP for PRD, or delete from PRD once deployed.
Cons: Manual decision when creating/deploying RAP
2. The first step of activity checks the env and if 'PRD' then exit immediately.
How to check environment type without depending on the machine name?
Is there a flag set in Pega that indicates if DEV or PRD env?
3. Alternative?
Thanks