Skip to main content

All Questions

1 vote
0 answers
46 views

Power Automate Desktop keyboard comands dont't make JavaScript functions talk to the backend?

Title is my best guess at the problem. Here is what is happening: I need to download several thousand files from a very old system (Cogon, in case anyone is interested). For several reasons, the only ...
Maxim Moloshenko's user avatar
0 votes
1 answer
106 views

How to use CryptoJS in power Automate Desktop?

Dears I am getting this error when trying to use CryptoJS for string , I have used Run JavaScript on Microsoft Power Automat Desktop : 2\Robin\us1w21ocz5s.tmp(13, 1) Microsoft JScript runtime error: '...
HAJJAJ's user avatar
  • 3,777
0 votes
1 answer
312 views

Return object object, but its not null

I have this code: // Select all date elements that are not disabled let availableDates = document.querySelectorAll('.calendar__date-container:not(.is-disabled) .calendar__date'); // Log or process ...
JokumJokumJokum's user avatar
0 votes
1 answer
459 views

How to show/handle errors thrown while running JavaScript flow actions in Power Automate Desktop?

The documentation about script actions states, that a variable ScriptError is produced: https://learn.microsoft.com/en-us/power-automate/desktop-flows/actions-reference/scripting#variables-produced-2 ...
Stefan's user avatar
  • 12.5k
1 vote
1 answer
4k views

How to return result from JavaScript action in Power Automate Desktop?

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 ...
Stefan's user avatar
  • 12.5k
0 votes
1 answer
839 views

Is there any way to update a Power Automate variable inside a JS function?

I'm using the action "Run JavaScript function on web page" for extracting day & month from a website. The problem is that the value returned by JS function (stored to DateVar as a power ...
Arun AJ's user avatar
  • 69
0 votes
1 answer
1k views

Displaying Power Automate Variable Text in Web Browser via JavaScript (Run JavaScript function on web page)

I am attempting to display a Power Automate Desktop variable's numeric value in a web browser instance using the Run JavaScript function on web page action in Power Automate Desktop (PAD). My PAD flow ...
ash's user avatar
  • 25
0 votes
2 answers
222 views

Which event to trigger, programmatically simulating user blur

I'm using Power Automate Desktop with an Execute Javascript flow to try to automate some user entry in a Quickbooks Online Payroll form. When natively using the form, it seems there is an event ...
crichavin's user avatar
  • 4,592
0 votes
0 answers
336 views

How do I populate a dropdown value on a webpage that will enable another dropdown for web automation via Javascript

For RPA, I am trying to use Javascript to set a value in dropdown (A) which will enable dropdown(B). I can set the value of the dropdown (A), however it doesn't enable dropdown (B). Is there something ...
ckatz's user avatar
  • 23
0 votes
1 answer
3k views

I'm trying to get Power Automate Desktop to select specific checkboxes based on the UI Element Name stored in a separate list. Is this possible?

I'm working on automating data entry for a web based platform. It is not very intuitive, unfortunately, and I've hit a wall. To summarize, I have a multiple individuals I am trying to assign to ...
Steve Sander's user avatar
0 votes
1 answer
3k views

How to access flow variables from javascript in power automate

I'm working on a power automate flow and I'm having some trouble. I copied some text to my clipboard in the flow and i asigned it to a variable in my flow. I'm trying to parse the variable using the ...
Brandon Piña's user avatar