Need help in understanding how to use feature toggles in Pega 8 to hide experimental code from production users

Does anyone know how to use Pega feature toggles to hide experimental development codes in the production environment?

We have some code in a particular RSV which we want to move to production. But we don’t want our users to access it just yet. So we want to hide it behind a feature toggle. I did create a toggle from the Toggle management page with ”This toggle has an associated when rule created in ” the RSV selected. Also, I disabled the toggle instance. This generated a toggle when rule now returns false (as the toggle is disabled).

Now, how should we include this toggle in all my rule types (I have activities, Data transforms, UI screens, flows, etc). Do I need to manually include this when rule in all the above experimental rules?

@DexterAbhishek91 good morning, unfortunately if you need to conditionalize code in different rules, i would say you need to include the when rule associated to the Toggle in all the places you need to hide this experimental code. Hope this helps.