[solved] Workflow working when testing, but not when clicking the button

Hello Everyone,

excited to get your input on this one:

A workflow I created to post 2 a new entry to Xano is behaving weird.
When I test the whole workflow (all together or step by step) it works perfectly and I see the new entry.
When I click the button that should trigger the workflow nothing happens (workflow not triggered, no call recorded in Xano, nothing).

I did not use a form container for the form, but I don’t think that should create this issue (especially as it’s working when testing).

Maybe I’m overseeing something, would appreciate your insights!

Thanks a lot everyone,
Björn

Hi @BjoernF, what actions do you have in your workflow?

If you use Javascript code, then there might be slight differences as the environment the workflow is ran in does change a bit between both contexts.

Thanks for your reply :slight_smile:

Not using any custom js, just very normal stuff:

Hi @BjoernF :wave:

Perhaps adding a delay between the upload file action and the request action could help:
CleanShot 2023-06-08 at 22.58.54

If that doesn’t do the trick, could share a screen recording with us walking us through what things look like in preview mode and how the workflow is built?

Ideally, if you could open the browser’s inspector before clicking on the button to show us the error message that’s thrown in preview mode, it would be amazing!

In case you’re not too familiar with the browser’s inspector, here’s a short video of what I mean.

Hey @Joyce, thanks so much for your response.
I tried the delay idea but I didn’t change anything.

So I recorded the video as you described it, please find it here.

Let’s see what we can figure out together!
Björn

1 Like

Hi @BjoernF, thanks for taking the time to put this together!

I took the liberty of reviewing your project because I couldn’t figure out what was going on from the video.

It looks like the button that triggers the workflow is disabled:

Could you try toggling the “Disabled” option to off?

Now it works… :see_no_evil:

Just as an idea: Would a warning that the workflow is not triggered at the moment as the button is disabled make sense?
For the link that seems to exist.
image

Thanks for helping me with this and sorry for not spotting this myself…

1 Like

No worries at all! Glad I could help :slight_smile:

Great idea, I’ll pass it along to the tech team

1 Like