Execute a PostgreSQL Database query and display in Portal

prabhur34
Mega Contributor

I have an external database PostgreSQL and I need to fetch the data (select query, say) and display them in Service Portal.

I have the widget created with sample html, but not sure ServiceNow supports external DB queries in Server Script. Any leads or directions for doing this will be appreciated.

2 REPLIES 2

Deepak Ingale1
Mega Sage

For READ operation, we can create JDBC type data source.


JDBC type data source



Previous post is valid for UPDATE and INSERT operations