Hello...
I have a project on NodeJS where I have a list of tasks.
Each task has a status "in progress", "completed" etc.
On the server side:
I have a get value and a condition, if hidecompleted = 1 then:
query all task where status != completed
Else: load all of them.
On the client side:
I have a checkbox that runs as a filter, so server connect input parameter will load like this:
api/tasks/query_tasks?proyectid=1&hidecompleted=
And:
api/tasks/query_tasks?proyectid=1&hidecompleted=1
The serverconnect has a data cache:
cache="session1"
When a task is edited, then a flow run:
- Set on session storage "reloadsc" -> true
- When go back to the list of tasks, if "reloadsc" is true, then force to reload the list again.
Now, the problem relies on the next thing:
The serverconnect will reload ONLY one of them depending of which one is selected (&hidecompleted=, or &hidecompleted=1)
But not both, so one list will remain exactly the same.
For example:
I have a first task named "example1", and the status is "in progress"
If I load all the tasks, the first item is "example1" and status "in progress"
If I load the uncompleted tasks, the first item is "example1" and status "in progress"
When enter on the task, set to "completed" , run the flow to force to load the sc, and go back:
The first item is "example1" and appears as "completed"
On filtering hideuncompleted the first item is "example1" and the status is "in progress"
The first thing that comes to my mind is, ok, force the load of both server connect, but one get cancelled until previous one is finished.
Now this is a bug? Because a page flow should run one step after another one?
A wait step is not an option because I don't know how much it will take to load it.
A dmx-onsuccess is also not an option because which one should it have it?
If it's complex to understand, please let me know and I'll record some video showing it
Thanks in advance everyone!




