Using a Bitwise AND in a BizTalk Send Port as a Filter Expression

I knew this was possible but I guess a lot of people are unaware of this functionality.
Somebody told me I  should blog about it, so here I am adding another entry to my Blog.

How to define the BitWise and in a send port.

  1. Define a property schema in biztalk and make sure one of the properties is of the type unsigned int.
  2. Now deploy that propertyschema.
  3. Now add a send port and go to the filter Expression.
  4. Select the Unsigned int in the first part of the Exprssion
  5. Then open the dropdown and see... there it is ...

the magical, almost undocumented, rarely seen, extra operator &. (standing for Bitwise AND)

Published Thu, Mar 20 2008 3:54 PM by Patrick Wellink
Filed under:

Comments

# re: Using a Bitwise AND in a BizTalk Send Port as a Filter Expression

Thursday, March 20, 2008 5:01 PM by Kenton Price

The Brits on this project have had a bet known as a Wags for such technical arguments: whoever wins the argument gets the loser to buy them dinner at Wagamama in Amsterdam. Had we bet it, I would certainly have lost my first Wags to you on the existence of this operator - well done :) I can't find any significant documentation on it, beyond a passing mention in Charles Young's seminal How Subscription Works blog entry. As we saw yesterday, if you add a send port and click Filters, before you select any promoted property you can select the "&" from the Operator dropdown - however, unless you have any promoted properties of type unsigned int deployed (which you don't in a default BTS install), the "&" then immediately disappears from the Operator dropdown!

Leave a Comment

(required) 
(required) 
(optional)
(required) 
Please add 4 and 4 and type the answer here: