microflowmx.ui.action is not a function

1
Hi all, I am trying to use push notification in my application version 10.4.1, while placing the current user snippet inside the page, i am getting the following error                MicroflowTimer_widget_MicroflowTimer_0: An error ocurred while executing microflow: mx.ui.action is not a function TypeError: mx.ui.action is not a function    at j.<computed>.E._updateRendering (http://localhost:8081/widgets/CustomString/widget/CustomString.js?638369336674684110:70:19)    at j.<computed>.E.<anonymous> (http://localhost:8081/widgets/CustomString/widget/CustomString.js?638369336674684110:115:30)    at j.<computed>.E.<anonymous> (http://localhost:8081/mxclientsystem/mxui/mxui.js?638369336674684110:5:27376)    at j.<computed>.E._runSubscription (http://localhost:8081/mxclientsystem/mxui/mxui.js?638369336674684110:5:238883)    at e.callback.e.val.n.callback (http://localhost:8081/mxclientsystem/mxui/mxui.js?638369336674684110:5:238224)    at Object.callback (http://localhost:8081/mxclientsystem/mxui/mxui.js?638369336674684110:5:160847)    at http://localhost:8081/mxclientsystem/mxui/mxui.js?638369336674684110:66:12240    at http://localhost:8081/mxclientsystem/mxui/mxui.js?638369336674684110:66:267812    at Array.forEach (<anonymous>)    at b (http://localhost:8081/mxclientsystem/mxui/mxui.js?638369336674684110:66:267791)   Someone can give me a solution to clear this error
asked
1 answers
1

mx.ui.action is deprecated in Mendix 10, replace it with mx.data.action if it is a javascript action, otherwise a widget should be updated.

answered