cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Helper I
Helper I

Sql when an item is created filter context

Using Sql when an item is created filter context(v2)  I am trying to filer the sql table to only trigger when a status code equals QF.

 

The flow fails.  I can get it to work if I leave filter out, but it gives me all status. I only want to be triggered when a new item with 

IC_STATUS_CODE = QF.

 

I tried IC_STATUS_CODE eq QF

 

 

"The field 'QF' of the record wasn't found.\r\n inner exception: The field 'QF' of the record wasn't found.\r\nclientRequestId: 9b17012f-8afa-474d-bfc2-65f2111e4ccd",
2 REPLIES 2
Dual Super User III
Dual Super User III

Its interpreting QF as a field name or variable and not a value.  Normally in SQL you surround constants like this with ''.  Try using 

IC_STATUS_CODE = 'QF'



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
Community Support
Community Support

 

Hi @drobinson ,

 

Please try to use this expression:

123.PNG

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (77,377)