Hi there,

I have a procedure with an input parameter of type List.

How to assign empty list when i call it?

regards and thank you 

You have to check the identifier of the entity is a null identifier or not. If the result is no data then it will result in empty data.

You need to assign the list as a list type of the  List data. Please check the link below  for better undersatnding,

https://www.outsystems.com/forums/discussion/41214/assigning-a-list-a-to-list-b/


I hope it will help you to get it.



I suppose you'd have to use the ListClear action on the specific ListVariable, before you are passing it to the action (procedure).

Regards,

Nordin

Solution

HI IBox,

It seems very simple , if you have a variable of list type and before sending it to the procedure you did not assigned anything to it than the list will be empty by default. if the list has some data already assigned to it and than you can use ListClear action before you are passing it to your procedure.


Regards,

-PJ-

Solution