on 05-13-2010 4:50 PM
Hello all,
I have to write a logic in message mapping for this structure below.
<Table> 0.......out bounded
<row> 1....1
<access> 0...1
</row>
</Table>
If access is having a value '0', then do not send the table node at all to the receiver.
Please let me know..
Thanks
Mike
for the Table node use the logic as below;
If source field for access NOT EQUALS 0 then map source field to Node Table
use a IF without ELSE, Boolean NOT and STRING function EQUALS, in this case.
try the logic.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
<Table> 0.......out bounded
<row> 1....1
<access> 0...1
</row>
</Table>
Here access is a date field. I have to check whether access(date) is empty, and if so, do not map the table node to the target field.
This structure is source field structure. I did not understand what shabarish suggested
Can you pls elaborate the steps.
Appreciate
-Mike
Here access is a date field. I have to check whether access(date) is empty, and if so, do not map the table node to the
target field.
if the source field is empty then data from this node (Table) should not be mapped.....i hope its right.
Access--> length -->
--> equalS --> Not --> If (then Table) --> Target
Constant(0) -->
Use the above logic.....the above logic checks if the length of the data in Access is more than 0 or not......if 0 then it would mean that the node need not be mapped.... ensure that you take care of Context of Access Node
Regards,
Abhishek.
Hi,
What is your target structure? If it something like this -
<MT>
<record>
<field> ....
</record>
</MT>
Map <record> with <table> and write an UDF to restrict the creation of the record node, using the value of <access>.
Hope this helps.
Regards,
Neetesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
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.