Skip to page contentSkip to chat
ServiceNow support
    • Community
      Ask questions, give advice, and connect with fellow ServiceNow professionals.
      Developer
      Build, test, and deploy applications
      Documentation
      Find detailed information about ServiceNow products, apps, features, and releases.
      Impact
      Accelerate ROI and amplify your expertise.
      Learning
      Build skills with instructor-led and online training.
      Partner
      Grow your business with promotions, news, and marketing tools
      ServiceNow
      Learn about ServiceNow products & solutions.
      Store
      Download certified apps and integrations that complement ServiceNow.
      Support
      Manage your instances, access self-help, and get technical support.
Using Integrated Authentication for a JDBC Flow Activity (Orchestration/Flow Designer) - Support and Troubleshooting
  • >
  • Knowledge Base
  • >
  • Support and Troubleshooting (Knowledge Base)
  • >
  • Using Integrated Authentication for a JDBC Flow Activity (Orchestration/Flow Designer)
KB0778428

Using Integrated Authentication for a JDBC Flow Activity (Orchestration/Flow Designer)


2352 Views Last updated : Jan 3, 2025 public Copy Permalink
KB Summary by Now Assist

Summary

Customers may use a custom JDBC activity to automate SQL commands and stored procedure calls to relational databases from orchestration.
If there is a requirement to use "Integrated Authentication", there is no option available to enable this when setting up a JDBC connection unlike Import sets where it is available in the data source configuration.
 
To get around this, you can make a modification to the "Connection URL" in the "JDBC Connection" record to include the following:

integratedSecurity=true

 

This tells the instance to use integrated authentication when making the JDBC connection.

Release

All versions

Instructions

Go to the JDBC connection record (jdbc_connection.do)

 

There are 2 ways in which to modify the Connection URL to include this:

1) Change the "Format" to "-- None --" and adding the Connection URL 

ie. jdbc:sqlserver://<Server>;selectMethod=cursor;databaseName=<Database name>;integratedSecurity=true

The drawback is that you won't able to use "Test Connection" in the activity designer and have to use "Test Inputs" to test.

 

OR

 

2) Run a background script to modify the "connection_url" field in the record to include "integratedSecurity=true".

This method still allows the "Test Connection" to be used. The only drawback is if you modify the JDBC Connection record, it may reset the connection URL and you will have to modify the field again to include Integrated Authentication.


The world works with ServiceNow.

Sign in for more! There's more content available only to authenticated users Sign in for more!
Did this KB article help you?
Did this KB article help you?

How would you rate your Now Support digital experience?

*

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

What can we improve? Please select all that apply.

What are we doing well? Please select all that apply.

Tell us more

*

Do you expect a response from this feedback?

  • Terms and conditions
  • Privacy statement
  • GDPR
  • Cookie policy
  • © 2025 ServiceNow. All rights reserved.