Invoke Code OutArgument

Hello all.

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

Thank you

Hey @K_Morgan

This should return you a dictionary of out params.

Thanks
#nK

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.