Find string length of context variable


I am trying to find out to route a file through my process based on the length of the file name.

I was hoping there was a function that I could add to the condition string like:






To check the length of the file name provide a Java Condition in which get the file name from the context in some string variable using context.get() . Then provide If condition to check the length of the file using length() function. For Example:

String fileName = context.get("fileName");
return true;
else {
return false;
Have more questions? Submit a request


Article is closed for comments.