How am I able to turn on the visibility for transaction security? I am trying to test an apex class that implements TxnSecurity.PolicyCondition and according to this article to be able to see these types of classes we need to enable Transaction Security from the quick find box. As you can see from my picture, Transaction Security does not come up in my search. I have checked permissions and profiles and there doesn't seem to be a place to enable or disable the visibility of this.

What step am I missing to be able to see Transaction Security in the quick find box so I am able to enable it?

The scratch org is an Enterprise Edition


enter image description here


They are enabled if you add the (slightly misleadingly named) EventLogFile Feature into your scratch org definition file.

It's not documented as such, but I just tested it. All the features can be found here: https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_scratch_orgs_def_file_config_values.htm

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.