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

Notifications

Announcements

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

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
    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
    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
    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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 503 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard