cancel
Showing results for 
Search instead for 
Did you mean: 

creating empty node

former_member232455
Participant
0 Kudos

Hello Frineds,

I have one requirement, based on the condition from source side empty target node should create thorugh UDF. because with standard mapping i have tried to create the empty node but it's not happening. Could you please suggest the UDF code for the same.

Thanks,

janardhan

Accepted Solutions (0)

Answers (2)

Answers (2)

iaki_vila
Active Contributor
0 Kudos

Hi Janardhan,

Youcan use Mapwithdefault as Sahithi suggested as better option (Check this )

Also, depending your logic, you can use an if function and to map a constant empty value from constants functions.

Regards.

sahithi_moparthi
Contributor
0 Kudos

Hi Janardhan,

Why can't you try using MapwithDefault.If you use Mapwithdefault function,it will create the target empty node.

Please let me know if you are facing any issue