Solved

Test whether a line is contained in an existing dataset of lines

  • 1 February 2016
  • 2 replies
  • 1 view

Badge

I have following Problem:

I have a dataset of different lines and I create a new line with the "Creator". Now I want to test wether the crated line allready exists in my dataset. If the line doesn't allready exists, I want to edit the existing data and the new line separatly.

I tried to use the "Matcher". But if the new line does not already exist, it can no longer be separated from the existing data because there is only one common output for 'NotMatched'.

I hope somebody can help me.

icon

Best answer by erik_jan 1 February 2016, 19:43

View original

2 replies

Userlevel 2
Badge +16

Try the ChangeDetector.

Use the Original port for the existing and the Revised port for the created line.

If it existed it will be output through Unchanged, if not it will be output through Added. Ignore the Deleted (that is Original not in newly created).

Badge

Try the ChangeDetector.

Use the Original port for the existing and the Revised port for the created line.

If it existed it will be output through Unchanged, if not it will be output through Added. Ignore the Deleted (that is Original not in newly created).

Thank you so much @erik_jan! Thats what I wanted :)

Reply