Tracking Profile Context Properties

Home Page › Forums › BizTalk 2004 – BizTalk 2010 › Tracking Profile Context Properties

Viewing 0 reply threads
  • Author
    Posts
    • #17800

      I'm building a simple proof of concept application to test out BAM capabilities. It consists of an orchestration that takes in a file from a directory, transforms it, and puts it into another directory. I have got BAM working to monitor the properties of the message. However, I also want to monitor other properties, particularly details about the incoming file. I have an item in the activity called ReceivedFileName and try to map this to the FILE.ReceivedFileName context property. After setting the port mapping and applying the tracking profile, I drop some files into the receive directory. All the details show up in the BAM portal, except for the ReceivedFileName, which is empty. Why is this? I have also tried other context properties, which also show up empty. Is there something I have to do to enable these context properties to be tracked by BAM?

       I also tried outputing the file name from within the orchestration by using an expression containing:

      System.Diagnostics.EventLog.WriteEntry("Simple Orchestration", MessageInstance(FILE.ReceivedFileName), System.Diagnostics.EventLogEntryType.Information);

      This worked correctly.

Viewing 0 reply threads
  • The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.