Search for Users with email X is incorrectly returning 0

I have a condition in a workflow:

Search for Users
constraint: (email field’s input value)

In this case, there is a user with that email in the database, yet the workflow :count is incorrectly returning 0.

image

Because of this, the workflow tries to create an account when there already is an account and I get the error message:

This email is already in use: X+test@gmail.com

Hi there, @brenton.strine… do you have any privacy rules in place on the User data type that would prohibit the user from being found in a search?

Best…
Mike

1 Like

Oohh, yes I do

Ok this is tricky because the user’s email address should be “private” and yet if the user already has an account I want to prepopulate the form for them. I guess I need to rethink this.

2 Likes

This topic was automatically closed after 70 days. New replies are no longer allowed.