Quantcast
Channel: Mendix Forum Questions
Viewing all articles
Browse latest Browse all 80925

Javascript: microflow calls from widget > 2

$
0
0

Hi i got a problem with calling microflows.

 

I'm doing the following.

 

for every object in list (lets say 4 items)

- mx.data.action with callback function -> my microflow creates an object and returns it

 

if i place a breakpoint in my microflow i will see that it is only triggered twice.

- I'm only seeing 2 xas/ request in my chrome network tab

 

my callback function is called 4 times.

1st callback (object from first microflow)

2nd callback (object from second microflow)

3rd callback (object from second microflow)

4th callback (object from second microflow

 

note: I'm passing 4 times the same microflow, guid and callback function

(method call: 

this._execMf(this.mfToExecute, this._contextObj.getGuid(), (objects)=>{ //do something});

 

Does somebody know what I'm doing wrong?


Viewing all articles
Browse latest Browse all 80925

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>