Filter List of references in Expression or call a Rule

Hey community, I’m developing a Mendix App to track tasks. Each task has a owner and can get Teammembers assigned. Therefore the Task object is associated with Administartion.Account, which specializes System.User. Now I want to trigger by conditional visibility, that only the owner and all teammembers can edit a task. Currently my Expression looks like this: Is there any way to fix the shown error and filter the list? Or can i somehow call Microflows/Nanoflows/Rules in Expressions?
1 answers

SOLVED: Just create a calculated attribute and call your microflow in the calculation of the attribute.