# Edit static workflow data (workflow variables) from UI

**URL:** <https://community.n8n.io/t/edit-static-workflow-data-workflow-variables-from-ui/35136>\
**Category:** Feature Requests\
**Created:** [January 10, 2024, 5:44pm UTC](https://community.n8n.io/t/edit-static-workflow-data-workflow-variables-from-ui/35136 "2024-01-10T17:44:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![fivemoreminix](https://avatars.discourse-cdn.com/v4/letter/f/c5a1d2/32.png) [@fivemoreminix](https://community.n8n.io/u/fivemoreminix)\
**Post date:** [January 10, 2024, 5:44pm UTC](https://community.n8n.io/t/edit-static-workflow-data-workflow-variables-from-ui/35136/1 "2024-01-10T17:44:01Z")

</div>

## The idea is:

You should be able to see and edit or remove any of your [global or node-specific static workflow data](https://docs.n8n.io/code/cookbook/builtin/get-workflow-static-data/) from the UI. I have found that it only gets saved during non-test-runs, so in order to clear any saved variables, I must run a release run where I only execute a Code block which deletes the data.

It would be great to be able to edit these variables in a settings menu.

## My use case:

I use the workflow static data to keep track of my the state of my workflow as it runs on a schedule. In order to reset all of the state of the workflow, I must reset the workflow static data variables. The only way I’m aware to do this is by editing the workflow document using a text editor or to add a Code block, write in the variables to delete, and change my workflow to only run that node on the schedule.

This is inconvenient as you can see.

## I think it would be beneficial to add this because:

It improves the usability of the application and user experience when working with variables.

## Any resources to support this?

> **[getWorkflowStaticData | n8n Docs](https://docs.n8n.io/code/cookbook/builtin/get-workflow-static-data/)**
>
> Documentation for n8n, a workflow automation platform.

## Are you willing to work on this?

I don’t think you would want me to write JavaScript. I just had to look up the syntax of console.log

---

<div class="post-metadata">

**Author:** ![AutoBot](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/autobot/32/33559_2.png) [@AutoBot](https://community.n8n.io/u/AutoBot)\
**Post date:** [January 30, 2024, 11:21pm UTC](https://community.n8n.io/t/edit-static-workflow-data-workflow-variables-from-ui/35136/2 "2024-01-30T23:21:37Z")

</div>

I developed a community node for n8n, named `n8n-nodes-globals`, that might be helpful in your workspace replacing static node variables.

Usage example:

 ![Define constants](https://europe1.discourse-cdn.com/n8n/original/3X/5/e/5e3f865889d3d3b5309dc8ce7822d53cb9b48813.png)

 ![Use constants](https://europe1.discourse-cdn.com/n8n/original/3X/1/3/13c17f7154a266df0d54ea65c6171e601e92dcf8.png)

Please test this node and share your experiences or suggestions.

Github repo: [GitHub - umanamente/n8n-nodes-globals: N8N community node that allows users to create global constants and use them in all their workflows · GitHub](https://github.com/umanamente/n8n-nodes-globals)

---

<div class="post-metadata">

**Author:** ![solomon](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/solomon/32/43567_2.png) [@solomon](https://community.n8n.io/u/solomon)\
**Post date:** [February 7, 2024, 4:46pm UTC](https://community.n8n.io/t/edit-static-workflow-data-workflow-variables-from-ui/35136/3 "2024-02-07T16:46:57Z")

</div>

Would also like this feature!
