
Surbhi Sharma
Individual-
Deepak and
Surbhi are now connected 8 years ago
-
Manpreet and
Surbhi are now connected 8 years ago
-
venkatesh and
Surbhi are now connected 8 years ago
-
Suraj and
Surbhi are now connected 8 years ago
-
srikanth and
Surbhi are now connected 8 years ago
-
Shaik and
Surbhi are now connected 8 years ago
-
Sabareesh Sahari and
Surbhi are now connected 8 years ago
-
Rohit and
Surbhi are now connected 8 years ago
-
Regula and
Surbhi are now connected 8 years ago
-
Rajesh and
Surbhi are now connected 8 years ago
-
Puneet and
Surbhi are now connected 8 years ago
-
Rene and
Surbhi are now connected 8 years ago
-
Prasad and
Surbhi are now connected 8 years ago
-
gouthami and
Surbhi are now connected 8 years ago
-
Abhinav and
Surbhi are now connected 8 years ago
-
Hi Pranav,
If you are using workflow email alerts to send emails, then you can set email as CC from email alert. If you are sending from code, then you can use setBccAddresses(bccAddresses) and setCcAddresses(ccAddresses) from SingleEmailMessage Methods.
Thanks
-
Surbhi replied to the discussion How can I get 'Recent Items' object Ids in Salesforce Apex (soql) is it possible? in the forum Salesforce® Discussions 8 years ago
Reply to How can I get 'Recent Items' object Ids in Salesforce Apex (soql) is it possible?
Hi Tanu,
Below is the SOQL sample query:
SELECT Id, Name FROM RecentlyViewed WHERE Type IN ('Account', 'Contact') ORDER BY LastViewedDate DESC
Thanks
-
Surbhi replied to the discussion Post Install Script in Salesforce for deleting custom object data in the forum Salesforce® Discussions 8 years ago
Reply to Post Install Script in Salesforce for deleting custom object data
Hi Bhavesh,
In the for loop, where you are deleting the record, you are performing DML operation inside the for loop and we can perform only limited DML operation in a thread.
Instead of deleting this in for loop, you can add the records to a list and then delete that list. But as you are querying the custom object data into a list, then… Read more
-
Surbhi replied to the discussion In Salesforce, how can I tell the day of the week on a date? in the forum Salesforce® Discussions 8 years ago
Reply to In Salesforce, how can I tell the day of the week on a date?
Hi Mohit,
You can try the below code:
Datetime dt = DateTime.newInstance(Date.today(), Time.newInstance(0, 0, 0, 0));
String dayOfWeek=dt.format('EEEE');
System.debug('Day : ' + dayOfWeek);Thanks
-
Surbhi replied to the discussion How can we schedule a class to run every 30 min in Salesforce? in the forum Salesforce® Discussions 8 years ago
Reply to How can we schedule a class to run every 30 min in Salesforce?
Hi Mohit,
You can try below code:
system.schedule('Scheduled hourly job ', '0 0 0/1 1/1 * ? *', new NameOfBatchClassScheduler());
system.schedule('Scheduled hourly job', '0 30 0/1 1/1 * ? *', new NameOfBatchClassScheduler());The first will schedule class for i.e. 10:00 , 11: 00,...etc. and the second will for i.e. 10:30, 11:30,.. etc.
Thanks
- Load More