161
Views
4
Comments
Solved
How to set the list as Null

Hi 
   I have a Local Variable with list of something like this.

I need to set this Local Varible as Null. If it is a integer data type, we can set it as NullIdentifier(). But this is list of records where Offset X and Offset Y consist of different data type. How make this list as Null?
 

2023-12-16 19-57-03
Sanjay Kushwah
Solution

Hi @Annie Bibiana Yesudass,

If you want to remove all elements from list and make it lenght=0 

then simply use ListClear Action available in system module.

Kind regards,

Sanjay Kushwah

2024-05-08 06-29-37
Prince Aadil Khan Panwar

Hi @Annie Bibiana Yesudass 

this way

double click on the assignment and select this way

if it helped please mark my reply as solution. 

Thanks

Prince

UserImage.jpg
Annie Bibiana Yesudass

Hi @Prince Aadil Khan Panwar,

                               Thank You for the response. The above assign only makes it null for the currently assigned values. Suppose it has more than one value stored like [0], [1],.... . How can I make it as null for all the elements. I created a client action and tried to remove all the elements in the list. I need make its length as zero and remove all the elements from the list.

I also tried to put inside the loop but it's removing only one data. 
For example , I have table where its source is this LocalVariable List. I need to delete all the records inside that table.


Thank You,
Annie Bibiana

2024-05-08 06-29-37
Prince Aadil Khan Panwar

Try to use list clear action this will make empty the whole list. 

2023-12-16 19-57-03
Sanjay Kushwah
Solution

Hi @Annie Bibiana Yesudass,

If you want to remove all elements from list and make it lenght=0 

then simply use ListClear Action available in system module.

Kind regards,

Sanjay Kushwah

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.