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
Sohel Shaikh 23Sohel Shaikh 23 

System.URL.getSalesforceBaseUrl() is not working

System.URL.getSalesforceBaseUrl() was not working yesterday night.
But when I executed the statement again next day it worked.
It seems salesforce is unpredictable sometimes. 
Want to know why this had happened?