web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / ServiceNow get inciden...
Power Automate
Answered

ServiceNow get incidents from customer

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I created a Flow to get the Incidents from a customer. I use the ServiceNow connector from Flow. The connector is configured like this: 

LIST RECORDS:

Record Type: Incident

Display System References: Yes 

Exclude Reference Links: Yes

 

When I run this. it works. I get the infomrations in a json like I expect from all customers. When I add a query like this: company='COMAPANYA', I dont get anything back. Anyone an idea? I know this company exist and I see it in the first query... 

 

Regards Daniel

 

Categories:
I have the same question (0)
  • Sutherland Profile Picture
    Microsoft Employee on at

    Hello Daniel,

    Could you share more details of your mentioned 'add a query like this: company='COMAPANYA''?

    In usual, we could ust Filter array function to get your Jason filter like following snapshot.

    1.png2.png

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi Johnny

     

    We have thousand of Incidents. So I would like to query already in the request to ServiceNow. This how it is configured: 

    Servicenow.PNG

    I get no Incidents.  

  • Verified answer
    Sutherland Profile Picture
    Microsoft Employee on at

    Hello Daniel,

    Have you ever tried any other queries to check whether it works or not like following doc suggested? I would like want to narrow down the issue scope. Or you could check flow history input body to confirm whether the query expression is correct.
    https://docs.microsoft.com/en-us/connectors/service-now/#list-records

    PIC.png

     
  • DJ-1000 Profile Picture
    2 on at

    Hi Daniel,

    An easy way to create queries is to first run the query in ServiceNow then right-mouse click and copy, then paste in Power Automate.

    DJ1000_0-1717632817177.png

     


     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 557

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 264 Super User 2026 Season 1

Last 30 days Overall leaderboard