Notifying of error conditions

The ItemCollector collaboration template can enable notification.

Description

The ItemCollector collaboration template can enable notification if errors are detected during processing by an ItemCollector collaboration object, when an item is being retrieved from the item store, or when the merged item is being sent to the collaboration object’s To port.
The following configuration properties enable notification if errors are detected: You must configure the SEND_MAIL_ON_ERROR and ERROR_EMAIL_ROLE properties. If an error is detected and the SEND_MAIL_ON_ERROR and ERROR_EMAIL_ROLE properties exist, the collaboration object stores the values of the ERROR_EMAIL_ROLE, ERROR_RETRIEVE_EMAIL_MSG or ERROR_SEND_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 business object to its email port. If the ERROR_RETRIEVE_EMAIL_MSG, ERROR_SEND_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 email port.

Parent topic: Overall process logic