When I edit UI flow, a Selenium IDE open there I create an array,
execute script | return [] | Array
After that in a loop I insert value in it,
execute script | ${Array}.push({Name: ${Name}, Age: ${Age}}); return ${Array}; | Array
When I execute this from Selenium IDE it give me proper output on echo, like name: John & age: 25.
But when I trigger the UI flow from another flow it is providing blank output.
{
"Array": [],
"y": 4,
"x": 3,
"ranNum": 2000,
"win5548": "xxxxxxxxxx",
"root": "xxxxxxxxxx",
"Name": "John",
"Age": "25",
"out": "[]"
}
Surprise thing is this other variables have their value. 🤔
I also used JSON.stringify
execute script | return JSON.stringify(${Array}); | out
But the result is same, as mentioned above.
If possible Please help me to fix this issue on ASAP.
Solved! Go to Solution.
I managed to solve it myself,
execute script | return [${Array}, {Name: ${Name}, Age: ${Age}}] | Array
But it will return very complex array which you will need to handle by yourself. I converted it to JSON string and after that I got valuable data.
Hope it will help someone.
Regards
I managed to solve it myself,
execute script | return [${Array}, {Name: ${Name}, Age: ${Age}}] | Array
But it will return very complex array which you will need to handle by yourself. I converted it to JSON string and after that I got valuable data.
Hope it will help someone.
Regards
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Announcing a new way to share your feedback with the Power Automate Team.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
User | Count |
---|---|
73 | |
26 | |
20 | |
15 | |
15 |
User | Count |
---|---|
145 | |
44 | |
44 | |
34 | |
32 |