Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
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?

 

  • patty2904 Profile Picture
    14 on at
    How to remove a field in a row after a period of time?
    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:
     
  • ManishSolanki Profile Picture
    15,085 Super User 2025 Season 1 on at
    Re: How to remove a field in a row after a period of time?

    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
    Re: How to remove a field in a row after a period of time?

    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

     

  • ManishSolanki Profile Picture
    15,085 Super User 2025 Season 1 on at
    Re: How to remove a field in a row after a period of time?

    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.

     

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 566 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 516 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 492