--- alias: user-guide-business-workflow-task-aggregate-collection render_macros: false description: "Reduces supplied entity or record fields to a scalar or stable distinct collection without changing source objects." --- # Aggregate Collection Values Reduces supplied entity or record fields to a scalar or stable distinct collection without changing source objects. ![Screenshot of a Business Workflow summing Quantity from query rows and displaying the total in operator feedback.](images/business-workflow-task-aggregate-collection.png) ## Inputs Set `Collection`, `Operation`, `Field`, `IgnoreNulls` in the task details. Use the value editor to select compatible results from earlier tasks. ## Outputs Use `Result`, `HasValue` in subsequent tasks. ??? example "Aggregate Collection Values" Connect query rows, choose Sum, select field `Quantity`, and choose whether null values are ignored. Use the aggregate result in a condition or message.