function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Anthony GrantAnthony Grant 

Check if a critical update has been enabled via apex code.

I know you can go to the Critical Updates screen in Setup to see the list of available updates, but what I'd like to know is if there is any way you can check if a critical update has been enabled via apex code?

Thanks
Tony
 
sfdcMonkey.comsfdcMonkey.com
Hi Anthony,
No, we can not access the critical updates API in apex code :
you can vote for this idea here :
https://success.salesforce.com/ideaView?id=0873A0000003SPUQA2

i hope it helps you.
  kindly Let me inform if it helps you and close your query by choosing best answer if you got your answer so it can helps others in future
thanks
sfdcmonkey.com