Hi,
I have a dynamic filter that will currently assign a task to a team member based on a form variable. That part is pretty straightforward and working well.
However, if the variable is blank, we would like to assign the task to the team as unassigned as if "No filter" was indicated rather than a dynamic filter.
I can get pretty close to what I want if I do something like this, and the task does ultimately end up in the Unassigned bucket, but it shows that it's in progress with all the team members as opposed to just the team name:
if ($util.getValue('AssignToInvestigator') == '') { $result = team.getAllMembers(); // Can we somehow indicate "Unassigned" here? } else { $result=team.findTeamMembersByDisplayName($util.getValue('AssignToInvestigator')); }
Any thoughts on how to do this cleanly without adding more gateways and tasks to the business process?
Thanks!