This example illustrates the geoWidgets Center of Mass custom activity available in the geoWidgets Workflow Activity Pack. Center of Mass takes an array of FeatureSets and returns its center of mass using this formula: Centroid of Polygon.
https://www.geowidgets.io/docs/geocor...