As I develop my productivity app, I will have some sophisticated logic to determine the due date for a planned Action. This logic is something that must be available and work the same way on many pages within the system.
I have just begun developing the logic using workflow actions to set a series of custom states and reference the database to determine the best due date for an Action. It’s working great for the first page where it’s been implemented.
Attempting to copy this series of workflow actions to another workflow on another page has been a real pain. I tried creating a custom workflow and copying that to another page but references to the container for the custom states was lost on the new page so I practically had to rebuild the custom workflow on the new page.
I’m really lost for how to make this happen in Bubble. In languages I’ve known best from years ago, I would have this done in a global function that could be used anywhere in the app.
Any and all help is appreciated.