In Outsystems, Service module (Sample_CS) contains a service action (POST_Request) which is calling consumed API endpoint of type POST.
Service action (POST_Request) is referred from (Sample_CS) to UI module (Sample_UI) and then called/triggered onclick of Submit button.
But there are some instances in which when user click on Submit button , endpoint is calling twice or more times and on the database logs time difference for both requests are approximate 2 seconds.
Is there a way to identify why this is happening or what possible solutions for handling such situations ?
Application Type : Mobile Module
End User Device : iPhone iOS 17.2.1
Could it be that double-clicking or tapping rapidly on a mobile device might unintentionally trigger the action multiple times?Implement client-side validation or mechanisms to prevent multiple clicks, such as disabling the button after the first click.
RegardsThibaut
Hello,
You can also check service center logs more details.
Thanks,
Neha