You are viewing limited content. For full access, please sign in.

Question

Question

Find User failure exists workflow

asked on April 18, 2022

I am finding that a Find User by email activity causes termination of the workflow when the lookup is unsuccessful.

Is this the normal behaviour?

I should be able to test the results and work with a not found outcome.

0 0

Replies

replied on April 19, 2022

Try putting your find user in a try-catch activity

0 0
replied on April 19, 2022

I just read your post after I posted a feature request about this very thing.

0 0
replied on April 19, 2022

I was able to work through this by using the try-catch activity.

It would be hard to fix this by changing the find activity to flow through with a not found outcome because it would break workflows like mine that include the try-catch now.

I agree with posts elsewhere that a results found outcome has two values: true and false, and that a false outcome should be testable without an error catch.  This would be consistent with other activities that have a results found outcome.

0 0
replied on April 19, 2022

The change that I requested would not break your workflow. It would add an option to the activity for the designer to choose. For workflows already using the activity it would retain the Error option so it wouldn't break already existing workflows.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.