Filter WFUSER by idBossUser
i have a project where we have 2 types of participants, trainee and partner. (partner is someone who shares the same bossID with another user and trainee is someone whose boss is the current user)
id like to select between trainee and partner (parametric entity) and filter a WFUSER field to only show users that are partners or trainees.
i know you have to use a filter with expression, with an if evaluating if "trainee" or "partner" was selected and then filterwing WFUSER accordingly but i dont know what expression to write