Question

2
Replies
24
Views
Sri Lalitha Member since 2017 12 posts
Swedbank
Posted: 2 months ago
Last activity: 2 months 2 weeks ago

Facing error when trying to save a section by giving parameterized data page in the as the visibility condition conditional expres

Hi,

We are trying to save a section with visibility condition conditional expression as below.

D_ShowDelegatedRules[RuleName:'XYZ'].pyLabel

Note: RuleName is a required parameter in the data page.

While saving we are getting the below error.

This record has 20 error(s) in 2 place(s) .

line 1:20 token recognition error at: '[' D_ShowDelegatedRules[RuleName:'XYZ'].pyLabel ^ line 1:21 mismatched input 'RuleName' expecting {<EOF>, ')', '<', '>', '<=', '>=', '==', '=', '!=', '<>', '^=', '&&', '&', 'AND', '||', '|', 'OR'} D_ShowDelegatedRules[RuleName:'XYZ'].pyLabel ^^^^^^^^ line 1:35 token recognition error at: ']' D_ShowDelegatedRules[RuleName:'XYZ'].pyLabel ^

Condition for visibility—

line 1:20 token recognition error at: '[' D_ShowDelegatedRules[RuleName:'XYZ'].pyLabel ^ line 1:21 mismatched input 'RuleName' expecting {<EOF>, ')', '<', '>', '<=', '>=', '==', '=', '!=', '<>', '^=', '&&', '&', 'AND', '||', '|', 'OR'} D_ShowDelegatedRules[RuleName:'XYZ'].pyLabel ^^^^^^^^ line 1:35 token recognition error at: ']' D_ShowDelegatedRules[RuleName:'XYZ'].pyLabel

 

If parameter is removed and given as D_ShowDelegatedRules.pyLabel, then the section is getting saved.

Has anyone faced the same issue?

Thanks in advance!

/Sri Lalitha.

Pega Platform 8.3.1 User Interface Financial Services Senior System Architect
Share this page LinkedIn