Troubleshooting Promoted Property Filtering in BizTalk
Introduction
Issue:
I set up a receive location and dropped a message into it. Within the message, I had promoted a property called "results" using a schema. My intention was to filter the message in the send port using the condition "POCContextPropertyWithoutOrch.Schemas.PropertySchema.results == 2". However, despite my efforts, I was unable to capture the message at the send port.
Solution
After investigating the issue, I realized that the problem lied in the choice of pipeline for the receive location. Instead of using an XML receive pipeline, I had mistakenly chosen a pass-through pipeline. This oversight resulted in the properties not being promoted onto the context, causing the filtering condition to fail.
To rectify this, I made the following adjustment: I changed the receive pipeline from pass-through to XML receive pipeline. This simple modification proved to be the trick to resolve the problem.
By switching to an XML receive pipeline, the necessary context properties were correctly promoted, allowing the filtering condition to work as intended.
Remember to always ensure you select the appropriate pipeline for your receive location, based on the requirements of your message and the desired property promotion.
Comments
Post a Comment