Obtain 2 tag lists with the same firebase but different address

This time I'm trying to reduce my use of FirebaseDB.

That's why I'm trying to get two lists of tags with the same name but different paths: GET/GROUP and GET/SUB GROUP.

By the way, they're already sorted alphabetically.

image

ANY SUGGESTIONS?

When I use only one, I get it, but when I enable the second one, it stops.

Your conditions make no sense at all: if A=A is always true. If B is not B = always false. Maybe you should learn how If (then,else or else-if) conditions work. Remember: If Conditions only return „true“ or „false“
Ps: 1. use „Do It“ to debug your blocks
2. Sorry, but I cant help here. Most of your blocks seem very confusing to me. Check your „if“ logic once more

It's just an example. Here's a better one.

Because of your data structure, you need to ask for everything under GET all in one request.

So set Bucket to GET and ask for the empty text as the tag..

When the tag/value arrives, you will receive nested dictionaries and lists, with everything you want buried in there somewhere.

Alternatively, you could set aside two global variables, one for each branch of the tree (GRUPO vs SUB GRUPO), both set to blank text when you submit two tag/value requests, one for GET/GRUPO and the other for GET/SUB GRUPO.

When tag/value request results arrive, you would have to save the value in the appropriate global variable, according to the incoming tag. After storing the value, check if either global variable is still empty. If one of them is empty, do nothing (leaving the processing for later, after both have arrived.) If both global variables are non-empty, you have enough data in them to pull whatever you want out of the global variables.

Something like this?
Could you sketch it in the block, please?