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

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

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 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard