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 / sharepoint Get Items e...
Power Automate
Unanswered

sharepoint Get Items error when trying to read emty column

(0) ShareShare
ReportReport
Posted on by 8

Dears,

I created an action to read from a SharePoint list.

It reads the items but when I checked the body, it only contains the columns with data.

How I can read other columns too, the ones with empty values as this gives me an error when I trying to insert the item in Excel file.

Edit:

the case is that

1- I read the list items using SharePoint get items Action.

2- loop on items using apply  to each

3- insert the item in DB using an on-premise gateway.

the error occurred when I try to insert an item with incomplete data, say my list has 5 fields, it gives an error if I only insert 3 fields and not the five.

Unable to process template language expressions in action 'Insert_row_(V2)' inputs at line '1' and column '2815': 'The template language expression 'item()['Revised_x0020_Baseline_x0020_Pla']' cannot be evaluated because property 'Revised_x0020_Baseline_x0020_Pla' doesn't exist, available properties are '@odata.etag, ItemInternalId, ID, Title, Baseline0_x0020_Planned_x0020__x, Actual_x0020__x0025_, {Identifier}, {IsFolder}, {Thumbnail}, {Link}, {Name}, {FilenameWithExtension}, {Path}, {FullPath}, {HasAttachments}, {VersionNumber}'. Please see https://aka.ms/logicexpressions for usage details.'.

Error.JPG

Categories:
I have the same question (0)
  • ScottShearer Profile Picture
    25,270 Most Valuable Professional on at

    @MGamal89 

    Please post a screen shot of your Flow in edit mode - that will be a big help to those trrying to assist.

     

  • MGamal89 Profile Picture
    8 on at

    Thanks for your reply.

    I updated the main message with a screenshot of the flow section with the error.

    Also, I added a scenario of what I'm doing to see the error

  • Verified answer
    ScottShearer Profile Picture
    25,270 Most Valuable Professional on at

    @MGamal89 

    Haven't tested this, but give this a try...

    Replace all references to SharePoint columns that are not required columns with an expression similar to my example below.  My example references the title column:

    if(equals(body('Get_item')['Title'],null),null,body('Get_item')['Title'])
     
     
  • Verified answer
    v-alzhan-msft Profile Picture
    on at

    Hi @MGamal89 ,

     

    Take a try with expression for each column insert to the server:

    if(equals(length(ColumnExpression),0),null, ColumnExpression)

    Example:

    if(equals(length(items('Apply_to_each')?['Title']),0),null,items('Apply_to_each')?['Title'])

     

    Best Regards,

    Alice

     

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

  • MGamal89 Profile Picture
    8 on at

    it Works. Also i used Contain function and it works too.

    Thanks.

  • MGamal89 Profile Picture
    8 on at

    I didn't try it, but I think it will work too.

    I used Contain function.

    Thanks for your reply.

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

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard