Bot is not sending an email while I am logging out from the VM. What is the possible solution I can use and also Some click event not working while VM signed out or screen is locked.
I assume you mean for an unattended automation? If the screen is locked you aren’t signed out. Sounds like you’re just closing the RDP window. That’s NOT signing out. You have to click the Start menu and click SIGN OUT.
If you’re talking about attended, of course you can’t sign out - that kills all running apps and there’s no Windows session. Locking it does the same, Windows essentially ends the UI when you lock.
Thanks for Responding. I am talking about Unattended bot and I am signing out properly from RDP. When I signing out and bot executes, It is not sending an email through Outlook (Activity : Send Outlook mail) .
When I login again and open outlook manually then It suddenly sends an email which was in outbox.
Also, One or two UI Click activities not performing well while signing out from RDP.
Can you please guide me solve this ?
It is not sending an email through Outlook (Activity : Send Outlook mail) .
When I login again and open outlook manually then It suddenly sends an email which was in outbox.
In your process, are you starting Outlook before trying to Send Outlook Mail?
FYI the modern activities are much better (ie Use Desktop Outlook), you don’t have to explicitly start Outlook.
Also, One or two UI Click activities not performing well while signing out from RDP.
This could be a few different things. Show us your code and any error messages you get.
For Outlook : I am not using Outlook Activity to open it. Directly using Send Outlook. Do I need to open Outlook before sending email ?
For Click : This error : rrow_down Raw message: Object
message: Message : Cannot find the UI element corresponding to this selector: source : UiPath.UiAutomation.Activities
level: Error
logType: User
I have 4 same logic bots with different URL is scheduled and all of them are failing every other day at this activity.
As Per my investigation looks like failed to click on this order number.
Yes.
But if you use the modern activity (Use Desktop Outlook) then you don’t.
Show the selector.
Also, are you using Hardware Events, Simulate, or Send Window Messages for the click?
Use Desktop activity working fine if I signed out from RDP. Thanks for help.
For click Activity I am using a dynamic variable and Selector is stored in variable.
I am using this selector.
Properties for the Click Event.
OrderIDSelector is the variable name which stores the above shown dynamic selector.
Open UI Explorer and click the same element and then post a screenshot of what UI Explorer gives you.
Try Hardware Events instead of Simulate.
If that doesn’t work, try removing parentid, tableCol, and tableRow from the selector. I would expect aaname to be unique on the page and be the only property you need in your selector (by the way, tableRow=‘*’ is pointless anyway)
If it still doesn’t work, I’m wondering if the # is the problem. That’s a link anchor identifier and this may be confusing UiPath. Try innertext=‘#" + WebOrder ID + "’" instead of aaname.
Ok, will try that and let you know. Thanks