BizTalk Server General - Basic Boolean operation not supported with Business Rules

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server General > December 2004 > Basic Boolean operation not supported with Business Rules





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Basic Boolean operation not supported with Business Rules
Sukesh Shetty

2004-12-25, 5:47 pm

I tried a simple rule as follows

If
And
A=B
OR
C=D
E=F
Then
Set myvalue=true


This does not work. The exception thrown is "Specified Cast is not Valid".

I modified the rule as follows

If
OR
AND
A=B
C=D
AND
A=B
E=F
Then
Set myvalue = true

This rule works. Please suggest if there is a precedence to be followed and
if so why. I tried this on two different machines and it still gives the same
error.


Matt Milner

2004-12-27, 8:46 pm

What are the types of A, B, C, D, E, and F?

Matt


"Sukesh Shetty" <SukeshShetty@discussions.microsoft.com> wrote in message
news:37984965-099E-4306-B44D-69F484BA548A@microsoft.com...
>I tried a simple rule as follows
>
> If
> And
> A=B
> OR
> C=D
> E=F
> Then
> Set myvalue=true
>
>
> This does not work. The exception thrown is "Specified Cast is not Valid".
>
> I modified the rule as follows
>
> If
> OR
> AND
> A=B
> C=D
> AND
> A=B
> E=F
> Then
> Set myvalue = true
>
> This rule works. Please suggest if there is a precedence to be followed
> and
> if so why. I tried this on two different machines and it still gives the
> same
> error.
>
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com