You will need to post some code so others can try to provide assistance. Normally, you can’t access variables using a hierarchical path. The config_db is provided to enable access to common configuration objects.
A scoreboard is a verification component designed to examine TLM transactions and determine if your DUT is working correctly. There should never be any need to access any scoreboard information from outside of the scoreboard.