Is Bubble consistently unreliable?

That is exactly NOT how custom workflows are supposed to work. From the Bubble manual’s Custom Workflow section:

When a workflow is triggered in run mode and hits a trigger a custom event action, the first workflow will pause, the custom event will be run till completion, and the first workflow will resume. Using the debugger can be very helpful to understand the flow of actions if you are hitting some difficulties setting things up.

Custom workflows called from custom workflows is exactly the right kind of code reuse and design that is encouraged and standard in other languages.

What is your reason or experience with Bubble that has you suggesting otherwise?

2 Likes

+1… Custom workflows are really the centerpiece of a lot of advanced bubble apps and streamline the code. custom workflows calling custom workflows in bubble is the equivalent of functions calling other functions in traditional coding. There should really be no reason to avoid this.

1 Like

I have more custom workflows in my last app than normal workflows :slight_smile:

1 Like

I wish i had discovered custom workflows before i made so much of my app with copy and pasting workflows. once i figured out how too user CWFs and the getdata from URL so i could build most of the major groups in reusable elements, life got easier :slight_smile: It took me a while to realize you could nav to the same page to update the url string.

LOVE THE CUSTOM WFs !!!

2 Likes

@mguerrasio - thank you for calling that out. Upon reflection, I realize that that analogy is not a good one. You’re correct that a custom workflow runs its course and then the previous workflow resumes. My experience hasn’t proven otherwise.

My intent was to point to streamlining the workflow itself overall, not anything against using custom workflows. (My hunch was that the midstream custom workflow may be the source of issues in the prior workflow due to some updated value, resetting a group’s data, etc.).

And yes, @gaurav, @ryan8 and @JonL - I very much agree that custom workflows are a standard development practice that we should all readily embrace. I hope you didn’t interpret my comment as a suggestion against them.

2 Likes

I didn’t :slight_smile:

I know what you mean. CWFs are needed when they are needed. Specially when you want to make sure you finish something before continuing and to follow a DRY approach.

But sometimes it’s wiser to let their workflows do their thing in parallel if there are no dependencies.

CWFs are nice, but are not by any means a panacea

3 Likes

Dan,

I’ll take a closer look at API workflows. I built one at least six months ago and it seems I need to look at it again. Thanks for the nudge.

Regarding the logs, their purpose is to be spontaneous snapshots of what’s happening in the app. I won’t know in advance how many I’ll need and it would be unwieldy to keep track of what I created so I can Make changes to a thing to record a new snapshot at any point in time and have it make sense.

I think @mguerrasio, @gaurav and @ryan8 responded pretty well to this.

I began creating custom workflows inside a reusable element so that I could develop logic for maintaining referential integrity that would be needed on different pages. That attempt completely blew up in my face. For now, I’m just using custom workflows on one page so I can encapsulate functionality and have it available in response to different user actions on the page.

In many cases, sequential dependency is exactly what I need.

From this, it would appear that custom workflows are exactly what I need to get things done in the right sequence.

1 Like

Thanks, Nigel. I always appreciate your level-headed thinking.

I will be creating a test app for sharing. What I think would be best is to clone the app I already have and strip out extraneous pages, tables and live data. That seems a lot easier and more dependable than trying to rebuild a subset of what I have in a new app.

I should probably know this, but what is the process for cloning a complete app?

Copy app from your apps dashboard.

You can make a copy from your bubble.is dashboard. (Here’s a video walkthrough). As well, when you make the copy/clone, you have the option of making a copy of the database at the same time.

Yes, there it is.

image

Thanks, @dan1 and @JonL.

1 Like

Well folks, I’ve created a scaled down version of the app that seems even more broken than the original.

Here’s a link to the new forum thread where I provide a link to the editor:

Have fun! :slight_smile:

Bubble is a no-code tool, not an academy. No one should expect Bubble to teach you how to write good process. I’m glad it enables me to program quickly si I can easily run tests and maily learn by myself.

However, hundreds of programers who even don’t know writing code succeed in getting their apps do what they expect. Code or not, whatever, programing needs the right logic.

Obviously. But I don’t see the point of this comparison on a no-code tool’s forum.

This topic was automatically closed after 70 days. New replies are no longer allowed.