on 07-17-2013 10:08 AM
Hi All,
As per my requirement, The target node should not be created when source doesn't send any data. i.e null value.
Please suggest how to do this.
Thanks in advance !
Safest way:
source field ->mapWithDefault - > not EQ null -> creatif - > Target.
Ambrish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
please share your input and output xml file.
1. are you trying not to create node based on the field is empty?
2. or source node is not having any elements then not to create target node?
if you are trying for 2nd option as mentioned by Zameer Farook set occurrence to 0..unbounded or 0..1. then it will not create any node.
if you want option 1 then you have to use mapwihtdefault,Equals,createif functions to get your requirement done.
Regards,
Muniyappan.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Chethan,
Try as shown below,
Source --> exists(Node function) ---> createif (Node function)--> Target
Hope this will help
Regards
Hari
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Chethan,
Keep your target node occurrence as 0..unbounded or 0..1.
Map the source segment to the target segment, depending on the source your target node will be either created or will be null(not created).
Regards,
Zameer
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.