Hi,
I have observed the following behaviour:
store = createObject("roSGNode", "ChannelStore")
store.ObserveField("catalog", "onGetcatalog")
store.ObserveField("orderStatus", "onDoOrder")
When the command is set to "doorder"
store.command = "doOrder"
The actual behaviour is onDoOrder() function is invoked on orderStatus field change (expected)
But the function onGetcatalog() function is getting invoked in the process (after store.command = "doOrder" and before orderStatus field is changed).
1. Is this behaviour expected?
2. If yes then how to handle this senario so that the logic inside onGetcatalog() function should not be executed on "doOrder" ?