In a Salesforce system, outbound messages and workflow
rules must be configured to enable event handling for the iWay Application
Adapter for Salesforce.
The concept of outbound messaging is part of the workflow rule
functionality in Salesforce. Workflow rules can be configured to
look for specified field changes (for example, a new account or
changes to an existing order). As a result, an automatic action is
triggered where an outbound message is sent.
Outbound messages send SOAP messages over HTTP or HTTPS to a
designated channel when they are triggered by a workflow rule.
Salesforce Considerations for Outbound Messaging
- If the
channel is unavailable, messages remain in a queue until sent successfully,
or until they are 24 hours old. After 24 hours, messages are dropped
from the queue.
- If a message
cannot be delivered, the interval between retries increases exponentially,
up to a maximum of two hours between retries.
- Messages
are retried independent of their order in the queue. This may result
in messages being delivered out of order.
- You cannot
build an audit trail using outbound messaging. While each message should
be delivered at least once, it may be delivered more than once.
Also, it may not be delivered at all if delivery cannot be achieved
within 24 hours. Finally, the source object may change after a notification
is sent but before it is delivered, so the channel will only receive
the latest data, not any intermediate changes.