PushPulseNotification

You can use this function for Optiva Workflows.

Purpose

Use this function to send a Pulse Notification BOD to ION.

Syntax

Dim result as Integer = PushPulseNotification(notificationText As String, IFSpersonIDs As String, notificationParams As NameValueCollection)

Arguments

Argument Description
notificationText A string type parameter and free text field which will be displayed as the subject for notifications in Infor Ming.le.
IFSpersonIDs A string type parameter with semi-colon “;” delimited IFS Person IDs. This controls the Recipients list and controls who will receive the notification.
notificationParams This is a key value collection. Keys are parameters and values are parameter values. Parameters are displayed in the notification body.

Example

Option Strict Off
Imports System
Imports System.Diagnostics
Imports System.Collections.Specialized

Class ActionScript
 Inherits FcProcFuncSetEventWF

Function wf_start() As Long

Dim notificationSubject As String = "This is text is a subject for notification"

‘IFS Person IDs , semi-colon delimiter
Dim IFSpersonIds as String = "e370750b-9aa4-4933-9f7d-805f74f44081; e370750b-9aa4-4933-9f7d-805f74f44081; e370750b-9aa4-4933-9f7d-805f74f44081"

Dim paramCollection As New NameValueCollection()
paramCollection.Add("Notification ID", "0001")
paramCollection.Add("Notification Date", Date.Now.ToString())

 PushPulseNotification(notificationSubject, IFSpersonIds, paramCollection)
 MessageList("Pulse notification BOD sent.")
 Return 111

End Function

End Class