To start with some context, we have an disclosure form that all employees must complete and submit each year. Any new employees hired during the same calendar year will not need to complete this disclosure, as they did it during their new employee orientation process.
I'm hoping to to compare the list of employees which can be obtained using a custom query task in Workflow, and compare it to a list of employees compiled using Workflow's search repository. (The Search Repository task is looking for the saved disclosures, and returning the Employee's name, one of the metadata values.)
Is there a way to compare the results of both searches, and return a list of employees that haven't completed their annual disclosure? The only idea I've had so far is to use each row found in the query, and search for a matching value in the Search Repository task. I'm hoping to avoid this, as we have about 300 employees, and it would mean 300 searches. I'm hoping to compare the results of each and minimize the number of searches.
If more clarification is needed, let me know.
Thanks!
We are using Workflow version 10.2.0.216