Click activity issue in unattended

Hey guys

Im trying to run some unattended bots for the first time and I have a slight issue with click activity.

Im running this unattended bot on external pc and I turn them on on my physical PC.

One click activity is still showing me this error "
Click ‘Dovoz CV’: Could not find the user-interface (UI) element for this action."

I already tried changing input modes (window message and simulate) but both of them didnt worked. I also tried element exist and find element but it was the same issue.

Heres the thing, when I minimize my external PC (so I simulate background process) the click activity wont work, but the second I open the minimized pc, to look how the program works, the click iimmediately click on the element.

Im using Microsoft Remote Desktop Connection for my external pc.

This is expected behaviour.

If the machine an automation is running on doesnt have a screen visible it cannot do Ui activities and when a screen is minimized it stops rendering.

This doesnt mean UiPath cannot work on a remote computer without a human opening the screen, the issue then becomes the install method.

You must install UiPath in ‘Service Mode’ on the target machine, having it as a Service will allow UiPath to log into a windows session itself and render the screen without a monitor.

@michalhyza12,

CV Click won’t work if your control isn’t visible. Make sure you are bringing the ui element front and then do the click.

Can you please help me to walk through this process of installing UiPath in “service mode” please?

I havent encountered this type of installation yet and Im kinda new to UiPath.

@michalhyza12

Looks like you are on community license

and on it you can run unattended but cannot install in service mode

without installing in service mode this would not be possible

Now to try in service mode you can upgrade the plan but it would be available only for 60 days and after that it would turn into free plan where only studio web/studioX would be available and not studio

Also there are few settings to run minimized

Hope this helps

cheers

How can I do this on unattended robot?

@michalhyza12,

Try using CV Element Exists to check if the element exists first before clicking it

It throws error CV Element Exists - Text: Cannot bring the target application in the foreground.

I really dont understand this, because every other click in the program is working correctly but not this one.

@michalhyza12,

I think your button or the ui element you are trying to click getting changed after entering some data.

Use another CV Screen Scope inside existing CV Scope and add CV Click inside it to click the desired Ui element.

You cant add cv scope to another cv scope I jus learned.

So i just added cv click after element exists but it threw the same error