Send Notification With Files Step
- 16 Dec 2022
- 1 Minute to read
- Print
- DarkLight
Send Notification With Files Step
- Updated on 16 Dec 2022
- 1 Minute to read
- Print
- DarkLight
Article summary
Did you find this summary helpful?
Thank you for your feedback
Step Details | |
Introduced in Version | 5.0.0 |
Modified in Version | 5.0.0 |
Location | Communication > Notification |
The Send Notification With Files step allows a user to create a notification based on an event.
Properties
Inputs
Property | Description | Data Type |
---|---|---|
Files | Files to attach to the notification | List of FileData |
Folder Id | The ID of the Folder | String |
Message | Text to display in the notification | String |
Msgtype | Defines how the notification will be displayed | NotificationMessageType |
Notification Type Name | The name of the event that triggers when the notification is sent | String |
Subject | Defines the text to display on the Subject line of the notification | String |
Example Inputs and Outputs
Files | Folder Id | Message | MsgType | Notification Type Name | Subject | Output |
---|---|---|---|---|---|---|
Testing.txt | 08da350c-a363-1c66-be28-db5e3404abff | Example Message | Information | Article Created | New Notification | Done |
NULL | 08da350c-a363-1c66-be28-db5e3404abff | Example Message | Information | Article Created | New Notification | EXCEPTION |
Testing.txt | 08da350c-a363-1c66-be28-db5e3404abff | Example Message | Information | Article created | New Notification | EXCEPTION |
Common Errors
Incorrect or missing Notification Type Name
If the Notification Type Name does not exist under Administration > Notification > Notification Types and is case sensitive. If the Notification Type Name is incorrect or missing, then the step will throw the following exception. This can be resolved by ensuring the Notification Type Name exists and that the casing matches.
Exception Message:
Exception Stack Trace: DecisionsFramework.BusinessRuleException: [BusinessRule] Could not find notification type named Example Notification
at DecisionsFramework.ServiceLayer.Services.Notifications.SendNotificationSteps.SendNotificationWithFiles(String folderId, String notificationTypeName, String subject, String message, FileData[] files, NotificationMessageType msgtype)
Related Information
Articles:
Setting Up Notifications for Events
Controlling Assignment Notification Types for Server
Was this article helpful?