Hi PuoLim,
Did you configure the postgreSQL DB in you configuration correctly?
Creating a variable is not adding something to the database.
For that you need to Create (and Commit) an object.
However, the way you want to interact with a procedure in your database, you probably want to use the Database Connector module. You can find the documentation here: https://docs.mendix.com/appstore/connectors/database-connector/
This module will allow you to specify how you interact with the database, for example these actions will be available.
The CALL statement can be implemented through the Execute Query action.
Hope this will help you.
Peter
This is my current problem, may you help me?This is my current problem, may you help me?
'{ARRAY[("1", "DMS", "DMS", true)]::segments[]}' this seems to be a PHP call.
Can you not just use SQL like this: CALL create_site(1, 'DMS’, 'DMS’, true)
Can you try this?
'CALL create_site( ''Tokyo'', array[1, "DMS", "DMS", true] );'