If I use a flow action Run JavaScript function on web page in Power Automate Desktop, I am able to use following code:
function ExecuteScript() {
alert('foo'); // shown as pop up messag
console.log('baa'); // goes to browser dev tools console
return 'result' // stored as output variable of the flow action
}
and see the return value as value of the output variable
However, if I use the same code for a flow action Run JavaScript, the value of the output variable is not set.
=> How to return a result from the the "Run JavaScript" flow action?
