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

Bug: The output StartDate and EndDate of "When a new event is created (V2)" cannot be sent as inputs to "Get calendar view of events (V2)"

The output of "When a new event is created (V2)" is of the format: '2019-07-05T16:00:00.00 00:00'

This throws an error if used as input to "Get calendar view of events (V2)". For example:

 

Invalid value '2019-07-05T16:00:00.00 00:00' for parameter 'Start Time'.
clientRequestId: 5f173fe1-b0af-4b25-afde-328d14fbf452

 

I tested by manually editing this date, which worked. Then, as a workaround, I inserted "Convert time zone" which takes this input and outputs it to UTC time. (Good that this event can process such a value!)

 

Input to "Convert time zone":

 

{
  "baseTime": "2019-07-05T17:00:00.0000000+00:00",
  "formatString": "o",
  "sourceTimeZone": "UTC",
  "destinationTimeZone": "UTC"
}

Output (which was accepted by "Get calendar view of events (V2)"):

 

{
  "body": "2019-07-05T17:00:00.0000000Z"
}

I am reporting this so hopefully this can be fixed so that the output of the "When a new event is created (V2)" can be consumed directly by "Get calendar view of events (V2)".

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: Bug: The output StartDate and EndDate of "When a new event is created (V2)" cannot be sent as inputs to "Get calendar view of events (V2)"

 

Hi @omeriqbal ,

 

This issue has been solved, please take a try again.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
Highlighted
Resident Rockstar
Resident Rockstar

Re: Bug: The output StartDate and EndDate of "When a new event is created (V2)" cannot be sent as inputs to "Get calendar view of events (V2)"

Hi @omeriqbal 

Thank you for posting this.

 

If I am picking you up correctly, you are aware the formats are diferent and are probably aware how to manipulate them to get your flow working using "Convert time zone" or more likely formatDateTime()

 

To allow the Flow team to review this and for your comments to gain the correct exposusre, please post this@ I Found A Bug

If you are struggling with the date formatting, please post back.

 

If you have found my post helpful, please mark thumbs up.

 

Any other questions, just ask.

 

Thanks, Alan

 


Did I answer your question? Mark my post as a solution!

Proud to be a Flownaut!


Highlighted
Community Support
Community Support

Re: Bug: The output StartDate and EndDate of "When a new event is created (V2)" cannot be sent as inputs to "Get calendar view of events (V2)"

Hi @omeriqbal ,

 

Thank you for your feedback, I can reproduce the same issue on my side.

It seems that "+" is ignored during the execution of the action, so it is judged to be the invalid value.

I will report this issue on my side, if there are any updates, I will post back.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
Community Support
Community Support

Re: Bug: The output StartDate and EndDate of "When a new event is created (V2)" cannot be sent as inputs to "Get calendar view of events (V2)"

 

Hi @omeriqbal ,

 

This issue has been solved, please take a try again.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

Join the new Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Users online (7,481)