cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
RyderMC
Level: Powered On

Flow cannot connect to ServiceNow

Tried using a few of the ServiceNow flow examples, but can't get past the following error when attempting to connect:

 

"Please check your account info and/or permissions and try again."

 

Not helpful.  I can't find out what's expected for the Connection Name and Instance Name parameters.  I've tried the ServiceNow full instance url as well as just the name, and neither works.  Connection Name isn't even listed in the online docs (https://docs.microsoft.com/en-us/connectors/service-now/#creating-a-connection).

 

Any ideas?  Working examples?  Sure would be nice if the docs went into more detail...

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: Flow cannot connect to ServiceNow

Hi @RyderMC . Thank you for posting thie issue relating to ServiceNow.

You say "I can't find out what's expected for the Connection Name and Instance Name parameters"

Below is what I have did and it works:

Firtsly I went to https://developer.servicenow.com and created a dev instance.

I then captured the details from below, yours will be in the same format regardless of dev or production.Capture-210.png

I connected to Servicenow from Flow using the following.Capture-212.png

 

The connection name I just named it that, the instance name came from the Snow URL.

I then created a test incident in servicenow, I captured it's sys_id and did the belowCapture-211.png

It works.Capture-213.png

In summary.

Call your connection whatever you want, just get the instance name correct

https://<Instance Name>.service-now.com/nav_to.do?uri=

 

If you have found my post helpful, please mark thumbs up.

If this post has solved your problem, please click "Accept as Solution".

Any other questions, just ask.

Thanks, Alan


Did I answer your question? Mark my post as a solution!

Proud to be a Flownaut!


View solution in original post

5 REPLIES 5
Super User
Super User

Re: Flow cannot connect to ServiceNow

Hi @RyderMC . Thank you for posting thie issue relating to ServiceNow.

You say "I can't find out what's expected for the Connection Name and Instance Name parameters"

Below is what I have did and it works:

Firtsly I went to https://developer.servicenow.com and created a dev instance.

I then captured the details from below, yours will be in the same format regardless of dev or production.Capture-210.png

I connected to Servicenow from Flow using the following.Capture-212.png

 

The connection name I just named it that, the instance name came from the Snow URL.

I then created a test incident in servicenow, I captured it's sys_id and did the belowCapture-211.png

It works.Capture-213.png

In summary.

Call your connection whatever you want, just get the instance name correct

https://<Instance Name>.service-now.com/nav_to.do?uri=

 

If you have found my post helpful, please mark thumbs up.

If this post has solved your problem, please click "Accept as Solution".

Any other questions, just ask.

Thanks, Alan


Did I answer your question? Mark my post as a solution!

Proud to be a Flownaut!


View solution in original post

RandallAtRyder
Level: Powered On

Re: Flow cannot connect to ServiceNow

(logged in wrong to reply)
RyderMC
Level: Powered On

Re: Flow cannot connect to ServiceNow

Thanks. Turns out there was no problem with what I was doing on the Flow side; another ServiceNow role had to be added so the user could create records. In this case, we used the ITIL role.

Super User
Super User

Re: Flow cannot connect to ServiceNow

Hi @RyderMC 

I was looking at servicenow permissions in the servicenow docs too, so glad you have got connected anyway.

Happy Flowing!

 

Thanks, Alan


Did I answer your question? Mark my post as a solution!

Proud to be a Flownaut!


Thakks
Level: Powered On

Re: Flow cannot connect to ServiceNow

Do i need any special permisson on ServiceNow to extract data, like API access. Currently when i try to validate my credential, it keeps popping up with Test Failed. I want to publish change request and incident from ServiceNow on to Microsoft Team and using one of the flow template but failing to validate my connection to ServiceNow.

Thanks

Helpful resources

Announcements
firstImage

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

firstImage

Incoming: New and improved badges!

Look out for new contribution recognition badges coming SOON!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Solution Authors
Top Kudoed Authors
Users online (4,812)