cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
RachelPalya1
Advocate I
Advocate I

Create SP List Item Weekly - Set Date and Time

Hello, 

 

This one has me a little stumped.  I am trying to create a Power Automate that runs weekly, which will create SharePoint list items at set days of the week and times (for that week).  So for example the logic will pull the date for Tuesday that week and set the time at 9:00 AM.  I can't seem to the find the right combinations of functions to do that. Any help is appreciated!

3 REPLIES 3
rohentz
Community Support
Community Support

Hi @RachelPalya1 how are you?

 

@RachelPalya1 if I understood you requirement, a Power Automate flow, running weekly will create a SharePoint list item for each day on the current week at 9:00. Is that correct?

 

If so, create a scheduled Power Automate flow Run flows on a schedule - Power Automate | Microsoft Docs 

 

Add a condition to run 7 times, one for each day of the week and inside it create the SharePoint item. Also you can use the Date and Time connector to calculate the current day plus the variable control inside this condition control, maybe a do loop Using the Do Until Function - Power Platform Community (microsoft.com)

 

This is the connector Working with Dates and Times inside of your flows | Blog do Power Automate (microsoft.com)

 

Please let me know if this information helped to answer your question.

 

Regards

 

Rodrigo Hentz

Microsoft Support Engineer

RachelPalya1
Advocate I
Advocate I

Hi Rodrigo, 

 

Thank you for the reply.  So I have a SharePoint list column that is a date and time field.  I want to create a record and set the start time as a specified date and time for that week.  I currently am able to do that but now I am running into time zone issues.  Do you know how to set the time zone to central time in the formula below?

 

Thanks!!!!!

 

formatDateTime(subtractFromTime(addDays(utcNow(), 1), dayOfWeek(utcNow()), 'Day'), 'yyyy-MM-dd 06:15')

Hi @RachelPalya1 , did you try to use this action? If do still having doubts please add an image of your flow also this action to better understand. 🙂

 

rohentz_0-1625848188018.png

 

Please let me know if this information helped to answer your question.

 

Regards

 

Rodrigo Hentz

Microsoft Support Engineer

 

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (2,109)