cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Mgodby
Post Patron
Post Patron

Is there a way to trigger using ServiceNow for Power Automate?

Hello. I am trying to make a flow that will get specific values from a ServiceNow ticket and use those values to create a record in dataverse.

Is there a way to trigger a Flow using ServiceNow? I was also wondering if another way to do it would be to use a recurring flow and then using the List Records to get all the tickets that have been created. Will that work?

Screenshot 2021-10-04 170759.png

I'm just wondering what the best way to do this would be. Thank you.

1 ACCEPTED SOLUTION

Accepted Solutions
Expiscornovus
Super User
Super User

Just tested it in my dev instance. Looks like a custom field of type string on the Change Request form in the latest version (Rome) is picked up by the connector 😁

 

1. Adding a field on the Change Request Layout form

 

powerautomate_customfield_servicenowrome.png

2. Retrieving it via the List Records action.

powerautomate_customfield_servicenowrome02.png

View solution in original post

5 REPLIES 5
eric-cheng
Solution Sage
Solution Sage

Hi @Mgodby ,

 

There currently aren't any triggers available in the ServiceNow connector.

 

You could:

 

1) Create your own trigger using a custom connector

2) Create your flow with a HTTP trigger and call your endpoint directly from ServiceNow as a REST API call

 

Feel free to also post up an idea in the ideas board here

--------------------------------------------------------------------------
If I have answered your question, please mark my post as a solution
If you have found my response helpful, please give it a thumbs up

Connect on LinkedIn

 

 

 

Thank you. For the list records action, is the dynamic content returned based on the fields used to create the ticket? Like custom fields? I'm a bit unfamiliar with servicenow and don't really have access to it to test. 

eric-cheng
Solution Sage
Solution Sage

Hi @Mgodby ,

 

Looking at the documentation here , it doesn't give a lot of details/info.

 

I have not used the ServiceNow connector in detail and don't have an instance available to test but you would normally need to use a combination of List Records and then Get Records to get more details of a ticket.  However, I have read that with other connectors like Salesforce and Jira, custom fields may not come across.  As such, you may still need to revert to the ServiceNow APIs.  

 

Again, others who have used it recently can comment or you would just need to stand up a trial and test.

--------------------------------------------------------------------------
If I have answered your question, please mark my post as a solution
If you have found my response helpful, please give it a thumbs up

Connect on LinkedIn

Expiscornovus
Super User
Super User

Hi @Mgodby & @eric-cheng,

 

I don't know if it helps. But you can sign-up for the developer program to spin up a free developer instance of ServiceNow:

https://developer.servicenow.com/dev.do#!/guides/rome/developer-program/pdi-guide/personal-developer...

 

I have also been using that in the past to explore ServiceNow, works pretty good 🙂

Expiscornovus
Super User
Super User

Just tested it in my dev instance. Looks like a custom field of type string on the Change Request form in the latest version (Rome) is picked up by the connector 😁

 

1. Adding a field on the Change Request Layout form

 

powerautomate_customfield_servicenowrome.png

2. Retrieving it via the List Records action.

powerautomate_customfield_servicenowrome02.png

View solution in original post

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (1,340)