Showing results for 
Search instead for 
Did you mean: 

remove node element

Former Member
0 Kudos

Hi All,

Can any body help me out.

I need to remove the node element from target structure if the source doesn't have the value. Please give me an idea for how to do this in udf. Not by ifwithoutelse.



Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Create a 'context' user defined function taking one parameter (lets say 'a').

if ((a.length > 0) && (a[0].length()>0))


This will create the destination node only if the source node exists and has a value.

Message was edited by:

Yaghya Nana

Former Member
0 Kudos


There is a createIf function in graphical message mapping 'Node functions' tab that you can use. Put this condition on the target node depending upon whether the source exists or not.