Visit ComfyUI Online for ready-to-use ComfyUI environment
Manage batch task completion, process files/images individually, automate workflow progression.
The "For Each Done" node is designed to manage the completion of tasks in a batch processing workflow. It is particularly useful when working with a series of images or files that need to be processed individually. This node helps in marking the completion of each file's processing, ensuring that the workflow can proceed to the next file in the batch. By using this node, you can efficiently handle large sets of data, automate repetitive tasks, and ensure that each file is processed in sequence without manual intervention. This node is essential for maintaining the state of batch processing and ensuring that no file is left unprocessed.
This parameter represents the image that is currently being processed. It is of type "IMAGE" and is required for the node to function. The image parameter is crucial as it signifies the current file in the batch that the node will mark as done.
This parameter is of type "FOREACH" and is required for the node to function. It represents the state file that keeps track of the files to be processed. The foreach parameter is essential for managing the batch processing state and ensuring that the node can correctly mark the current file as done and move on to the next one.
This node does not produce any output parameters. Its primary function is to update the state of the batch processing by marking the current file as done.
<directory_path>
© Copyright 2024 RunComfy. All Rights Reserved.