Alerting of Approved item status

Using configuration properties to notify of Approved status.

Flow

The SEND_MAIL_ON_APPROVAL and APPROVED_EMAIL_ROLE properties must be configured by the user. If the Retail_Item has a status of Approved and the SEND_MAIL_ON_APPROVAL and APPROVED_EMAIL_ROLE configuration properties exist, the collaboration object stores the values of the APPROVED_EMAIL_ROLE, APPROVED_EMAIL_MSG, and APPROVED_EMAIL_SUBJECT properties 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.
The collaboration object then sends the object to its mail port. If the APPROVED_EMAIL_ROLE property does not exist, a value of unknown is set in the EMAIL_ROLE_ATTRIBUTE of the Retail_Item.
Note: Although the Process_Reviewed_Item collaboration object changes the status of a Retail_Item business object from Approved to Synchronised when the item is synchronized with the backend, any notification emails are sent with a status of Approved, since that was the status delivered by the WebSphere® MQ Workflow process.

Parent topic: Notifying of item status or of processing error conditions