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

Initialise date value

Hi ,

Please advise how to read date value and initialise to a variable in the flow.

Date fields are ‘Date Only’ data types in CDS .

 

when I trigger a flow getting this error message 

Error: The input body for trigger 'manual' of type 'Request' did not match its schema definition. Error details: 'String '2020-03-31T16:00:00Z' does not validate against format 'date'.'.

8 REPLIES 8
v-alzhan-msft
Community Support
Community Support

Hi @GReddy ,

 

Could you please share a screenshot of the configuration of your flow?

 

Best Regards,

Alice

 

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

Hi Alice,

 

Here is my my flow

EntryDate.png

 

Regards,

Greddy

Hi @GReddy ,

 

Which action run failed in your flow?

You need to share the full screenshot of the flow and the run history of the flow when the flow run failed.

Please explain more details so we could better understand you and provide a workaround.

 

Best Regards,

Alice

 

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

HI Alice,

 

I have flow which is trigger from D365 CE on selected record . Read data from D365 and populate in a word template .

 

Entry date and form date are date only data type in D365 CE

 

.Sc1.PNGSc2.png

 

when I trigger from CE  its ends with below error.  Flow is not executing  but if delete date fields  flow is executing without an issue. 

Error : 

SC3.PNGSC4.PNG

 

 

Regards

Greddy 

 

Hi @GReddy ,

 

Does the flow wouldn't trigger successfully in D365 CE when the record has a data field?

 

Best Regards,

Alice

 

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

Hi Alice,

 

I have data in date fields , If I use entry date or form date in a flow it wouldn't trigger . Flow  trigger successfully if I don't use it these fields in the flow process. 

 

Note: I am able to use "created on" (Date and time data type ) field in the flow . 

 

Regards,

GReddy   

Hi @GReddy ,

 

For the "If I use entry date or form date in a flow it wouldn't trigger" that you mentioned?

Could you please explain it since the flow is triggered and then you enter data in the populate a Microsoft word template action.

 

Best Regards,

Alice

 

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

Hi Alice,

 

When ever I use these type of data type in the flow.

flow is not working. 

My question is flow supports date only data type?

SC12.png

regards,

Greddy

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 (1,795)