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...
Solved! Go to Solution.
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.
I connected to Servicenow from Flow using the following.
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 below
It works.
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
Proud to be a Flownaut!
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.
I connected to Servicenow from Flow using the following.
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 below
It works.
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
Proud to be a Flownaut!
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.
Hi @RyderMC
I was looking at servicenow permissions in the servicenow docs too, so glad you have got connected anyway.
Happy Flowing!
Thanks, Alan
Proud to be a Flownaut!
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
@Thakks I am facing the same issue, can you please let me know if you found the solution for this.
Nope no luck, i assume probably need some permission on the ServiceNow to query the api, so for now parked until i know what i am looking in to...
@Thakks , Found a solution for this, thought of updating you since it might help:
For accessing APIs from ServiceNow need to provide the role:web_service_admin in dev instance
How to connect with azure ad.
I usually use azure ad to login to servicenow. But when I use flow to connect to servicenow I don't see option to connect via AD authentication.
Hello,
Is there any way where we can connect service now to power automate. I wanted to trigger something like whenever we received any incident in our queue that will automatically will get assign to respective support team member as per there on call roaster withig 15 min.
If you know anything about this please tell me it would be really helpful.
Thanks !
@Anonymous Power Automate *can* connect to ServiceNow, as described in this thread, but what you are asking for is better handled within ServiceNow, using Business Rules for instance.
Hello,
In Service now I am unable to find bussiness rule option. can u please elaborate how can I implement this. If you have any kind of document or article on this please can you share that.
Thanks !
I don't know how your instance is setup, or your role in ServiceNow, but you'll need to be an Admin do do any scripting. Contact your company's ServiceNow support team if you're not a member. The ServiceNow developer community is also an excellent resource; if you work in that capacity I recommend signing up.
Hi,
I want to connect to Service Now from Microsoft Flow and want to achieve below feature -
Flow Button to ServiceNow Incident | Microsoft Power Automate
I have below queries on how to proceed and -
1) how to get PREMIUM access to MS flows as this is a PREMIUM feature
2) how to get the correct details like instance name, user id and password. Currently it shows invalid connection for me.
Thanks!! Any leads will be very helpful!
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
Did you know that you could restore a deleted flow? Check out this helpful article.
Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.
User | Count |
---|---|
32 | |
32 | |
24 | |
24 | |
20 |
User | Count |
---|---|
62 | |
57 | |
43 | |
37 | |
28 |