Skip to main content
Solved

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

  • February 1, 2016
  • 2 replies
  • 31 views

Forum|alt.badge.img

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.

Best answer by erik_jan

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).

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

erik_jan
Contributor
Forum|alt.badge.img+23
  • Contributor
  • Best Answer
  • February 1, 2016

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).


Forum|alt.badge.img
  • Author
  • February 1, 2016

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 :)