Hi,
I have a problem with SUBSTRING. I try to fill an attribute with a part of a string.
I added a rule like this (and call an UPDATE to run this rule on every object):
CustomFieldModel.Geboortedatum=CustomFieldModel.Value ////this works and returns a string of 15 characters which is to long
CustomFieldModel.Geboortedatum=SUBSTRING(CustomFieldModel.Value,0,4) ///this gives an error
I get:
java.lang.StringIndexOutOfBoundsException String index out of range: 4
When I Edit the biz object and just save it, the rule works fine. So it looks like SUBSTRING cannot run when called via an process???
Tia
Rob