Citrix disconnection error



I am trying to execute a workflow on a VDI. I need to perform some actions on an application running on Citrix and it works perfectly when it appears on the screen while executing it. The problem is, when I tried to execute the workflow with the remote session running disconnected from my computer, Uipath doesn´t recognize any image and throws and error. I have tried to solve this using the options “sendwindowsmessage” and “simulate click/type” and, when I do so, the error doesn´t appear but it doesn´t perform any action either.

I would appreciate any help on this
Thank you