function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Geoffrey BessereauGeoffrey Bessereau 

Flow variable names do not have input sanitation

t is possible to cause a Flow to bug by naming a variable "null". Flows will not check that the input is a string, and will reject saving the flow saying the name is not specified.

The error is not written as such, gives an internal error code, and is not helpful.


Reproductibility:
- Create a flow
- Create atext variable
- name the variable "null"
- the flow accepts it and does not show any validation errors.
- do some other stuff
- save
- see the error
- see that the flow now detects this as a validation error for some reason
- laugh and go get a coffee.
Magnificent error