I am trying to use different methods on a list in UI studio like remove,clear,etc. But, it is showing a validation error for these methods.
Eg: listname=listname.Clear()
(in Assign activity)
Maybe I am writing the format wrong? Can please someone help me out with this.
1 Like
Hi
If you are getting error like expression does not produce a value or something like that then you need to use Invoke Method activity instead of assign.
You can go through this link Use of Invoke Method
Thanks
1 Like
@Bharat Works with invoke! Thank you.
@PrankurJoshi Wanted to do it without using activity. Found the solution though. Thank you.