Project(ProjectStage)
Project (class ProjectStage) is a metadata stage node from the ComfyTV package.
Project Stage
Description
Project (class ProjectStage) is a metadata stage node from the ComfyTV package. It records which project a workflow belongs to, the display name for that project, and the ComfyTV workflow schema version the workflow was authored against. These values travel with the workflow and are used by the ComfyTV frontend to identify and validate the project context.
The node has no upstream inputs and produces no outputs, so it does not participate in the execution graph. It functions purely as a persistent marker embedded in the workflow file.
Inputs
project_id
- Type: STRING
- Required: Yes
- Default:
""(empty string)
The identifier of the project this workflow is bound to. On the frontend this field is bound to projectStore.currentProjectId, and the value is persisted with the workflow. Use it to associate a saved workflow with a specific project record; changing the value re-points the workflow at a different project.
project_name
- Type: STRING
- Required: Yes
- Default:
""(empty string)
A human-readable display label for the current project. This is the name shown to users when identifying the workflow's project context; it does not need to be unique.
schema_version
- Type: INT
- Required: Yes
- Range: 0 to 2147483647
The ComfyTV workflow schema marker for this workflow. The frontend compares the loaded value against the current schema version and warns the user if they differ. Set this to the schema version the workflow was built for, and update it only when you intentionally migrate the workflow to a newer schema.
Outputs
This node has no outputs.
Usage Notes
- Because
Projecthas no outputs and no required connections, it can be placed anywhere in the graph. It is a configuration node, not a processing step. - All three values are stored in the workflow itself. Saving the workflow is what preserves the project binding; there is no separate persistence step.
- Leave the defaults as empty strings only if you do not need project tracking. Populating
project_idandproject_namemakes the workflow self-describing when shared or reloaded. - If the frontend reports a schema version mismatch, do not silently overwrite the field. Check which schema the workflow's nodes were authored for, then either update the workflow or set
schema_versiondeliberately.
Comments
Sign in with GitHub to join the discussion.