File tree Expand file tree Collapse file tree 1 file changed +13
-14
lines changed Expand file tree Collapse file tree 1 file changed +13
-14
lines changed Original file line number Diff line number Diff line change @@ -136,25 +136,24 @@ define([
136
136
_executeMicroflow : function ( ) {
137
137
mx . logger . debug ( this . id + "._executeMicroflow" ) ;
138
138
if ( this . onclickmf ) {
139
- var params = { } ;
139
+ var params = {
140
+ actionname : this . onclickmf
141
+ } ;
140
142
if ( this . contextObj !== null ) {
141
143
params . applyto = "selection" ;
142
144
params . guids = [ this . contextObj . getGuid ( ) ] ;
143
145
}
144
- mx . ui . action (
145
- this . onclickmf , {
146
- params : params ,
147
- callback : function ( obj ) {
148
- mx . logger . debug (
149
- this . id + " (executed microflow successfully)."
150
- ) ;
151
- } ,
152
- error : function ( error ) {
153
- mx . logger . error ( this . id + error ) ;
154
- }
146
+ mx . data . action ( {
147
+ params : params ,
148
+ callback : function ( obj ) {
149
+ mx . logger . debug (
150
+ this . id + " (executed microflow successfully)."
151
+ ) ;
155
152
} ,
156
- this
157
- ) ;
153
+ error : function ( error ) {
154
+ mx . logger . error ( this . id + error ) ;
155
+ }
156
+ } ) ;
158
157
}
159
158
} ,
160
159
You can’t perform that action at this time.
0 commit comments