Full versus Partial Selectors when using Invoke Workflow file

selector
invoke
window

#1

Hi there,

Based on this section of the documentation, selectors for activities inside Attach Window or Attach Browser should not contain information about that window. My question is, if I use Invoke Workflow file inside Attach Window, and in that invoked workflow I do some actions on the window, do I have to use Attach Window again in order to continue using partial selectors? Or does UiPath know that the activities with partial selectors in the invoked workflow are inside the outer window? My guess is that if I invoke a workflow, all outer information is lost and I have to attach again inside the workflow but I would appreciate a confirmation.

Thanks!


#2

You’re right. I would suggest you pass the Window/ browser variable across. I normally begin each workflow (that deals with web page interactions) with a Attach window/ Browser activity.

Hope this helps!