cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Yaseen_Merchant
Frequent Visitor

Creating a Flow to Change SharePoint Library Field Yes/No based on the Expiration Date in the Library

I need help with setting up field values based on the Expiration Date in the Library after the Post is created or Modified. When the Expiration Date = Today it will set a value in the lbr

3 REPLIES 3
ChristianAbata
Super User
Super User

hi @Yaseen_Merchant  to get the current date you can use this expression formatDateTime(utcNow(),'yyyy-MM-dd')



Did I answer your question? Please consider to Mark
my post as a solution! to guide others :winking_face:

Proud to be a Flownaut!


If you want you can follow me at www.christianabata.com Quieres contenido en español? Síguenos en Power Automate LA

Thank you. I'm getting error in the Get File Properties step The API 'sharepointonline' returned an invalid response for workflow operation 'Get_files_(properties_only)' of type 'OpenApiConnection'. Error details: 'The API operation 'GetFileItems' is missing required property 'body/value/0/ExpirationDate'.' Any thoughts?

could you share an screanshot about your flow?



Did I answer your question? Please consider to Mark
my post as a solution! to guide others :winking_face:

Proud to be a Flownaut!


If you want you can follow me at www.christianabata.com Quieres contenido en español? Síguenos en Power Automate LA

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (3,263)