We are trying to call function inside a default value expression without success, getting this error:
Problem appending stream null
com.pega.pegarules.pub.PRRuntimeException: Section 'SearchCriteria' execution error on page 'pyDisplayHarness' of class 'BRD-Data-Portal'. : The reference @(Pega-RULES:BusinessCalendar).addDays(@(Pega-RULES:DateTime).CurrentDateTime(),-15,false,Grecorian) is not valid. Reason: unexpected character '@' at position 0, expected start of name or a dot
For testing, I've created a section with just a Text Input, using @(Pega-RULES:DateTime).CurrentDateTime() as Default Value and I still getting this same kind of error. I've tried to regenerate this function/library but without success. Also tried to test another function from another library, same problem.
It used to works before, but it stopped recently. We're running Pega 7.2.2.