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 / How can I set a DateTi...
Power Automate
Unanswered

How can I set a DateTime column in a SharePoint list to null?

(0) ShareShare
ReportReport
Posted on by 10

I have a SharePoint list with several couple of DateTime columns.  I am using a Power Automate flow to perform some actions and at a certain point I need to zero out the values in those columns, StartDateofNextReview and DueDateofNextReview.  I find I can't do it. I've tried setting the field to "null" and also empty strings.   I'm not sure what else to try.   

 

Here's the code snippet

  "inputs": {
    "parameters": {
      "dataset": "https://secoit.sharepoint.com/teams/OITEnterpriseArchitecture",
      "table": "a6c22f5b-e010-4abb-b6a8-437beafeec7b",
      "id": "@items('For_each')?['ID']",
      "item/Title": "@items('For_each')?['Title']",
      "item/FileToBeReviewed": "@items('For_each')?['FileToBeReviewed']",
      "item/FrequencyofReview/Value": "@items('For_each')?['FrequencyofReview']?['Value']",
      "item/DateofLastReview": "@items('For_each')?['DateofLastReview']",
      "item/StartDateofNextReview": "@{null}",
      "item/DueDateofNextReview": "@{null}",
      "item/ReviewTaskURL": "https://tasks.office.com/nosuchagency.gov/Home/Task@{outputs('Create_Review_Task')?['body/id']}",
      "item/ReviewInProgress": true,
      "item/ReviewTaskID": "@outputs('Create_Review_Task')?['body/id']"
    }

When I set them to null, I get this error:

 

OpenApiOperationParameterTypeConversionFailed. The 'inputs.parameters' of workflow operation 'Update_Review_Item' of 
type 'OpenApiConnection' is not valid. Error details: Input parameter 'item/DatetoStartNextReview' is required to be
of type 'String/date'. The runtime value '""' to be converted doesn't have the expected format 'String/date'.

When I leave those fields blank, the fields populate with existing values.

 

fwiw here is the screen shot from power automate that's producing the error

tdr_0-1707833751143.png

 

I'm new to microsoft development, so if there are nuances here, I have no idea what they are.

Categories:
I have the same question (0)
  • Verified answer
    CFernandes Profile Picture
    8,402 Most Valuable Professional on at

    @tdr - Welcome to Microsoft Development - From what I know there is bug in the new designer - https://www.youtube.com/watch?v=7I4b2vgG8y8 

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

     

    P.S. take a look at my blog here and like & subscribe to my YouTube Channel thanks.

  • SamLed Profile Picture
    2,338 Moderator on at

    [Edit] didn't saw previous correct answer.

  • tdr Profile Picture
    10 on at

    I've encountered some other unexpected and seemingly random behavior, which I now attribute to my tendency to switch back and forth between classic and new editors.  I thought it was me. 😞  I love a shiny new tool as much as the next guy, but I think I'll stick with the classic editor for the time being.  Thank you!

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