Notifying of item rejection due to business policy rules
Description
The SEND_MAIL_ON_REJECTION and REJECT_EMAIL_ROLE
properties must be configured by the user. If the Retail_Item is rejected
and the SEND_MAIL_ON_REJECTION and REJECT_EMAIL_ROLE configuration properties
exist and are not BLANK, the collaboration object stores the values of the
REJECT_EMAIL_ROLE, REJECT_EMAIL_MSG, and REJECT_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 REJECT_EMAIL_ROLE
property exists but is BLANK, no notification is executed (that is, no default
mail recipient exists).