Enabling notification if errors are detected during collaboration processing

Notifying if errors are detected during collaboration processing

Description

The SEND_MAIL_ON_ERROR and ERROR_EMAIL_ROLE properties must be configured by the user. If an error is detected and the SEND_MAIL_ON_ERROR and ERROR_EMAIL_ROLE configuration properties exist and are not BLANK, the collaboration object stores the values of the ERROR_EMAIL_ROLE, ERROR_EMAIL_MSG, and ERROR_EMAIL_SUBJECT in attributes of the Retail_Item business object. The Retail_Item attributes into which these values are stored are identified by the EMAIL_ROLE_ATTRIBUTE, EMAIL_MSG_ATTRIBUTE, and EMAIL_SUBJECT_ATTRIBUTE configuration properties, respectively. Then the collaboration object sends the object to its Notify port. If the ERROR_EMAIL_ROLE property exists but is BLANK, no notification is executed (that is, no default mail recipient exists).

If the REJECT_EMAIL_MSG, REJECT_EMAIL_SUBJECT, ERROR_EMAIL_MSG, or ERROR_EMAIL_SUBJECT properties exist but are BLANK, default values are placed in the Retail_Item attributes before the business object is sent to the Notify port.

Parent topic: Notifying of item rejection or processing error conditions