Comfy-Org / Comfy-Org/ComfyUI

Save API Workflow with a primitive connected to a forceInput pin doesn't save the primitive's value; it should

Open
#3,978 2 comments 1 reaction 0 assignees View on GitHub
Bug Potential Bug
Dominant language
Python
Stars
133k
Forks
15.7k
Avg merge
1d 10h
Merged PRs (30d)
153

Description

### Expected Behavior

Connecting a primitive to a `forceInput` input pin saves a workflow with Save API Workflow correctly and loads that workflow with the primitive value correctly.

### Actual Behavior

Connecting a primitive to a `forceInput` input pin, then clicking Save API Workflow, will save a workflow that has the primitive value. Loading it, however, shows the primitive value is missing. this is unexpected.

### Steps to Reproduce

1. There are no vanilla `forceInput` nodes, so you'll have to author one.
2. Connect a primitive to the `forceInput` input.
3. Click "Save API Workflow" in the menu.
4. Load the workflow
5. Observe the value is missing

### Debug Logs

```powershell
(no notable output)
```

### Other

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.