cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
sumeetrajan
Helper I
Helper I

Delay notification

Hi,

 

I am trying to do the following

1. email notification when a new item is created in SharePoint - No issue.

2. email notification after 8 hours to update the SharePoint list - facing issue. 

 

Logic i  am using 

1. use created time in SharePoint & converting into the required timezone

2. adding 8 hours via "Add to time"

3. using delay until connector.

4. sending mail

 

getting following error

"The 'timestamp' value of the 'Wait' action 'until' inputs must be specified in UTC using the round-trip date/time pattern (for example, '2015-10-22T10:00:00Z'). For details please review the Standard Date and Time Format Strings of the .Net framework." 

 

any solution?

 

sumeetrajan_0-1619594093647.png

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
fchopo
Super User II
Super User II

Hi @sumeetrajan 

Please, be sure that you use ISO 8601 format in the Delay until expression:

formatDateTime(body('add_to_time'),'yyyy-MM-ddThh:mm:ssZ')

Hope it helps!

Ferran

 

Did I answer your question? Please consider to mark my post as a solution to help others.
Proud to be a Flownaut!

View solution in original post

4 REPLIES 4
fchopo
Super User II
Super User II

Hi @sumeetrajan 

Please, be sure that you use ISO 8601 format in the Delay until expression:

formatDateTime(body('add_to_time'),'yyyy-MM-ddThh:mm:ssZ')

Hope it helps!

Ferran

 

Did I answer your question? Please consider to mark my post as a solution to help others.
Proud to be a Flownaut!

View solution in original post

sumeetrajan
Helper I
Helper I

Hi,

 

I was able to remove the error but then we don't have any delay!

fchopo
Super User II
Super User II

Could you show the expressions you have inside each step in the flow?

Regards,

Ferran

Did I answer your question? Please consider to mark my post as a solution to help others.
Proud to be a Flownaut!
sumeetrajan
Helper I
Helper I

Hi,

 

i was able to solve it, I used "delay" function instead of "delay until". thanks 🙂

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Top Solution Authors
Users online (2,396)