Sending responses to UCCnet

Explains how a UCCnetMessageSend collaboration object sends response messages to UCCnet based on an item's command type, status value, and the values of particular collaboration object properties.

Description

Response messages must be returned to UCCnet for each NEW_ITEM, DATA_CHANGE, or NEW_ITEM with reload request. In the Product Information Management for Retailers solution, a Process_Reviewed_Item collaboration object is connected through its respond_to port to a UCCnetMessageSend collaboration object, which builds and sends appropriate responses to UCCnet. Response messages must be returned to UCCnet for each NEW_ITEM, DATA_CHANGE, or NEW_ITEM with reload request. Process_Reviewed_Item collaboration objects pass Retail_Item business objects to UCCnetMessageSend collaboration objects when they have been assigned Synchronised, Rejected, Accepted, or Error status. UCCnetMessageReceive collaboration objects may also pass Retail_Item business objects with Review or Error status to UCCnetMessageSend collaboration objects for the purpose of sending a response to UCCnet.

When a triggering Retail_Item business object is received, a UCCnetMessageSend collaboration object first retrieves the layer information from the local message store by converting the Retail_Item to a UCCnetGBO_storable business object and passing it to its ToMessage_Store port. This port is bound to the appropriate persistence mechanism, such as a MessageStore collaboration object, which performs the retrieval. The UCCnetMessageSend collaboration object uses the Retail_Item internals.originalCorrelationID attribute, if it is populated, to access the proper entry in the message store. If this attribute does not contain a value, the collaboration object uses the Retail_Item internals.correlationID attribute value.

It then extracts the Catalogue Item Notification command and handles the object according to its original command type, its status value, and the values of certain properties, as follows:

Related collaboration templates and business objects

See the following related collaboration templates for more information: See the following related business objects for more information:

Parent topic: Solution Development Guide