Skip to Content

Compare two fields in different nodes at same level and pass target output

Jan 25 at 03:08 AM


avatar image

HI Experts,

looking for some help on UDF ,I working on the requirement , were in i have to compare the two fields in two different nodes at same level ( Node 1 and Node 2) having Fields ( Filed 1 - in Node ) ( Field 2 and Field 3 in ( Node 2).

Here i need to compare Field 1(Queue values) and Field 2 (Queue values), If field 1 = Field 2 then pass Field 3 ( Queue value of that context) else Suppress.

Thanks in Advance,


node.jpg (11.3 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Evgeniy Kolmakov Jan 25 at 08:28 AM

Hi Pooja!

You just should ensure that elements count for all of your queues is the same (using MapWithDefault for example). After that you can proceed with these queues as usual:

If (Queue1/Field1 = Queue2/Field2) than Queue2/Field3 else Suppress).

Regards, Evgeniy.

Show 2 Share
10 |10000 characters needed characters left characters exceeded

Hi Evgeniy,

That's the issue , i don't have same count.



node.jpg (26.1 kB)

Evgeniy had already given you the answer on how to make sure the count is the same - "mapWithDefault". Then you will always have a value even if it is blank in which case you comparison function will work as expected.


Ryan Crosby