I’m making a maintenance page, when it’s turned on, my Navbar has a page load function that “should” activate when the setting is on, but it’s not working. Even when I switched the Only When like you had stated.
I think you need to place the condition into the workflow itself, not its first action.
So define a workflow “Do when condition is true” and put the “only when” condition in here. This will define when the workflow will get fired. And you put the got to page maintenance action into this without condition.
As for Telah, I have my settings on a different page that are connected to a list for the settings.
The toggler changes the options accordingly, so I must be doing something wrong with my logic haha.
Furthermore, the workflow is triggered from my websites main NavBar Resuable element. On Page Load… even tried When settings_systems's:first item's enabled is "yes" with constraint of "db_name = maint"
I have a separate page. It’s the admin settings page.
It’s linked to the list of settings. Has a toggler inside the list. The toggler sets the “data table” of system_setting (whichever one is listed) to enabled = true/false. The data reflects on the table.
I have a reusable element on the main pages, that has the workflow trigger you have seen above that I want to trigger When the setting Enabled is “yes”via Data.
Yes that should be not too complex indeed. I found the “Do when condition is true” workflow sometimes unreliable if relating to stuff that is not happening on the page. You can try the “Do every 5 seconds” thing instead. If that does not work either then the problem is somewhere else.