I am getting errors to configure when rule in declare index indexing conditions. Below are the details.
Declare index created for page property saved properly and when rule also applied properly.
Declare index created for page list property (which is inside a page property) saved properly, but when added when rule in indexing conditions then declare index rule not saving and displaying syntax error for that page list property.
We are in Pega 7.1.7, did any one face this issue? Please update us.
Please find attached image with error, getting this error while saving index rule with when condition. But with out when condition its saved properly and worked fine. Negotiations is a pagelist property.
When rule contains just to verify the objclass of the Primary page, i just want to apply this indexing only for certain request types.
Majority times we do see issues like this and try to get around by altering and trying few differnt things. I understand that without when rule, the syntax of 'Source page context' is fine and allowed you to save Declare Index. But to get around this, let's alter your source page context to .Contract.Negotiations() and try saving it. If at all you can save, create a case and see if the index instances are getting stored. If not we'll figure out another way to get it working.
Can you check whether you have HFix-20365 installed? It addresses an error when trying to save a Declare Index rule with a source page context of .Page.PageList(). You may already have this installed since you did not get an error when saving the rule without the When condition.