Can't retrieve enum "Value Name" from Asana custom field (returns empty string)

Hi everyone,

I’m trying to extract the selected value from a dropdown (enum) custom field in Asana using Make. The scenario runs fine, and I can clearly see the value in the output – in this case, it’s “Denied” (see screenshot attached).

However, when I try to map this value, I always get an empty string.

Has anyone experienced this before? How can I correctly access the selected enum value from a custom field?

Thanks a lot for your help!
Michael

1 Like

Hey Michael,

The first thing I would check for is what index on the array you’re pulling value name from.

I’m not sure how exactly you’re parsing the value but the bracket notation should be something like this: CustomFields[1][“Enumeration Value”][“Value Name”]

Can you provide a screenshot of your parsing action? Are you using an iterator to iterate through each custom field or are you looking to pull only that specific value?

Hi there,

thanks for your quick response.

I just need the value of the the Custom Field “Decision Status”. This value can be “Approved” or “Denied”. This is what I did so far:

1 Like

Hey Michael, the issue is that there’s no index specified after Custom Fields, so Make doesn’t know which item in the array to retrieve the value from. Based on your first screenshot, it looks like you’ll need to use Custom Fields[1] to access the correct enum value. If 1 bring ups the wrong value try 2. I’m not sure if Make follows zero-based indexing.

1 Like

If that doesn’t work then you’ll need to use the built in Iterator action on the Custom Field array.

Thanks, I’ve got it now. :+1:

2 Likes

Happy to hear that Michael

1 Like