Hi @kkran ,
We can use Foreach Loop Container to find the files, then use empty Sequence Container, Precedence Constraint, File System Task to move the files to archive folder.
Please refer to the following pictures:
DATEDIFF( "mm", (DT_DBDATE) (SUBSTRING( RIGHT( TOKEN( TOKEN( @[User::FileName] , ".", 2 ), "_", 1 ) , 8 ) , 1, 4)+"-"+
SUBSTRING( RIGHT( TOKEN( TOKEN( @[User::FileName] , ".", 2 ), "_", 1 ) , 8 ) , 5, 2)+"-"+
SUBSTRING( RIGHT( TOKEN( TOKEN( @[User::FileName] , ".", 2 ), "_", 1 ) , 8 ) , 7, 2)), GETDATE())>3
Best Regards,
Mona
----------
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.