Hi, I am trying to figure out how to easily bypass a Union if one stream is empty/null/na or if API in macro is not available. I have run into this a few times now and have not found a easy way to get past this issue. I think I could probably use a macro with a set of detours/control parameters?? but that seems like major overkill.

Here is what I am trying to accomplish- take my list of skus - pass to a join and join skus to the data from the lookup table. For all skus in the lookup, join then pass through. If skus not in lookup via left join - then use the macro to call an API to get the missing data - that data is then written to lookup table(in the macro) for future reference so I am not hitting api unless a new sku(s) is added.
If the api is not available or all skus are in the lookup table (eg no left join), then the union does not pass along the good stream to complete the workflow.
Anyone have a clever approach to get this process to work as intended?
Thanks
Anthony
FYI - high level of macro - basic input - get data - output and write to table new data.
