Hello, I need to validate that an attachment is a form xls. In version 5. * Existed the regex validator, at 6. * As I can do?
thanks
regards
Hello, I need to validate that an attachment is a form xls. In version 5. * Existed the regex validator, at 6. * As I can do?
thanks
regards
Hello,
It has been replaced by a groovy validator that is easier to work with. See following example.
if your widget is named file1, the groovy validor should take into parameter :
field_File1.getFileName().contains(".xls")Thanks
Hi,
I think it’s better to use the endsWith method.
field_File1.getFileName().endsWith(“.xls”)
Regards
Thank you very much!!
Now as I assign the attachment to a process variable, I have read that a document is created in the pool, but when I do the assignment in the option data widget shows me the following error: “expression document type is not supported”