Here's one way to do it. I've attached the TestValueGroup.zip that you can import if you want to try my example. See end of this article for how to try my example.
The example uses activity pre-conditions to verify that the value group pairs of interest have the desired values. Using your example as a reference, here's how my TestValueGroup activity verifies the values:
Here's the setup of the data for the "good" case:
Here's the "bad" data (notice that the second value is set to "true" this time):
If you want to try my example, use your Pega developer portal to import the attached TestValueGroup.zip, and try it using these steps:
1) Log in as user pegasupport password install.
2) In the SetUpData activity, set the values as shown in my "good" data picture above, and then run it, and then run the TestData activity and make sure it acknowledges that the data is good.
3) Change the SetUpData activity so the values are as shown in my "bad" data picture above, then run it again, and run the TestData activity again to make sure it acknowledges that the data is NOT good.