web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / PA Desktop RPA: Anyway...
Power Automate
Answered

PA Desktop RPA: Anyway to bypass the UI element when you can't interact with the UI (Citrix Workscape/ Working with EPIC)

(0) ShareShare
ReportReport
Posted on by 14

Hi all,

 

I'm trying to automate a workflow process through the Citrix Workspace - specifically EPIC Hyperdrive.

The biggest constraint is that I cannot use PAD to select UI elements on EPIC - it'll just select the whole screen. 

I've managed to bypass this through mimicking computer and keyboard movements, but I've ran into an obstacle now.

 

Is there any solution to telling PAD to completely stop the flow when a new window pops up given my UI constraint?

 

Here's the spaghetti logic with pictures:

1) If you enter an item number and these pops up -> proceed by clicking enter. (The current flow is built on this conditional, so it works if there's no caveats)

samsa18_0-1708472461653.png

2) However, if you enter an item number and this view pops up (very rarely - simply telling me to specify what item), I want the flow to stop completely since I don't have a flow for that caveat.

 

samsa18_1-1708472559708.png

 

my current flow as is:

 

samsa18_2-1708472732800.png

 

 

 

 

 

 

I have the same question (0)
  • Verified answer
    WillSG Profile Picture
    352 Moderator on at

    Hi @samsa18  I hope you are doing well.

     

    Citrix is a virtual environment, as a result you cannot use the Ui elements, the only available options that you have are send keys actions (which you are using them already) and besides these, there are the OCR actions and the Image recognition actions.

     

    From my experience it’s hard but not impossible to create a sustainable code to work with Citrix.

     

    So, my recommendation is to use OCR, it gives you the opportunity to use a magnifier set up and you can make the Bot wait or search for a specific keyword, if that keyword appears just stop the process OR it will let you know so you can click on the desire option and then the Robot can continue.

     

    There is the action Move Mouse to Text on Screen, this one super useful. Just type the keyword OCR into the PAD Search actions Box and you will see multiple actions that you can use to overcome this.

     

     

    Please let me know if it works, happy automation!,


    If I have addressed your inquiry successfully, kindly consider marking my response as the preferred solution. If you found my assistance helpful, a 'Thumbs Up' would be greatly appreciated.

     

    Additionally, if you have any questions, feel free to DM me, and we can initiate a discussion.

     

    Kind regards,

     

    Will SG

    Managing Director & Automation Lead

    RAMS CR (Recruitment & Automation)

    LinkedIn Profile

  • samsa18 Profile Picture
    14 on at

    Oh wow! I had no idea about this - going to try to play with this. Thank you!

  • Deenuji_Loganathan_ Profile Picture
    6,250 Super User 2025 Season 2 on at

    @samsa18 

     

    Have you tried with Power Automate agent for virtual desktops? If not please find the below link where you need to install some agent exe in your citrix machine then you can do normal recording as you do in our local desktop.

     

    Read more on this - https://learn.microsoft.com/en-us/power-automate/desktop-flows/virtual-desktops

     

    Thanks,

    Deenu

  • Agnius Bartninkas Profile Picture
    Most Valuable Professional on at

    What @WillSG said is not entirely correct. It is a virtual environment, and it's true you cannot directly interact with the elements there. But, as correctly pointed out by @Deenuji , if you are allowed to install software on the Citrix environment, go with the Agent for Virtual Desktops, which will then allow you to interact with those elements just like they were on your machine.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 223 Super User 2025 Season 2

#2
Expiscornovus Profile Picture

Expiscornovus 205 Most Valuable Professional

#3
harshdeol Profile Picture

harshdeol 167 Moderator

Last 30 days Overall leaderboard