How to create folder of Specific Type

How can we create Folder for Current Year inside which the Months folder should be created for all months?



Try this , I hope it will help you.

Sequence.xaml (9.0 KB)

Hello @anmita

You can use create folder activity to achieve this.

First you can use create folder activity and inside the path you can give as “ System.DateTime.Now.Year.ToString”

The use a while loop (i<=12)… initialise i=1
Use create folder activity and give folder name as i

Then use assign activity i=i+1

So in the create folder activity you need to append the name of the year folder which you created.


Expression -

1  -> for creating the current year folder-

2-> For creating the month folder in it :

Sequence.xaml (9.0 KB)

Thanks @Vaibhav_Rajpoot_17 for the Reference


If your problem is solved , kindly marked it as solution for future refernce.

Thanks @Rahul_Unnikrishnan for such Detailed overview

1 Like