Approve ECN Creation - Workflow Event Handler

Use this event handler to automatically notify certain CloudSuite Industrial users when an engineering change notice is created on the Engineering Change Notices form. The message also prompts for a Yes/No response to approve the change. Based on the response, the event handler sends an approval or rejection notification to the originator. Both notifications are messages sent to the CloudSuite Industrial Inbox form.

This is the text of the notification that is sent:

To: receipient
From: originator
Subject: Engineering Change Notice approval request
Body: Approval has been requested for Engineering Change Notice ecnnum,
created by originator, with the priority of ecnpriority. 
Question: Do you approve the Engineering Change Notice? 
Choices: Yes and No.
	

If the response is Yes, this message is sent to the originator's CloudSuite Industrial Inbox:

To: originator
From: receipient
Subject: Engineering Change Notice approved
Body: Engineering Change Notice ecnnum has been approved. 
	

If the response is No, this message is sent to the originator's CloudSuite Industrial Inbox:

To: originator
From: receipient
Subject: Engineering Change Notice rejected
Body: Engineering Change Notice ecnnum has been rejected. 
	

Variable Information

Variable Description
recipient This is the user name you specify in the Notify Users field on the Workflow Event Handler Activation form. You can specify multiple names separated by semicolons.
originator This is usually the name of the user who performed the action that generated the message.

However, if the system cannot determine a user associated with the action, a default address or name is used. In some cases, this default is the SMTP User Name associated with the intranet entered on the Site/Entities form for the site.

ecnnum This is the number for the proposed Engineering Change Notice.
ecnpriority This is the value of the Priority field on the Engineering Change Notices form.

Global Constants

This global constant is created by the event handler, based on the entries you make in theWorkflow Event Handler Activation form:

Global Constant Contains
ECNApproverID Contents of the Notify Users field

Associated Event and IDO

The event IdoOnItemUpdate for the SLEcns IDO triggers this notification.

Related topics