Hi guys! and Welcome to another Chapter of the Salesforce Commerce Cloud Pro Tips series.
This time I want to talk about the Business Manager custom Alerts. Did you know that you can create custom alerts to notify the merchants or instances administrators that something happened an their attention is needed?
Is your job as developer usually interrupted by urgent messages…
Probably it’s time to write some code to liberate your job and to take advantage of Salesforce Commerce Cloud Alerts. To view alerts just enter in the Business Manager and click the bell in your top right corner. You can click show all to expand the Alerts. By default there are alerts defined by Salesforce but you can create your own using the alert API package.
All you need to do is use this API and define your alerts in a custom cartridge added to the Business Manager Cartridge Path.
Things you need to do to create custom Alerts are:
In this example the alerts are created by a job that its scheduled every 60 minutes and the script in the job just do some verifications we need to do in order to see if an alert is needed to be created or not.
Unlock a FREE PDF with SFCC B2C Certification questions from our Udemy Course. Join our newsletter!
Check your email, you’ll receive a copy in a few seconds. If you don’t see it, please check your spam folder.