Guide to workflow expressions 'aggregation' and 'aggregation_fields_operation' - Printable Version +- CoreBOSBB (https://discussions.corebos.org) +-- Forum: Support (https://discussions.corebos.org/forumdisplay.php?fid=17) +--- Forum: Administrator Support (https://discussions.corebos.org/forumdisplay.php?fid=8) +--- Thread: Guide to workflow expressions 'aggregation' and 'aggregation_fields_operation' (/showthread.php?tid=1138) |
Guide to workflow expressions 'aggregation' and 'aggregation_fields_operation' - Guido1982 - 07-05-2018 When you want to update a field from a workflow (even on a related module), you have the option to use a function expression. There are many options here, two of which are the 'aggregation' and 'aggregation_fields_operation' functions. The default output, once you select one of these is: Code: aggregation(operation,RelatedModule,relatedFieldToAggregate,conditions) Code: aggregation_fields_operation(operation,RelatedModule,relatedFieldsToAggregateWithOperation,conditions) Use this small guide to get you going:
RE: Guide to workflow expressions 'aggregation' and 'aggregation_fields_operation' - joebordes - 07-05-2018 Thanks! RE: Guide to workflow expressions 'aggregation' and 'aggregation_fields_operation' - joebordes - 07-05-2018 added to wiki: http://corebos.org/documentation/doku.php?id=en:update_workflows#aggregations |