You want it to update itself periodically? How do you achieve the thing with the period. The Microflow itself is usually executed only once. Is your microflow a datasource microflow for your graph?
A periodic self refresh can be done in a TemplateGrid with refresh set to some seconds. Or you could use microflow timer to trigger it over and over again.
You could try using the Microflow Timer widget on the page. Set it to run every 60000ms or so, and have it retrieve the objects using the same data source as your page, and refresh them.
https://appstore.home.mendix.com/link/app/27/
I’ve started using it recently after a colleague showed me how powerful it can be, it’s really useful!
That’s the result with the Microflow TImer widget:
Could it be that the MicroflowTimer expects a Boolean as return type according to an error message in the errors list? (I have an object with some decimals attributes as return type of the Microflow) Can it really be placed somewhere inside the corresponding data view because there is no nesting functionality?
When nesting the vector gauge with a template grid, I get an error message that seems to show, that the template grid cannot update the RGraph Gauge:
“Tutorial.Home.templateGrid1: Error while applying context Error: Tutorial.Home.rGraphGauge1: Error while applying context Error: Tutorial.Home.rGraphGauge1: Error while applying context TypeError: Cannot use 'in' operator to search for 'unsubscribe' in undefined Error: Tutorial.Home.templateGrid1: Error while applying context Error: Tutorial.Home.rGraphGauge1: Error while applying context Error: Tutorial.Home.rGraphGauge1: Error while applying context TypeError: Cannot use 'in' operator to search for 'unsubscribe' in undefined
at http://localhost:8080/mxclientsystem/mxui/mxui.js?637075134762064778:40:13698
at Object.t.collect (http://localhost:8080/mxclientsystem/mxui/mxui.js?637075134762064778:35:64950)
at Object.e.exports.applyContext (http://localhost:8080/mxclientsystem/mxui/mxui.js?637075134762064778:40:13596)
at E.<computed>.S.passContext (http://localhost:8080/mxclientsystem/mxui/mxui.js?637075134762064778:35:86534)
at E.<computed>.S.applyContext (http://localhost:8080/mxclientsystem/mxui/mxui.js?637075134762064778:35:86419)
at E.<computed>.S.<anonymous> (http://localhost:8080/mxclientsystem/mxui/mxui.js?637075134762064778:5:26974)
at Object.t.collect (http://localhost:8080/mxclientsystem/mxui/mxui.js?637075134762064778:35:64950)
at http://localhost:8080/mxclientsystem/mxui/mxui.js?637075134762064778:73:107329
at a (http://localhost:8080/mxclientsystem/mxui/mxui.js?637075134762064778:35:64889)
at Object.t.collect (http://localhost:8080/mxclientsystem/mxui/mxui.js?637075134762064778:35:65070)”