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
Kyriacos TheohariKyriacos Theohari 

Flow Designer Validation Rule

I am adding a validation rule for a large text area within the Flow Designer however the validation rule doesnt seem to be consistant in triggering.

This is my valiadation rule:

LEN (Comment) < 256

I am not sure how what is wrong with the validation rule
Best Answer chosen by Kyriacos Theohari
RD@SFRD@SF
Hi Kyriacos,

The name of the field must be in curly braces, try this
 
LEN({!Comment})<256

Hope it helps
RD​

All Answers

RD@SFRD@SF
Hi Kyriacos,

The name of the field must be in curly braces, try this
 
LEN({!Comment})<256

Hope it helps
RD​
This was selected as the best answer
Kyriacos TheohariKyriacos Theohari
I made the change as per your comments but when i test i enter 255 characters i still see my validation error. Really strange, the validation system in flow designer is rubbish
RD@SFRD@SF
The validation rule in flows works the opposite way than the standard validation rules, you want it to restricted to 256 chars or You want it to be more than 255 chars
 
Kyriacos TheohariKyriacos Theohari
The maximum of characters should be 255
RD@SFRD@SF
Could you share the text you are using to test it, its working for me.
Kyriacos TheohariKyriacos Theohari
LEN ({!Comment}) < 255