Extending : Reference sample : How to extend a global function to manipulate collection data
  
How to extend a global function to manipulate collection data
When composing a flow, sometimes it is needed to manipulate collection data contained in an indexed collection. For example, customers may have several accounts and each account has its balance. The account summary view need to present the sum of all the accounts.
See also
Define global function in XML
Register global function definition
Implement the function logic to calculate the sum of account balance
Register the implementation class of global function
Usage Scenario of the global function in mapping editor
Reference sample