Filtering a View using the Assignee field from Gravity Flow
With Gravity Flow and Advanced Filtering, a View can list the entries a workflow is waiting on the signed-in user for, such as the expense claims they have to approve. Gravity Flow adds a Workflow Assignee condition to Advanced Filter for this.
To assign entries to users without Gravity Flow, see Listing entries assigned to a specific user.
Step 1: Let the form choose who handles the entry #
- Edit the form and add an Assignee field from the Workflow Fields group. Its drop-down lists your WordPress users and roles.
- Go to the form’s Settings, then Workflow, and edit the step the chosen person should handle, such as an approval step.
- Under Select Assignees, pick the Assignee field from the Fields group, then click Update Step Settings.

Gravity Flow’s documentation describes the field in The Assignee Field.
Step 2: Filter the View by the current assignee #
- Edit the View and click the Filter & Sort tab in the Settings box.
- Under Advanced Filter, click Add Condition and set it to Workflow Assignee,
is, Current User. - Click Update.

The View now lists the entries whose current step is waiting for the signed-in user. Once the user has done their part, such as approving the claim, the entry leaves their View. Visitors who aren’t signed in see no entries, and administrators see only the entries assigned to them.
Current User matches only entries assigned to the user directly. An entry assigned to a role doesn’t appear for the people who have that role.
List every entry a user was chosen for #
To keep showing entries after their step is done, add a condition on the Assignee field instead. Gravity Flow saves a user in that field as user_id| followed by the user ID, so set the condition to the Assignee field and is, and type user_id|{user:ID} as the value.
Each signed-in user then sees every entry that names them in the field, whatever the state of its workflow, and visitors see none.