Using Team Filters

You can automatically assign tasks to team members using the User Task. By adding roles to the team, you can assign tasks to users who have a specific role on the team or who share some other criteria. A couple common roles are provided for you; however, you can write a custom filter using JavaScript.

Filtering Team Members

To filter team members

  1. Open a User Task in the process designer.
  2. Open the properties pane on the right and go to Assign to.
  3. Click Select a Team to select the team to which you want to assign tasks.
  4. Select a team and then click Select.
  5. Select the Filter drop-down and either select an existing filter or click Create new filter.
    • Name: Type the name for your filter.
    • Method: Select JavaScript methods that will filter the team members. Ensure your finished script includes an expression that sets the value of the $result variable (which is declared before your script runs). Learn more about JavaScript filters
    • Test: Test-run the method to see how many users the filter returns.
  6. Click Save.
  7. Click Save in the top right of the process.