Which transformer could you use to create one feature per department with a list of employees in that department?

Prepare for the FME Certified Professional Exam. Study with flashcards and multiple-choice questions; each question includes hints and explanations. Ensure your success!

Multiple Choice

Which transformer could you use to create one feature per department with a list of employees in that department?

Explanation:
To produce one feature per department with a list of employees, you need to aggregate employee names by department. ListBuilder is the tool that builds a list from values encountered across input features. When you group or route your data by department, ListBuilder can take the employee name from each input feature and append it to a list attribute on the department feature. The result is a single feature for each department whose list holds all the employees in that department. The other options don’t create that per-department list: they either search within a list, remove duplicates, or count items in a list, rather than assembling a grouped list of values.

To produce one feature per department with a list of employees, you need to aggregate employee names by department. ListBuilder is the tool that builds a list from values encountered across input features. When you group or route your data by department, ListBuilder can take the employee name from each input feature and append it to a list attribute on the department feature. The result is a single feature for each department whose list holds all the employees in that department.

The other options don’t create that per-department list: they either search within a list, remove duplicates, or count items in a list, rather than assembling a grouped list of values.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy