# Making Gravityflow assignee conditional to who completed the previous step

**URL:** https://community.gravityforms.com/t/making-gravityflow-assignee-conditional-to-who-completed-the-previous-step/19644
**Category:** Get Help
**Created:** [August 4, 2025, 12:39pm UTC](https://community.gravityforms.com/t/making-gravityflow-assignee-conditional-to-who-completed-the-previous-step/19644 "2025-08-04T12:39:25Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![user5c349c9476fd86.1](https://avatars.discourse-cdn.com/v4/letter/u/9dc877/32.png) [@user5c349c9476fd86.1](https://community.gravityforms.com/u/user5c349c9476fd86.1)
#### Post date: [August 4, 2025, 12:39pm UTC](https://community.gravityforms.com/t/making-gravityflow-assignee-conditional-to-who-completed-the-previous-step/19644/1 "2025-08-04T12:39:25Z")

</div>

Hi,

I know this isn’t possible by default, I have already noted a feature request for this.

But maybe somebody has a temporary workaround for this.

We want to setup a workflow where:

One user completes a user input step (assigned to role as we don’t know which of the users will complete it)

Based on that fact:

Any of the other remaining users is required to approve.

In

other words: the user who completed the input step is not allowed to also approve.

Any suggestions?

---

<div class="post-metadata">

### Author: ![chrisegg](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/chrisegg/32/16764_2.png) [@chrisegg](https://community.gravityforms.com/u/chrisegg)
#### Post date: [August 4, 2025, 7:00pm UTC](https://community.gravityforms.com/t/making-gravityflow-assignee-conditional-to-who-completed-the-previous-step/19644/2 "2025-08-04T19:00:09Z")

</div>

Hi Andor,

You will need to use a couple of filters and custom code to accomplish this.

First step, is to add a hidden field to the form that will allow you to capture the user ID of the user completing the User Input Step with the [gravityflow\_step\_complete](https://docs.gravityflow.io/gravityflow_step_complete/) filter.

Second step, you could use either of the filters below to block or remove that user from the approval step:

[gravityflow\_step\_assignees](https://docs.gravityflow.io/gravityflow_step_assignees/)

**[gravityflow\_validation\_approval](https://docs.gravityflow.io/gravityflow_validation_approval/)**

---

<div class="post-metadata">

### Author: ![user5c349c9476fd86.1](https://avatars.discourse-cdn.com/v4/letter/u/9dc877/32.png) [@user5c349c9476fd86.1](https://community.gravityforms.com/u/user5c349c9476fd86.1)
#### Post date: [August 5, 2025, 5:14am UTC](https://community.gravityforms.com/t/making-gravityflow-assignee-conditional-to-who-completed-the-previous-step/19644/3 "2025-08-05T05:14:03Z")

</div>

Morning Chris,

Thanks for that, may need to dust off (de-rust) my PHP skills a bit to see if we can get this working.  
I think the assignee filter may be a better fit as that way you could also achieve:

- assign step to who completed the previous step  
type scenario’s as well with roughly the same code.

I think if Gravityflow would support this natively, a lot of very powerful scenario’s become possible.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex020/uploads/gravityforms1/original/2X/f/fef63f0599c45e0218c30d9f5d7ca8bff9b00189.png) [@system](https://community.gravityforms.com/u/system)
#### Post date: [September 4, 2025, 5:14am UTC](https://community.gravityforms.com/t/making-gravityflow-assignee-conditional-to-who-completed-the-previous-step/19644/4 "2025-09-04T05:14:25Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
