Hi @HenryJammes,
Let me share my details here:
My adaptive card:
{
"type": "AdaptiveCard",
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"version": "1.0",
"body": [
{
"type": "TextBlock",
"size": "medium",
"weight": "bolder",
"text": "Update or Upgrade Device and Policy Details",
"horizontalAlignment": "center",
"wrap": true,
"style": "heading"
},
{
"type": "Input.Text",
"label": "Policy number",
"style": "text",
"id": "PolicyNumber",
"isRequired": true,
"errorMessage": "Policy Number is required"
},
{
"type": "Input.Text",
"label": "First name",
"style": "text",
"id": "FirstName",
"isRequired": true,
"errorMessage": "First Name is required"
},
{
"type": "Input.Text",
"label": "Last name",
"style": "text",
"id": "LastName",
"isRequired": true,
"errorMessage": "Last Name is required"
},
{
"type": "Input.Text",
"label": "Email",
"style": "email",
"id": "Email",
"isRequired": true,
"errorMessage": "Email is required"
},
{
"type": "Input.Text",
"label": "Phone Number",
"style": "tel",
"id": "PhoneNumber"
},
{
"type": "Input.Text",
"label": "What's your device maker? (E.g. Apple, Samsung, LG)",
"style": "text",
"id": "PhoneMaker",
"isRequired": true,
"errorMessage": "Phone maker is required"
},
{
"type": "Input.Text",
"label": "What's your device model? (E.g. S20, Pro, Mini)",
"style": "text",
"id": "PhoneModel",
"isRequired": true,
"errorMessage": "Phone Model is required"
},
{
"type": "Input.Text",
"label": "What's your device memory capacity? (E.g. 128Gb, 256Gb, 1Tb)",
"style": "text",
"id": "MemoryCapacity",
"isRequired": true,
"errorMessage": "Memory capacity is required"
},
{
"type": "Input.Date",
"label": "Device purchase date",
"id": "PurchaseDate",
"style": "date",
"isRequired": true,
"errorMessage": "Purchase date is required"
},
{
"type": "Input.Text",
"label": "Where did you purchase your device?",
"style": "text",
"id": "PurchasePlace",
"isRequired": true,
"errorMessage": "Purchase place is required"
},
{
"type": "Input.Text",
"label": "What's your device IMEI number? (Press *#06# on your phone keyboard to find out)",
"style": "text",
"id": "ImeiNumber",
"isRequired": true,
"errorMessage": "IMEI number is required"
},
{
"type": "Input.Text",
"label": "Is there anything else would you like to add?",
"style": "text",
"isMultiline": true,
"isRequired": true,
"errorMessage": "Message is required",
"placeholder": "Your message here",
"id": "Message"
}
],
"actions": [
{
"type": "Action.Submit",
"title": "Submit",
"data": {
"id": "1234567890"
}
}
]
}
My flow:
So, when I choose the date on the adaptive card:
I receive the email of the request with the data the user input on the adaptive card which is:
Phone number: 07666666666
Phone maker: Mango
Phone model: M20
Phone memory capacity: 12Tb
IMEI number: 123456
Purchase date: 30/09/2023
Purchase place: Currys
As you can see, the date that I chose on the adaptive card is 01/10/23 and the date that passed through the flow and onto the email is 30/09/23.
First Output that comes from PVA onto PA
So, how that happen?
I can't change the environment to the US as all our systems use UK environment.
If I take the date formula out, it doesn't make any difference
The issue here is that it's always getting a day before when there is a date pick selection.
On the classic version it works fine, but not on the new canvas.
Cheers,
Fernando