Using current date/time in an expression only grabs one value for the time. It doesn’t keep incrementing as time passes.
This is a problem if I’m doing something that needs to update, such as showing a progress bar. The whole point of a progress bar is to update status in real time.
How do you know it runs on the server ? It won’t use up a workflow anyway.
And it isn’t all that complex, I would imagine controlling some sort of “realtime” field would take as long to set up (because your application might not be the same as my application, and we will probably want different update rates etc).
There are other ways to do it (if you search) such as having a bit of Javascript but that also runs an iteration every x seconds.
Ok i’m having trouble understanding how to do this. Do you have a visual way of explaining how to achieve this? I can’t seem to find anything to update a Custom state in workflows.
Hello
For setting up the screen clock, I set the custom state and workflow as advised above. However the time wont update and stays the same as that when the page was loaded.
That plugin just gets the current time, repeated every second (using JavaScript), and outputs the updated time… so it’s basically the exact same thing as running a workflow every second yourself to update the time (it might take slightly less time to set up, and I do sometimes use it myself for simplicity, and it’s a great plugin, but I don’t think it’s any better - maybe just slightly simpler).