Simple Notification example bellow.
Code Block | ||
---|---|---|
| ||
// Simple notification example api.notificationApi() .withRecipient(api.user("loginName")) .withTitle("New actionable insight found") .withInfoStatus() .withSource("2147483653.PL") .withContextLink("See more", AppPages.QC_DETAILS_PAGE, [ id: "2147493269", tpTab: 'messages' ]) .withMessage("Dashboards identified an Opportunity for you. ") .send() |
How to use Notifications API
...