Example of Notify email
- 
             The content of the template code is shown here. 
		  
            
NOTIFY workflow test Workflow ID [%WIPID] Action [%ACTIONCODE] has been rejected. Reason: Object [%1] belonging to class: [%2] has been rejected by [%SOURCEUSER]. - Confirm that your anti-virus software allows emails to be sent.
 - 
             Complete these entries in the 
			 Profile form. 
		  
            
MAIL.SERVERNAME = SMTP-RELAY.INFOR.COM MAILUSERNAME = FSI - Add the email distribution list to the FSI user in the User form.
 - 
             Optionally, complete these entries in the Enumerated List form. It is used to limit the
               notifications to only those formulas that have cookies defined as the classification. 
            
C_FORMULACLASS Custom value = COOKIES Description = Cookies class - 
             Open the 
			 Script Library form. Create a library script
			 called 
			 
NOTIFY START USER. The code for the script is shown here.Option Strict Off Imports System Imports System.Diagnostics Public Class REJECTOR Private co As FcProcFuncSetEvent Public Sub New(ByRef context As FcProcFuncSetEvent) co = context End Sub Function Reject(ByVal user As String, ByVal key As String) As Long Dim oClass As Object = co.ObjProperty("CLASS", "", "") Dim IMessage As Long = co.Notify(user, "TEST", 1, 0, key, oClass) Return 9111 End Function End Class - 
            Open the Action form and create a workflow
               action called 
NOTIFY. Select the Reject Event box. This action calls the library script. The code is shown here.Option Strict Off Imports System Imports System.Diagnostics Class ActionScript Inherits FcProcFuncSetEventWF Function wf_start () As Long Messagelist ("Workflow has started") End Function Function wf_reject () As Long Dim rej As Rejector = New Rejector(Me) 'Call the library script Class Rejector, Reject function, pass global var_STARTUSER, _OBJECTKEY Return rej.Reject(_STARTUSER, _OBJECTKEY) End Function End Class - 
             Create an action set that calls the workflow action. 
		  
            
Set the Action Code to NOTIFY. Set the Symbol to FORMULA. Set the Role to RL_ADMIN.After the
FSIuser rejects a formula that has aNOTIFYworkflow action, an email is sent to the Outlook distribution list. The body of the email contains the text that you specified in the template.Subject Line: NOTIFY workflow test Body of the e-mail message: Workflow ID [xxx] Action NOTIFY has been rejected. Reason: Object [such as a formula] belonging to class: COOKIES has been rejected by FSI.