I have a large dataset (Dataset 1) that has a field called “Form Name”. I want to test the dataset to make sure all the records have known Form Names. Dataset 2 is just a list of the valid Form Names. The point of this is to prevent another group from adding forms and not notifying my group.
How can I test the field, Form Names, in Dataset 1 to ensure that each record has a known Form Name listed in dataset 2?
IF NOT [Form Name from dataset1] IN (‘Form1’,’Form2’,’Form3’) from dataset2
Additionally, if there are records in dataset1 with Form Names not in dataset 2, I’d like to
- create an output file (Browse Tool or Excel) that contains the offending Form Name
- stop the workflow
- show me a message “Out of Scope Forms” or something.
I have looked at the test tool and can’t really make any sense of it.
I have considered the filter tool, but I don’t know how to filter against a second dataset list. I guess I could hard code the entire list in the filter tool, but I was hoping there was a cleaner way.
Thanks in Advance