Forum Academy Marketplace Showcase Pricing Features

Data not saved - problem workflow

Hi Everyone,

Hope everyone is well and thanks a to this beautiful community for helping all the debutant

I am currently working on my first project and i am facing an issue when i am trying to change a data:

  • When a user click on a button the workflow start and a value is added to “X” (X value comes from an external API)
  • Then this “X” value is use to change the email of the of the Current User
  • But in the first attempt, i have an error message saying “please insert an email”
  • But, then, If i reclick on the button it work

I fell like on the first click everything is launched in the meantime (ie trying to change the email before taking into account the value X from the API)

Do you know how i can solve that?

Thanks a lot for your help!!