Overview
This node clears local workflow variables associated with the current execution. It is useful in scenarios where you want to reset or remove temporary data stored in local variables during a workflow run, ensuring no residual data affects subsequent operations.
Use Case Examples
- In a workflow where temporary calculations or data are stored in local variables, this node can be used to clear those variables before starting a new calculation phase.
- When looping through data and storing intermediate results in local variables, this node can reset those variables at the start or end of each loop iteration to avoid data contamination.
Output
JSON
main- The original input data passed through unchanged after clearing local variables
Dependencies
- Requires access to the workflow's local variable scope management system to delete variables associated with the current execution ID.
Troubleshooting
- If the node does not clear variables as expected, ensure that the workflow execution ID is correctly obtained and that the local variable scope is accessible.
- Errors related to undefined or missing local variable scope indicate issues with the workflow environment or variable management setup.