Notify Portal RMA Request Created - Workflow Event Handler
Use this event handler to notify an CloudSuite Industrial customer service representative that an RMA request was made by a portal user. The notification can be an external email and/or a message sent to the Inbox form for CloudSuite Industrial users. The event handler also sends an RMA request confirmation to the portal user.
Notification Text
This is the text of the notification that is sent to the CloudSuite Industrial users:
To: receipient From: portaluser Subject: New RMA Request Body: An RMA request has been received for Customer custnum, custname, entered by user portaluser.
This is the text of the confirmation that is sent to the portal user who made the request:
To: portaluser From: originator Subject: Request for RMA Received Body: Thank you for submitting your RMA Request. It has been received for processing.
Variable Information
Variable | Description |
---|---|
recipient | For an CloudSuite Industrial Inbox message,
this is the CloudSuite Industrial user name you
specify in the Notify
Users field on the Workflow Event Handler Activation form. You can
specify multiple names separated by semicolons.
For an external email, this is the email address you specify in the Email Users field on the Workflow Event Handler Activation form. You can specify multiple names separated by semicolons. |
portaluser | For notifications on the portal Inbox page, no To field is displayed. If an external email is sent, this is the portal user's email address specified on the CloudSuite Industrial Users form. |
originator | For notifications on the
portal Inbox page, no From field is displayed. If an
external email is sent to the portal user, the From field usually contains
either:
|
custnum | This is the customer number associated with the portal user who requested the return. |
custname | This is the name of the customer associated with the portal user who requested the return. |
Global Constants
These global constants are created by the event handler, based on the entries you make in the Workflow Event Handler Activation form:
Global Constant | Contains |
---|---|
SharePointRMARequestCreatedManagerID | Contents of the Notify Users field |
SharePointRMARequestCreatedManagerEmail | Contents of the Email Users field. |
Associated Event and IDO
The RMA request in the portal calls the stored procedure CreateRma invoked as a method on the SLRmas IDO. When the stored procedure is called, this event handler fires. The IdoOnInvoke event for the SLRmas IDO triggers these notifications.