How to use return value from a Microflow inside a javascript action

Hi,   I have a javascript action where i’m able to execute a Microflow. This Microflow is returning a List. Is it to use that return value of the Microflow in the avascript action, and if yes how?
1 answers

Hi Nico,


I assume you are using to call a microflow from JavaScript.

If so, the parameter in the callback function is of type array when the microflow returns a list of objects:{
    params: {
        actionname: "MyFirstModule.GetMyCats"
    origin: this.mxform,
    callback: function(list) {
        // variable 'list' is of type array here
    error: function(error) {


Hope this helps!