I have been playing around with the javaScript in customer Team filters and cannot quite seem to get.
The scenario is for a invoice to get coded by a team and then approved by a team.
Sometimes the coder also happens to be part of the approval team. It still needs to go to the approver team but not to the person that has done the coding (approver cannot approver their own coding).
Is there a way you can assign a task to a Team but exclude one person from that team? I have seen things like the team.excludeLastTaskSubmitters() but can't seem to get it.
Any options would be helpful.
Thanks!