The idea of criteria script is to allow specific claims to be used inside AppGate. Letās take the below use case to understand the criteria script more in depth.
Example
You are an AppGate admin and want to start using AppGate client auto-update feature, however you want to enable that feature to specific group in your AD, to make sure the new version of AppGate client work as expected and then roll out to everyone. You can achieve that easily with criteria script.
From admin UI navigate to AccessāCriteria Scripts
Click Add New and put any convenient name.
Under assignment put any criteria you want to test; in this example we are using an AD group called Test_Group so our criteria scripts look as below

Click Save
All you need now to is enable client auto-update feature and assign it to the above criteria script as below

Now the client auto update is enabled ONLY to the Test_Group AD users and NOT everyone.