Business Rules evaluating Repeating Record
- From: StevenCampbell <steven.campbell@xxxxxxxxx>
- Date: 17 May 2007 12:44:09 -0700
Hello and thanks for any assistance. With the Schema below i need to
create a business rule where I evaluate the LineItems Id and if none
of them begins with any lower\upper case combination of "NT" (ie:
'nT', 'nt', 'Nt' or 'NT'), then the evaluation will result in TRUE.
I can get this rule working if only 1 lineItem exists and the Id is
within any combination of 'NT", however as soon as I have more then 1
line item and one of them is not based on that criteria it always
evaluates to true, (which is incorrect based on what i'm looking
for). [This is done my using the 'contains' predicate with the
following regular expression ^(?![Nn][Tt]).*]
Do you know how to evaluate all instances of a repeating field in a
passed in message and have the action evaluate to 'False' if anyone of
those repeating fields begins with 'NT'
<SalesOrder Status="NewOrder">
<LineItems>
<LineItem Id="SC0001" Name="Blah" />
<LineItem Id="NT001" Name="notBlah" />
</LineItems>
</SalesOrder>
Thanks, I really appreciate any help.
Steven
.
- Prev by Date: Re: Problem in deployment using MSI
- Next by Date: Re: Receiving Emails
- Previous by thread: RE: Bam.xls
- Next by thread: Re: Receiving Emails
- Index(es):
Loading