Hi @Jefferson-2765,
- Add a ForEach Loop Container to your Control Flow.
- On ForEach Collection pane, set Enumerator to "Foreach File Enumerator"
- Set Folder to your Source Folder.
- Set Files to your File Spec (.).
- On Variable Mappings, create new variable "User::FileExistsFileName"
- You then just need to configure two output Lines for the ForEach Loop:
- For Success Line: Double-click the Connector Line, set:
Evaluation operation: Expression
Value: Success
Expression: @[User::FileExistsFileName] != ""
- For Failure Line, set:
Evaluation operation: Expression or Constraint
Value: Failure
Expression: @[User::FileExistsFileName] == ""
Regards,
Zoe Hui
If the answer is helpful, please click "Accept Answer" and upvote it.