i cant seem to find the way to start or stop the action scheduler if serverconnect have items or empty.
I never tried it before but you can try condition
there is no place to check for items then start or stop the scheduler
MAybe you can explain more exactly what your use case is?
simple
i want to start the scheduler if the serverconnect query have items
We currently don’t support conditional actions, but you could try something like the following on the server connect component:
dmx-on:done="data.query.hasItems() ? scheduler.start() : scheduler.stop()"
4 Likes
conditional action scheduler is a something great to have!
2 Likes