Salesforce Developer Console/SOQL Tutorial

 Please do continue to like, share and subscribe sfdconestop Youtube channel, if you find the Salesforce tutorials(100+ Video's) to be informative!!
▶️Subscribe:  https://www.youtube.com/c/sfdconestop
👉 https://sfdconestop.blogspot.com/
👀 Follow us on Linkedin : https://www.linkedin.com/company/sfdconestop

Review Developer Console Tutorial here


 

Execute scheduler class from developer console execute anonymous window
"schedulerclassName" p=new
schedulerclassName();
String sch = '0 19 17 * * ?'; //schedule interval time(
batch jobs runs 5:19pm today)    system.schedule('One Time Pro', sch, p); //system method to schedule apex class

************************************************************************

Execute batch class from developer console execute anonymous window - 
batchclassName b = new batchclassName();
database.executeBatch(b);

 

Review SOQL Tutorial here

SOQL to get user details - 

From dev console you can run this query - select id,username,email from user

select id,username,email from user

select id,username,email from user where email='sfdconestop@gmail.com' and id='key in 005 user id here'

select id, username from user where id in (select userId from userLogin where isPasswordLocked=true)

No comments:

Post a Comment