All ProcessRobot data is stored in an SQL Server database.
As some organizations have multiple databases, an automated way to identify the correct "ProcessRobot Database" could prove indeed useful.
The database is identifiable via the "Installation Id" that can be seen at "Settings -> General" in Control Desk.
The "Installation Id" can be traced within a ProcessRobot Database (v2019, v2020) in the "dbo.installation_info" table.
In the attached screenshots, a Process that looks for the "Installation Id" in all the databases of an SQL Server is explained in detail.