We are using adaptive card in our PVA to get user contact details. The problem is arising when user hits on the submit button for multiple times, it creates parallel dialogs within the bot and the result of that leads into creation of duplicate contact record system.
So as many time as user hits on the submit button it leaves us with that many record in our system.
Our requirement is to disable the "Submit" button once user clicked on it. So we can stop the dialog from running multiple time and hence only one contact record is being created.
Please also note that we are using power automate flow to create contact record in our CRM.
PS: We are using Bot framework composer V1.2.1 and Adaptive Card V1.3.
We have tried below Suggestions:
| Show/hide button |
| Duplicate detection power automate flow |
| Alternate key |
| Add delay in flow |
| Tried fetch XMl query in power automate |
| Duplicate detection plugin |
| Data Duplication rule within CRM |
| Setting counter in bot |
| Using concurrency in PAF |