You are viewing limited content. For full access, please sign in.

Question

Question

User Task - Dynamic Filter

asked on August 26 • Show version history

Hello all, I am trying to correct an issue with dynamic filtering.

The user task I am working with is assigning a task using the Team based on variable option.

Under the Team option, there is a team selected and the dynamic filter is defined.  The filter should assign the task to the user in the team with a role of 'SGT'.

Based on the screen shots, I do not see how the dynamic filter code is ever called unless {/dataset/Case_AssignedBureau} = 'DWI Unit'.  'DWI Unit' is one of several bureaus we have.

We are having issues where the task is being assigned to the entire team instead of to the user with the SGT role.

Screenshot 2026-08-25 101229.png
Screenshot 2026-08-25 095918.png
0 0

Replies

replied on August 27

try just filtering on the role and use the Team/filter option:
$result = team.findMembersByRole('SGT');

0 0
replied on September 28

Like the dynamic team name, the dynamic filter calls a filter based upon the variable value in the field. If you wish to always run the "Officer Assigned - DWI Unit" filter, then just put "Officer Assigned - DWI Unit" as the dynamic filter.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.