Invoker issue in workflow

Hi,

Could you please help me understand why invoker is not passing in the User membership Check function ?

execution failed: cannot cast value *auth.identity to ID (target user): unable to create ID: unable to cast auth.identity{id:0x686fe442a300001, memberOf:[]uint64{0x686fe442a020001, 0x68a4baf57160001, 0x686fe442a030001}} of type auth.identity to uint64

Hi,

If helpful for people facing the same issue, you should use invoker.Identity() instead of invoker only.

thank you