Upate:
I upgraded from 5.2.2 to 5.2.4 because I read that this problem
Variables with Global Names Stopped Updating in Library Actions, which looks similar to the one I reported, had been fixed in 5.2.4.
I just wanted to let you know that unfortunately, the problem that I reported still occurs in Wappler 5.2.4.
Thank you in advance for your prompt attention.
Alex