You must perform the following steps:
Create an animation event to trigger a script on screen open
Use VB script to establish to send a query to the Automation business workflow
Build logic in the Automation Business Work modules to query the database and send the result back to the HMI screen
Add code to the VB script to parse the response and create necessary objects on the screen. If objects have intelligence in them, create sample shapes with full animation in them hidden on the page and have the VB script to create copies and modify their properties on opening the page.