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

Question

Question

Try-catch: Only Send if missing field value error

asked on August 31, 2021 Show version history

I have a workflow that emails update requests to clients if the file is of a certain age. I am using a try-catch as sometimes, these files do not have a value in the email metadata field. 

This try-catch will email the manager the file# so that it can be updated and have an email sent the next time the workflow runs.

This works fine but sometimes, a file (that has an email value in the metadata) will get caught in the try-catch and be sent to the manager which is not true.

I noticed in my try-catch, it is set to all errors and may be the source of my issue. The file may have had some error but a missing email address is not one of them. 

Is there a way to have it catch ONLY the files where the email value is is blank? 

 

 

0 0

Replies

replied on August 31, 2021

What is the error recorded when you hit the try-catch?

I would probably go about it a bit differently. If the goal is to only send email when there is an address, you could run a Conditional Sequence and check if the field has a value or is empty. That way you don't have to hit the mail server to find out you don't have a valid email and you are only checking the case you're interested in.

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

Sign in to reply to this post.