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 / How to remove a field ...
Power Automate
Unanswered

How to remove a field in a row after a period of time?

(1) ShareShare
ReportReport
Posted on by 14

I'm building a flow that will remove an entry in a row after 6 months. I want the below 4 fields to be blank after 6 months, essentially. They are part of a row with more fields.:

patty2904_0-1720685951155.png

 

This is what my current flow looks like:

patty2904_1-1720686000987.png

With compose having the formula: 

addDays(utcNow(), 180)
 
Filter array having:
From body/value
Filter Query: Last Strike Date is less than 
addDays(utcNow(), -180)
 
Apply to each has: body/value
And in update row, I am doing:
patty2904_2-1720686077978.png

I have tried a few variations, and they're all failing. Can anyone spot anything?

 

Categories:
I have the same question (0)
  • Manish Solanki Profile Picture
    15,169 Moderator on at

    Hi @patty2904 

     

    Assuming 'Last Strike Date' is the unique column in excel file to update record in it.

     

    You need to select the 'key column' as 'Last Strike Date' and add an expression in 'key value' parameter. Expression needs to be added in the function box as shown below:

    ManishSolanki_0-1720688735579.png

    items('Apply_to_each')?['Last Strike Date']

     

     

     

     

     

    If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.

     

  • patty2904 Profile Picture
    14 on at

    Thank you for your reply!

     

    I think there's still an issue with my apply to each.

     

    Unable to process template language expressions for action 'Apply_to_each' at line '0' and column '0': 'The template language expression 'outputs('Filter_array')['body/value']' cannot be evaluated because property 'body/value' doesn't exist, available properties are 'body'. Please see https://aka.ms/logicexpressions for usage details.'.

     

    patty2904_0-1720689379050.png

    Which of the below should I be using?

    patty2904_1-1720689406556.png

     

  • Manish Solanki Profile Picture
    15,169 Moderator on at

    Hi,

     

    Pls pass body of filter array:

    ManishSolanki_0-1720689819014.png

    when you hover mouse, it should look like: body('Filter_array')

    ManishSolanki_1-1720689862248.png

     

     

     

     

    If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.

     

  • patty2904 Profile Picture
    14 on at
    Hi @ManishSolanki
     
    I think I'm getting close to the solution. I'm getting the error: Action 'Update_a_row' failed: The 'inputs.parameters' of workflow operation 'Update_a_row' of type 'OpenApiConnection' is not valid. Error details: The resolved string values for the following parameters are invalid, they may not be null or empty: 'id' - 1
     
    This is what my table looks like:
     

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 427

#2
Vish WR Profile Picture

Vish WR 316

#3
David_MA Profile Picture

David_MA 260 Super User 2026 Season 1

Last 30 days Overall leaderboard