# Trouble with "Sometimes" link forwarding

**URL:** <https://forum.adalo.com/t/trouble-with-sometimes-link-forwarding/31673>\
**Category:** Get Help\
**Created:** [September 9, 2022, 4:10am UTC](https://forum.adalo.com/t/trouble-with-sometimes-link-forwarding/31673 "2022-09-09T04:10:28Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Henk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/henk/32/23564_2.png) [@Henk](https://forum.adalo.com/u/Henk)\
**Post date:** [September 9, 2022, 4:10am UTC](https://forum.adalo.com/t/trouble-with-sometimes-link-forwarding/31673/1 "2022-09-09T04:10:28Z")

</div>

Hi,

I have created a Database Collection called User Roles. In this Collection, there are 5 User Roles available: Admin, Director, Coach, Mentor, and Founder.

I have created a Relationship between the Collection Users and the Collection User Roles. A User can have multiple Roles and a Role can have multiple Users.

I have created a Screen called Complete Profile, where people are sent to after they sign up. On this screen, people add information in a Form and click on the Submit Button to continue. I have set the Link Action to link to the Home Screen - Sometimes - When Logged in User \> User Roles contains Founder.

The test user has the correct User Role, but is not forwarded to the Home Screen. When I change Sometimes to Always, the forwarding works correctly. When I change it back to Sometimes, it stops working again.

Does anyone know what I am doing wrong?

Thanks!  
Henk

---

<div class="post-metadata">

**Author:** ![charleshope](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/charleshope/32/25088_2.png) [@charleshope](https://forum.adalo.com/u/charleshope)\
**Post date:** [September 9, 2022, 6:42am UTC](https://forum.adalo.com/t/trouble-with-sometimes-link-forwarding/31673/2 "2022-09-09T06:42:04Z")

</div>

We need to see your settings.

You could have other elements in place affecting the flow.

Please, share screenshots or a screen recording (I recommend [Loom](https://www.loom.com/refer/70c6d2d98522485e9ea9710c313865eb)).

---

<div class="post-metadata">

**Author:** ![Henk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/henk/32/23564_2.png) [@Henk](https://forum.adalo.com/u/Henk)\
**Post date:** [September 9, 2022, 8:38am UTC](https://forum.adalo.com/t/trouble-with-sometimes-link-forwarding/31673/3 "2022-09-09T08:38:53Z")

</div>

Thanks a lot, @charleshope

> **[Adalo support 1.mp4](https://drive.google.com/file/d/1zsO1HPSm55S98yIMFJgDrvDeMlw5NIQo/view?usp=sharing)**
>
> Google Drive file.

Here is the screenrecording.

Thanks,!  
Henk

---

<div class="post-metadata">

**Author:** ![Dilon](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/dilon/32/39815_2.png) [@Dilon](https://forum.adalo.com/u/Dilon)\
**Post date:** [September 14, 2022, 8:01am UTC](https://forum.adalo.com/t/trouble-with-sometimes-link-forwarding/31673/4 "2022-09-14T08:01:33Z")

</div>

Hi Henk,

Could you try adding this condition to the Link action?

Link to the screen only when All \> User Roles \> Count \> is not equal to \> 0. And add two filters that Name \> is equal to \> Founder and Users \> All \> Contains \> Logged in user.

Thank you

---

<div class="post-metadata">

**Author:** ![Henk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/henk/32/23564_2.png) [@Henk](https://forum.adalo.com/u/Henk)\
**Post date:** [September 15, 2022, 9:44am UTC](https://forum.adalo.com/t/trouble-with-sometimes-link-forwarding/31673/5 "2022-09-15T09:44:31Z")

</div>

Thanks, @Dilon  
Your suggestions helped me experiment more and finally I found the solution.

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/system/32/40401_2.png) [@system](https://forum.adalo.com/u/system)\
**Post date:** [September 25, 2022, 9:44am UTC](https://forum.adalo.com/t/trouble-with-sometimes-link-forwarding/31673/6 "2022-09-25T09:44:54Z")

</div>

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