!function(t){"object"==typeof module&&"object"==typeof module.exports?t(require,exports):"function"==typeof define&&define.amd&&define(["require","exports","../../Validation","./tools"],t)}(function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=t("../../Validation"),u=t("./tools"),t=(i.prototype.execute=function(t,e){var i=r.validation.string("attribute",t.attribute,r.validation.never),t=u.featuresToArray(r.validation.exists("features",t.features)).map(function(t){return t.attributes?t.attributes[i]:void 0}).filter(function(t){return null!=t});return{value:t[0],values:t}},i.action="gcx:wf:arcgis::GetAttributeValues",i.suite="gcx:wf:builtin",i);function i(){}e.GetAttributeValues=t});