How to clear the content inside an array and dictionary

Hi Guys,

I created an array and dictionary. I would like to know once I have information inside of these objects how can I delete or clear the information inside of them?. Tks for your help

@sergio85 For clearing u can use clear dictionary activity which is in uipath.

Hi,

  1. TO Clear array just reinitialize array elements to null using assign
  2. There is a clear dictionary activity for your second query.

Hi,
U can use clear collection activity to clear nd for datatable u can use clear datatable activity

Thanks,
shaik azmal

1 Like

Thank you so much for your help

Hi, I could not find clear dictionary activity. How can I add it?. Tks for your help.

See whether all the packages are installed in your uipath studio. If they are not then install them, you must see that activity.

Thank you so much. I found it after installing all packages.

Hi,

I recommend to use assign activity as below for clearing your collection of type Array

myArray

2 Likes

Boa tarde!
Muito obrigado pela dica.