Versions Compared

Key

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

From release of version 10.0.0 Bee’s Knees Configuration Engineers are able to create and send Notifications.

Here you can see couple examples of such work

These snippets are somewhat self-explanatory. Notice usage of Notifications API with builder pattern.

Take a look in Technical User Reference (Notifications) for API reference.

Code Block
breakoutModewide
languagegroovy
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()

...