Validate data rules is not working, if database connection coms from globals

Wappler Version: 3.6.0
Operating System: Windows 10 Pro

If I link the db-connection internally within an action, then it works. Please correct it!