Dear all,
I'm building a citizen participation tool that queries citizens for locations, e.g. where do you want a new bench in your neighbourhood. We want a user to be unique, but we don't want to capture too much information. A simple SMS authentication is all we need. To that end I created a multi-step form. Step 1 asks for the mobile phone number. After submission a cloud flow is activated that generates a token. That token is sent through ClickSend to the mobile phone number. In step 2 the user fills in the received token. A new cloud flow compares the values and sets an option value to either "validated" or "refused". In step 3 I use a condition that checks if the option value is validated. Because the step is reached faster than the execution of the cloud flow, I want to introduce a delay.
What approach should I take to introduce that delay? Can I use a cloud flow to add a delay between step 2 and 3? And how could I implement this?
I'm a student and new to the power platform.
Kind regards,
Denis
You can't delay between the actual steps. All you could do would be to disable the button on the step and only enable it after a period of time using JavaScript/JQuery or after validation is successful (e.g. run validation off a custom button, an when success enable the submit/next button).
Fixed it by adding another page before the condition, and a simple javascript delay function.