Hi,
Hi have an input field of Date type in a child workflow called Email Date.
I am trying to pass the date and time value from the parent workflow into it.
In my parent workflow I have a trigger: 'When a new email arrives in a shared mailbox (V2)'
In the 'Run a child flow' action I have the following expression for the Email Date input:
formatDateTime(triggerBody()?['receivedDateTime'],'yyyy-MM-dd-THH:mm:ssZ')
as I am trying to send over the 'receivedatetime' value from the trigger.
However I receive this error:
The input body for trigger 'manual' of type 'Request' did not match its schema definition. Error details: 'String '2023-08-30-T16:39:18Z' does not validate against format 'date'.'.
I notice that the received date time value' from the trigger is in the format:
receivedDateTime": "2023-08-30T16:39:18+00:00"
If I use expression:
formatDateTime(triggerBody()?['receivedDateTime'],'yyyy-MM-dd')
it works fine.
I'm wondering if the date type input in the child workflow only accepts yyyy-MM-dd and not time, as it shows YYYY-MM-DD in the trigger for it?

Is time allowed in the Email (date type ) input above?
Can some confirm /help with this?