'how to change the working directory (execution path) in power automate desktop?

I am using Power Automate to run an application. The application dynamically loads some dlls at run time. I'm getting the below error when it tries to load them.

"Error Message: Could not load file or assembly 'file:///C:\Program Files (x86)\Power Automate Desktop\MyTestApplicationDAL.dll' or one of its dependencies. The system cannot find the file specified."

Looks like Power Automate is using it's own installation path as the current working directory instead of the application that I'm automating.

Edit 1: Here's a screenshot of my PAD steps.

enter image description here

Any ideas on how to fix this?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source