Hi, I am handling one sharepoint automation . i need to check if below format file is present or not and it sould be in xlsx format
example - 2023-05-02_1269202_MembersListReport
format- YYYY-MM-DD_MemberGroupID_FileName.xlsx
in the folderitem.name itself i m getting as
“2023-05-02_1269202_MembersListReport.xlsx” … just i need to check the format for validation
YYYY-MM-DD_MemberGroupID_FileName.xlsx
you can use the shared Regex Statement line from above within the immediate panel and test it
Ensure that the valiable scopes are high enough
Use the isMatch activity
place below the isMatch activity a commment and set the breakpoint
then debug and check again in the debugging panels
The isMatch activity returns true or False in the output variable,
Just use an if condition and pass that boolean variable into it,
in the then section use the move File/Folder activity.
In the destination folder pass the destination folder path with the other properties as you need.