on 12-15-2008 10:15 AM
Hi Experts Team,
I just want to create an Element, if it satisfies some constraint.
Eg:
if strInput is NOT EQUAL to ""
create an element(node) in the Target Structure.
How can I do that?
Please help me...
regards,
Kanda
Hi Sudhir,
I have tried the same but the problem here is,
Instead of node with value, it creates only node with no values..
My Complete Scenario..
If CONSPART is Y
then MY UDF returns some value
else
return "";
my target node must reflect the value, what my UDF returns,
if it returns "", no node should be created.
hope that will help u
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
>>>if strInput is NOT EQUAL to ""
create an element(node) in the Target Structure.
but what's the problem?
are you using message mapping? did you see function - IF ?
you can use it to create delete nodes on any condition
(just remember to use context correctly)
Regards,
Michal Krawczyk
http://mypigenie.com XI/PI FAQ
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Use CreateIf node function as suggested by Sudhir
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Try
InputSTR-----
EqualS----Not---CreateIf-----TargetNode
Constant("")---
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.