Visit ComfyUI Online for ready-to-use ComfyUI environment
Mark request as complete in metadata file, essential for workflow progress and task tracking in automated workflows.
The SetRequestStateToComplete
node is designed to mark a request as complete within the request metadata file. This node is particularly useful in workflows where you need to signal the end of a task or process. By updating the request state to "complete," it helps in managing and tracking the status of various tasks, ensuring that the workflow progresses smoothly. This node is essential for maintaining the integrity and accuracy of task states, which can be crucial for debugging and monitoring purposes. It also clears the request_id
to prepare for new tasks, making it a vital component in automated workflows.
This parameter is required and should be set to "TASK_DONE". It acts as a trigger to indicate that the task associated with the request has been completed. This input is crucial for the node to perform its function of updating the request state to "complete". There are no minimum, maximum, or default values for this parameter as it is a fixed string input.
This node does not produce any output parameters. Its primary function is to update the state of the request in the metadata file and clear the request_id
.
resource_0
parameter is correctly set to "TASK_DONE" to trigger the state update.<filename>
CreateRequestMetadata
node has been executed properly to generate the metadata file.request_id
being set is the same as a previously used request_id
, which can cause conflicts in the workflow.request_id
. Check your workflow to make sure that no duplicate CreateRequestMetadata
nodes are being used.request_id
has not been set properly and is using a placeholder value.CreateRequestMetadata
node to ensure that a valid request_id
is being assigned.© Copyright 2024 RunComfy. All Rights Reserved.