You are using anyType parameter for value method. That could be causing the error, try by using one of the mentioned types(in the error).
Hey guys,
I already know Martin Dráb, Jon Stypula, and I are attending, but who else out here in DUG land is attending the Dynamics 365 tech conference next week?
-Jake