Yuri Pinto (yurispinto)
Tata Consultancy Services

Tata Consultancy Services
yurispinto Member since 2018 4 posts
Tata Consultancy Services
Posted: August 16, 2018
Last activity: August 17, 2018
Posted: 16 Aug 2018 19:34 EDT
Last activity: 17 Aug 2018 5:02 EDT

Error when running function


We are trying to call function inside a default value expression without success, getting this error:

Problem appending stream null 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
at com.pegarules.generated.html_section.ra_stream_searchcriteria_ca0bff8e6b4a03e8180555e20d453d42.execute(

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.


Yuri Silva

Pega Platform Low-Code App Development
Moderation Team has archived post, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.