function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
CliffordClifford 

Send infomation from multiple objects in an outbound message

We have a custom object "Orders" that is related to "Opportunities".  We want to create an outbound message workflow such that when a custom field on Orders is updated, we can send fields from Orders and Opportunities to an external system.  In setting up the workflow rule on the Orders object, we do not have access to fields on the related Opportunity object.

Is there a way to include fields for multiple objects into one outbound message?  If not, does anyone have suggestions as to workarounds?  We would like to use asynchronous messages using the workflows if possible.

Thanks!

werewolfwerewolf
Perhaps try making one of the new Cross Object Formulas (new in Summer '08) on Order that gets its value from Opportunity, and send that field?
CliffordClifford
The cross formula idea is a good one and will work for single value fields, but now we have run into another roadblock...collections...for example sending a collection of products from a related object.

Looks like we will need to go with using an APEX class to send our message and do it in a synchronous manner.

I appreciate the help though.


Message Edited by Clifford on 06-19-2008 10:01 AM