Opportunity Sharing External Query

The Opportunity Sharing External Query workflow process is shown in the following diagram.

Opportunity Sharing External Query Process: This image is described in the surrounding text.

As shown in this diagram, the following events happen when this workflow is called:

  • Get Dest Org Id. This event calls Opportunity Sharing Inbound or Outbound. This workflow returns the partner ID of the partner requesting an update, the external key, and external key description.

  • Set Status. This event updates the transfer status to Update Pending.

  • Create Message/Store Message/Append Message. This event creates an empty Siebel message.

  • Generate Key. This event creates the internal key.

  • Add Internal Key. This event adds the internal key to the Siebel message.

  • Add Internal Key Description. This event adds the internal key description to the Siebel message.

  • Add External Key. This event adds the external key to the Siebel message.

  • Add External Key Description. This event adds the external key description to the Siebel message.

  • Find Port. This event finds the Web service port for the partner.

  • Send Oppty Update Request. This event sends this Siebel message to the other system and returns the response from the other system.

  • Get Request Update Status. This event gets the transfer status from the response Siebel message.

  • Request Update Ok. This event checks that the transfer status is successful.

  • Update Opportunity. This event calls Opportunity Sharing Siebel Update as a subprocess, passing it the Siebel message, and returns the response Siebel message.

  • Remove Extra Message Layer. This event removes the extra layer that is added when a Siebel message is passed up from a subprocess.

  • Get Update Oppty Status. This event retrieves the status of the update from the Siebel message that Opportunity Sharing Siebel Update inserts before returning the message.

  • Status Ok. This event checks to see if the update status is Update Successful.

  • Swap Addresses. This event swaps the source organization and channel partner information, the internal key and external key, and the internal key description and the external key description.

  • Remove Extra Layer from Message. When a Siebel message is passed up from a subprocess it adds an extra layer to the message. This event removes that layer.

  • Add Method Name. This event inserts the name of this method, Query, into the Siebel message. This will be used in a later workflow.

  • Find Response Port. This event finds the Web service port for sending an update response for this partner.

  • Transfer Response. This event transfers the Siebel message with the update status back to the partner.

  • Update Status. If any of the transfer statuses from the Siebel message are Update Unsuccessful or any of the transfers returns an exception, this event updates the transfer status to Update Unsuccessful.