...
Code Block | ||||
---|---|---|---|---|
| ||||
// Simple success notification with a link to the quote
user = api.user("loginName")
quote = "896.Q"
api.notificationApi()
.withRecipient(api.user("loginName"))
.withTitle("Quote review requested ")
.withSuccessStatus()
.withSource("896.Q")
.withContextLink("Go to P-896", AppPages.QC_DETAILS_PAGE, "896.Q")
.withDownloadActionType("asyncdownloadmanager.download/Pricefx_seeddata_DMDS_Customer_20221111_100755_nvgg4.zip")
.withMessage("Quote created by $user needs your attention.")
.send() |
...