Asana Fields Throw Errors Instead of Following Else/If Control Flow

Getting info unreliably (ex of the message I get: No match found for selector: "#CustomPropertyRow-field1206587236198695")
image

Getting no info. Pulls a blank (no error either)
image

I extract information from fields in Asana regularly when reaching out to customers.

Often times, the project ID field throws an error when using {site: text}. I am not sure why. I want to create an if/else statement or something to make it so that if it throws an error, it uses the other {site: text} I have later in the statement. The weird thing is that it will just throw an error instead of moving onto the next statement. I am not sure how to achieve what I want.

We also use alphanumerical abbreviations in the IDs (like "LIS") and I think contains could be used with an else/if statement to generate different output based on the letters. No luck there either.

Any help? lol

Hi @Ishmael_Roots Welcome back to the forum! :slight_smile:

Can you please share where exactly in Asana you're trying to make this selection? I checked New Task page and the Tasks list page, and I could not find a similar UI to what you have.
You can share the steps to get to this page, or a bigger screenshot so I can understand this better.

Once I have the page, I can try to create a more robust site selector for your use case.