Blogs

  • How to trigger a flow from apex in Salesforce

    In this blog, we will discuss on how to invoke a lightning Auto launched flow from the apex class. 1. It works only with autolaunched Flow. 2. Use the start method in the Flow.Interview class to launch an autolaunched flow or user provisioning flow from Apex. 3. In this example, we will use a visualforce page where flow will be invoked…

    Read more…

  • Get the type (data type) of a field in apex

    Using Describe Method: Consideration Notes: Just a query – After Spring 20 Consideration Notes

    Read more…

  • “NO_MASS_MAIL_PERMISSION” Error While Sending Email From Apex

    If you are getting this error message while sending email using “Messaging.SingleEmailMessage” System.EmailException: SendEmail failed. First exception on row 0; first error: NO_MASS_MAIL_PERMISSION, Single email is not enabled for your organization or profile. Single email must be enabled for you to use this feature.: [] Step to resolution Make sure Email Deliverability is turned on.…

    Read more…