In my app I hooked up a save button to a workflow that makes a change to an existing thing. The problem is I need to click the button multiple times for the changes to actually be persisted into the database. You can find my app here, and the bug happens for multiple types of things: products, profiles, and customers. It happens if it’s a new product or if it’s an existing one, and it happens across multiple pages.
Has someone run into this issue before? What could I be missing?
Edit: I realized I probably need to show off the error better in this post so I’m attaching a video.
Thanks, lantz for taking a look at this for me. I think it might have to do with the condition, because if I remove it, saving works. (Although if I move the steps around, I can remove the condition and still have this issue). However, why would the success alert show if its condition is a successful save step?
Good point about the naming of states. Your suggestion is more readable.
I got rid of trigger validate inputs as a custom event and now it saves with one tap. I still don’t understand why the success message was showing given its condition to work only with the “make changes” step to have a result…