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 / Adding a validations t...
Power Automate
Answered

Adding a validations to powerautomate to check if a value exists in sharepoint list

(0) ShareShare
ReportReport
Posted on by 212

Hello,

 

I am using MS Form to create a submission to a SharePoint list. I want to add validations in the power automate to check if the File File # value from MS Forms already exists in the SharePoint List column "Firm File #". 

 

I am getting an error in the Get Items action.  I have added an expression  in the Filter Query "'FirmFile_x0023_ eq {{triggerBody()?['File File #']}}'".   I am receiving an error message saying" The expression "''FirmFile_x0023_' eq {{triggerBody()?['File File #']}}'" is not valid. Creating query failed. clientRequestId: f6b5b205-bd57-47af-8309-face8a943696 serviceRequestId: f6b5b205-bd57-47af-8309-face8a943696

 

I think the issue is with the name of the sharepoint list field name.

 

Here is my flow:

  • When a new response is submitted
  • Get Response details 
  • Get Items

@abm 

Categories:
I have the same question (0)
  • abm abm Profile Picture
    32,985 Most Valuable Professional on at

    Hi @mthiru_0023 

     

    Where you storing the files? Under SharePoint list or document library. Could you post a screenshot of FirmFile_x0023_ column and data type from the list settings?

  • Verified answer
    mthiru_0023 Profile Picture
    212 on at

    Thanks @abm . I was able to fix it using the dynamic value for File File #.

    Fileno eq 'File File #'

    mthiru_0023_0-1675884346042.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
David_MA Profile Picture

David_MA 77 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 68

#3
Expiscornovus Profile Picture

Expiscornovus 56 Most Valuable Professional

Last 30 days Overall leaderboard