I found that method to refresh the ems is not synchronous (OpenStack for my case). I need to wait some time before I get the updated data. This is true for built-in method:
as well as for the method of the corresponding object (ems.refresh). Now I use the following snippet to resolve this issue:
ems = $evm.root[‘event_stream’].ext_management_system
but as you know it is not correct. Maybe there’s some way of pulling for this task ?