I am trying to use the “Invoke Code” activity to invoke the “IndicateOnScreen” method, which I have been able to do, however I cannot figure out how to return the indicated Uielement as an output argument.
I am currently developing in VB.net environment
code is as follows with an outArgument defined as b of type UiElement
Dim indicate As UiPath.Core.Activities.IndicateOnScreen Dim invoker As WorkflowInvoker indicate = New IndicateOnScreen() invoker = New workflowInvoker(indicate) invoker.Invoke()
any help would be super appreciated