Hello,
I wanna like to directly use Dictionary.Add (Key, Value) in the argument list of the invoice workflow, but in VB code, the Add method of Dictionary is no return a value. So I implement this, either assign to the Dictionary or use InvokeMethod Activities. Can I override the Add method in UiPath use Activities Or else? Or do I write a function to implement it?
You can create your own function which takes input like this and then inside that you can use invoke method or assign…
May I know why do you need this…as I dont see any specific use of it
You cannot override that function thought …but can create a new similar one as you need with return type
Cheers
Hello @Alan_Li
You can simply in assign key value in acitivity activity
to Value
Dictionary(“KeyName”) =“YourValue”
Thanks, You are right, .
But to do it like this, I need to take one more step and I want to skip it.