Siebel Store-and-Forward Messaging Guide > Siebel Store-and-Forward Messaging Sample Workflows >
SMQ Outbound Activity to One Recipient
Figure 6. SMQ Outbound Activity to One Recipient Workflow
|
As seen in Figure 6, the SMQ Outbound Activity to One Recipient workflow is based on the Action business object, and is an outbound workflow defined for a mobile service technician. The workflow creates a server outbound data message containing the information about a dispatched activity and send the message through the Store-and-Forward Messaging. The main process properties include Application Name, Message Object Name, and Message Recipient. The Application Name and Message Object Name must be defined in the Administration- Store-and-Forward > Store-and-Forward Applications view. This workflow contains the following steps:
- Create Message History: This step creates a message history record in the message history table and sets the message status to Pending.
- Calculate Delay: The workflow may be put to sleep if a Start to Send parameter is being specified in the Store-and-Forward Timeout Administration view.
- Generate Data Message: This step takes the message object ID as well as the related business object name and extracts the related data to construct a server outbound data message.
- Format Message: This step takes the data extracted and formats it to a well-formed XML document.
- Send Message: This step sends the XML document into the user's server outbound queue.
- Wait for delivery ack: This step waits for an acknowledgement from the MQe queuing system, which indicates whether the message reaches the targeted handheld device.
- Check Message Status: This step checks the message status. If the status of the message has been changed to Client-Received, the message has arrived at the client side.
- Dispatch Failure: If the status of the message is something else, this step sets the status of the activity record to Dispatch Failure.
|