none
Auditing CRM Response RRS feed

  • Question

  • Hey folks,

    We have a Biztalk 2009 implementation where we import batches of records from the WCF-SQL adapter and map them to CRM records using the CRM adapter.  We would like to have some auditing capabilities where we combine the results of each response message from CRM with one or more fields from either the original SQL message or the CRM request message.  So far we have built our implementation without orchestrations and, if possible, would like to keep it that way so as to incur less overhead.

    We were thinking of promoting fields we need from the source side, then retrieving and adding them somehow into the response message, possibly via a custom pipeline.  Is this even possible?  We use a Two-way send port to send and retrieve the CRM data, but the context appears to be lost by the time the response comes back.

    Are we missing something really easy and obvious?  Are there any suggestions, or links to solid references to help us figure this out?

    Any help or advice is most appreciated!
    Monday, September 20, 2010 6:56 PM

Answers

  • Hi,

    The EPM:Correlation context property ties the request and response for each message. (GUID).  I use it in a custom pipeline component to write the response to a database for auditing of HL7 messages (associates the ack/nack with the message sent to partner).

    Thanks,

    William

    Monday, September 20, 2010 9:08 PM