BizTalk Server - BRE: invalid evaluation of rules

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server > November 2004 > BRE: invalid evaluation of 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 BRE: invalid evaluation of rules
Joerg Fischer

2004-11-08, 7:46 am

Hi,

Concerning the use of business rules, I have a strange issue:

Given a rule based on a vocabulary:

IF
EntryDocId is equal to DocId
THEN
SetAttribute EntryId has CorrectDocReference

The nodes EntryDocId, DocId and EntryId are XML Vocabulary; EntryDocId,
EntryId share the same XPath Selector.

SetAttribute is a .NET function to be called; CorrectDocReference is a
constant.

Now, the above rule gets executed correctly; however, EntryId is not
evaluated correctly - instead, I get the value of EntryDocId presented to my
..NET Code.

The first assumption was that there is an error in my vocabulary. However,
this is not the case; when I change the conditional part of the rule to "1
is equal to 1", I get the correct values presented.

Can anyone give me an enlightment on that? All vocabulary definitions have
been designed without schema as a base (by hand, using XPath).

Thanks!

Sincerely

Joerg Fischer


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com