Notifying of error conditions

The ItemDispatcher collaboration template can enable notification if errors are detected during processing.

Process flow

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 properties exist, 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 business object to its Notify port.

If the 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: Overall process logic