Update: See my last comment to skip to part of the answer.
I have tried many ways of doing this but not able to find any documentation or videos out there. Maybe the new version is to need.
How do we pass data contained in our process instance of a business model to the connector (Postgresql) SQL query? I have tried several ways without any success: