Opportunity Sharing Build Siebel Message

The Opportunity Sharing Build Siebel Message workflow process is shown in the following diagram.

Opportunity Sharing Build Siebel Message Process: This image is described in the surrounding text.

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

  • Create Message Header. This event creates an empty message header for the Siebel message. This header will eventually contain the transfer information.

  • Store Message Header/Append Message. This event creates an empty Siebel message using the ANI Opportunity Message (PRM ANI) format and appends the message header to it.

  • Query Oppty. This event queries the Siebel database for the opportunity matching the object ID and returns the account ID for the account of this opportunity.

  • Store Oppty & Append Oppty. This event adds the opportunity to the Siebel message.

  • Oppty Has An Account. This event checks to see if the account ID is null. If it is, the workflow does not need to query for an account.

  • Create Account Message. If there is no account for this opportunity, this event creates an empty account property set to follow the ANI Opportunity Message (PRM ANI) format for the Siebel message.

  • Query Account. If there is an account for this opportunity, this event returns the account information.

  • Store Oppty Account/Append Account. This event adds the account information to the Siebel message.

  • Query Partner/Store Partner/Append Partner. This event queries for the partner to whom the opportunity is being sent and appends that information to the Siebel message.

  • Query Source Org/Store Source Org/Append Source Org. This event queries for the source organization and appends that information to the Siebel message.

  • Get Organization DUNS/Set Organization DUNS. This event retrieves the source organization's D-U-N-S number and adds it to the Siebel message.

  • 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.

  • Add Sent Time to Message. This event adds the current timestamp to the Siebel message.