S03005

Error Code

S03005

Error Message

The reactive state engine doesn't support the aggregate function <%funcName> in metrics <%groupMsg>. RefId:S03005

("%funcName" refers to the name of the specific aggregate function.)

Probable Causes

This error occurs when the parameter metrics in createReactiveStateEngine or parameters metrics1 and metrics2 in createDualOwnershipReactiveStateEngine use built-in aggregate functions.

Solutions

Specify optimized built-in functions to metrics (see createReactiveStateEngine for supported functions), or use an aggregate function within a user-defined stateless function (without @state declared).