Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
breakoutModewide
languagegroovy
// Simple success notification
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()

...