"Unzip/Extract" I'm trying to create my own variable but I keep getting below error. Any advice

In process to create my own Unzip process to pickup multiple zip’s from folder. I needed to a variable. But I keep getting below error. Any advice
‭ ‬
Argument ‘To’: Compiler error(s) encountered processing expression “fileList”. ‘fileList’ is not declared. It may be inaccessible due to its protection level.

image

@sai_nomula

Welcome to forums

Can you check the scope of the variable in the Variables panel?, If it is limited to some sequence, change to work in the main sequence

Hope this may help you

Thanks

Check the scope of fileList on the variables panel

@sai_nomula

Chek below example

image

As I created the variable Sub Sequence so the scope is Sub Sequence but when I try to use the variable in Main Sequence it will raise a exception, then to work, you have to change the Scope of the variable to Main Sequence in the Variable Pane, then you can use anywhere in Main Sequence even you have multiple sequences

Hope this is clear for you

Thanks