Delete verb

Process logic for the Delete verb.

Flow

  1. A ItemStore collaboration object is triggered by the receipt of a Retail_Item business object. The triggering business object passed into the ItemStore collaboration object must contain values for all the fields that make up the ObjectKey attribute of the stored SerialItem application specific business object, as defined by the value of the OBJECT_KEY configuration property in the ItemStore collaboration object.
  2. The ItemStore collaboration object builds a new SerialItem application specific business object, which includes two attributes:
    • ObjectData, which is NULL.
    • ObjectKey, which is created from the key information in the Retail_Item business object and the value of the ItemStore collaboration object's OBJECT_KEY property. This attribute holds the unique key used to store the object in the database.
  3. The newly created SerialItem is passed to the JDBCConnector via the To port.
  4. The JDBCConnector deletes the row in the database identified by the ObjectKey attribute. If the object does not exist in the database, a ServiceCall exception is thrown and the Delete operation fails.

Parent topic: Overall process logic