Question
Tata Consultancy Services
BR
Last activity: 17 Aug 2018 5:02 EDT
Error when running function
Hi,
We are trying to call function inside a default value expression without success, getting this error:
Problem appending stream nullcom.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 dotat com.pegarules.generated.html_section.ra_stream_searchcriteria_ca0bff8e6b4a03e8180555e20d453d42.execute(ra_stream_searchcriteria_ca0bff8e6b4a03e8180555e20d453d42.java:234)
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.
Any help would be highly appreciated.
Thanks,
Yuri Silva