
Announcements
Hello Team,
I am sending adaptive card in teams. this is part of my JSON -
{
"type": "Input.Text",
"id": "ABC Contract NumberField",
"placeholder": "Enter ABC Contract Number",
"value": "@{triggerOutputs()?['body/sapbtp_abc_contract_number']}",
"isRequired": false,
"regex": "^\\d{4}_[2-3]\\d{7}$",
"errorMessage": "Enter ABC Contract Number in proper format",
"isVisible": true
}
This adaptive card works fine in other branches of my flow. But for one branch if user insert value as 5100_39999601 in input text box, he is getting this error message from JSON 'Enter ABC Contract Number in proper format'. But I check this number obeys the regex. Then why it is showing the error? Can anyone help on this?