|
Home > Archive > BizTalk Server Tools > February 2005 > Adding nodes in the BizTalk Rules Engine
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 |
Adding nodes in the BizTalk Rules Engine
|
|
| Steven Pack 2005-02-03, 5:49 pm |
| I would like to create a policy where by, based on the
values of some facts, I add notes to another fact that is
a complex type.
For example,
IF
Conditions
Q1 is equal to "yes"
THEN
Actions
DocumentNames.Add("doc1");
So, Q1 is simply a xs:string and DocumentNames is a
complex type - a collection of xs:strings. I know I can
use a .NET method to do it, but I would have thought
simple xml manipulation, such as adding a node, would have
been part of the available actions in the Rule Composer.
Am I missing something?
| |
|
| Steve,
Just curious, did you find any solution for this in Rule Engine or you ended
up using .NET method?Iam also facing a similar scenario!
Thanks
Raj
"Steven Pack" wrote:
> I would like to create a policy where by, based on the
> values of some facts, I add notes to another fact that is
> a complex type.
>
> For example,
>
> IF
> Conditions
> Q1 is equal to "yes"
>
> THEN
> Actions
> DocumentNames.Add("doc1");
>
> So, Q1 is simply a xs:string and DocumentNames is a
> complex type - a collection of xs:strings. I know I can
> use a .NET method to do it, but I would have thought
> simple xml manipulation, such as adding a node, would have
> been part of the available actions in the Rule Composer.
>
> Am I missing something?
>
|
|
|
|
|