cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!

Users online (5,228)