How to write a Schedulable Apex Batch Class
Introduction In this article, we will learn how to schedule an apex Batch Class in Salesforce without creating multiple classes. Apex Code
Introduction In this article, we will learn how to schedule an apex Batch Class in Salesforce without creating multiple classes. Apex Code
Introduction You might have stumbled up upon a requirement to know the apex class behind the scheduled job (or even apex job) which is found under Setup >> Scheduled Job and this does not show the name of Apex. Solution
Description This error may take place in Apex while updating the records. Reason When we update the record, the record must be existing in the database – means there should be Record Id and it should be specfied. The above given code will throw error as Id is not mentioned. The above given code will …
Error: MISSING_ARGUMENT, Id not specified in an update call: [] Read More »
GOAL SOLUTION GET OBJECT API NAME BASED ON RECORD ID GET OBJECT KEY PREFIX BASED ON OBJECT API NAME
Description Yes, it’s Salesforce restriction, as Formula fields are not indexed and groupable, query will become very slow; so Salesforce does not allow group in SOQL. Workaround
PROBLEM DEFINITION This error takes place when flow runs in the context of a Guest User – like Record is being created from public site or public webhook etc. SOLUTION This happens because Guest User is not allowed to create chatter post i.e. Feed Post. There are possible below approaches: 1) Using Platform Event : Guest user …
WHEN IT OCCURS It takes place in HTTP callout made from Apex. If you’re getting a Read Time Out, it means the service is not returning data in a timely manner. There’s nothing you can do on this end specifically; you need to contact the provider of this API. You may need to increase the …
Styling hooks became generally available in the Spring ’22 release, introducing a new realm of customization possibilities for Lightning base components and beyond. Styling hooks reached General Availability in the Spring ’22 release, and this enhancement paves the way for extensive customization of Lightning base components and beyond. Leveraging styling hooks, you can effortlessly transform …
We have a need to dispatch an email alert to users following a span of 4 business hours from the Task Creation Date. Our designated business hours span from 7 am to 5 pm, Monday through Friday. For instance, if a Task is initiated at 4 pm on a Monday, we aim to send the …
Create a new article Publish a draft Article Set a schedule for archiving a published article “Please be aware that if the scheduledDate is left blank or set as null, the article will be archived right away.” Abort the scheduled archiving of a published article Remove an article from the archived section Delete a draft …