I'm getting an error message ""Employee" (line 8, column 25) : Error : This comparator may only preceed an array key field that implements the Hierarchy pattern, a group field that implements the FieldRange pattern, or a field that is a BusinessClassGroup.
> if (Employee within HROrganization.UPHSFilterGroupBNDC61Elig)" when I'm trying to create the following derived field. We have other fields that are exactly the same so I don't see what's wrong with this.
Any help would be appreciated. (The custom group exists and the field "UPHSFilterGroupBNDC61Elig" is populated with the custom group name.)
Derived field syntax:
Employee is a BusinessClass
owned by hr
Derived Fields
UPHSDerivedFidelityDivisionCode is a DerivedField
type is Alpha size 4
if (Employee within HROrganization.UPHSFilterGroupBNDC61Elig)
return "DC61"
Thank you!