NOTIFICATIONS node

The NOTIFICATIONS node of the Hansen8 configuration is used to configure notification types, and the notification methods and providers that they use. This node can have these attributes:

Attribute Description
Default Phone Prefix Prefix to add to all telephone numbers. Mainly used for SMS, this prefix is locale specific. The default is +1.
Enabled Indicates whether notifications are enabled for the Infor Public Sector site.

The NOTIFICATIONS node has two children: Notification Types and Providers. The Notification Types node has one or more notification type nodes as children. Each notification type node has these attributes:

Attribute Description
Default Methods List of notification methods to be used if the contact hasn't specified a preference.
Notification Type Identification code for the notification type. Must match an existing notification type code definition in Infor Public Sector.

Each notification type node has one or more method nodes as children. Each method node defines a notification method that is available for the parent type, and has these attributes:

Attribute Description
Enabled Indicates whether notifications of this type and method are enabled.
Notification Method Identification code for the notification method, such as email or SMS.
Notification Strategy Defines how the notification message is passed to the supported providers. You can enter one of these values:
  • FirstSupported: Passes the message to the first provider that supports it.
  • Ordered: Passes the message to each provider in the order they are defined, waiting for each one to finish before moving on.
  • Parallel: Passes the message to all providers simultaneously
Notification Template ID Identifier of the template that will be used to format the notification.
Supported Providers Pipe-delimited list of providers that can support this type and method of notification. These must match providers that are defined under the Providers node.

The Providers node can have up to four children: Email, Formula, Twilio, and a custom provider.

The Email node has these attributes:

Attribute Description
Name Specifies Email.
Note: To send emails, you must also enter your agency's email settings in the EMAIL node of the Hansen8 configuration.

The Formula node has these attributes:

Attribute Description
Name Specifies Formula. The formula that is used is specified on the Notify event of the Resources.Notification object in the Infor Public Sector Workflow Manager.

The Twilio node defines settings for Twilio, the default SMS provider for Infor Public Sector.

Note: Twilio is a third-party application, so you must create your own Twilio account if you want to use it. There is a small charge for every text message that is sent using Twilio. If you do not want to use Twilio, you have the option of setting up a custom provider.

The Twilio node has these attributes:

Attribute Description
Account SID Needed by Twilio for authorization.
Auth Token Needed by Twilio for authorization.
Name Specifies Twilio.
Sender ID Sender ID from which messages will be sent. This can be an E.164 telephone number, with country code, or an alphanumeric ID.
Note: Alphanumeric IDs are not supported in all countries. See the Twilio documentation for details.

The custom provider node has these attributes:

Attribute Description
Name Name of the custom provider.
Type Moniker of the custom provider's assembly.