The ItemDispatcher collaboration template can enable notification if errors are detected during processing.
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.
EMAIL_MSG_ATTRIBUTE
Specifies the attribute of the Retail_Item business object in which the text of a notification message is stored before the Retail_Item business object is sent to the collaboration object's Notify port.EMAIL_ROLE_ATTRIBUTE
Sspecifies the attribute of the Retail_Item business object into which the email address of the email recipient of a message is stored before the Retail_Item business object is sent to the collaboration object's Notify port.EMAIL_SUBJECT_ATTRIBUTE
Specifies the attribute of the Retail_Item business object into which the text of a message subject is stored before the Retail_Item business object is sent to the collaboration object's Notify port.ERROR_EMAIL_MSG
Specifies the Retail_Item attribute value that is placed in the EMAIL_MSG_ATTRIBUTE property when an error is detected during processing.ERROR_EMAIL_ROLE
Specifies the attribute of the Retail_Item attribute value that is placed in the EMAIL_ROLE_ATTRIBUTE property when an error is detected during processingERROR_EMAIL_SUBJECT
Specifies the Retail_Item attribute value that is placed in the EMAIL_SUBJECT_ATTRIBUTE property when an error is detected during processing.SEND_MAIL_ON_ERROR
This property specifies whether or not the collaboration object sends processing to the Notify port for notification if an error is detected during the processing of the Retail_Item business object.
Parent topic: Overall process logic