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

Community site session details

Session Id : vcXsfh+IudhVt+Mj6u2bHD
Power Automate - Power Automate Desktop
Answered

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

Like (0) ShareShare
ReportReport
Posted on 20 Feb 2024 23:45:42 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)
  • Agnius Bartninkas Profile Picture
    Most Valuable Professional on 23 Feb 2024 at 16:25:54
    Re: PA Desktop RPA: Anyway to bypass the UI element when you can't interact with the UI (Citrix Workscape/ Working with EPIC)

    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.

  • Deenuji_Loganathan_ Profile Picture
    6,206 Super User 2025 Season 2 on 21 Feb 2024 at 18:10:39
    Re: PA Desktop RPA: Anyway to bypass the UI element when you can't interact with the UI (Citrix Workscape/ Working with EPIC)

    @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

  • samsa18 Profile Picture
    14 on 21 Feb 2024 at 18:04:53
    Re: PA Desktop RPA: Anyway to bypass the UI element when you can't interact with the UI (Citrix Workscape/ Working with EPIC)

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

  • Verified answer
    WillSG Profile Picture
    352 Moderator on 21 Feb 2024 at 00:20:15
    Re: PA Desktop RPA: Anyway to bypass the UI element when you can't interact with the UI (Citrix Workscape/ Working with EPIC)

    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

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 786 Moderator

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 724 Super User 2025 Season 2

#3
stampcoin Profile Picture

stampcoin 290 Super User 2025 Season 2

Last 30 days Overall leaderboard
Loading complete