Routing Table Clarification

We understand, Pega is maintaining routing table rule internally -which help to display the Portal, when we open a case via Sematic URL .

We have observed, whenever, we are updating a view in a landing page, pyRoutingTable rule is getting created in that branch.

We used to merge the entire branch in a RSV and move that to target env and thus the pyRoutingTable rule gets deployed to the target env .

Sometimes , we are observing , though the latest routing rule is present in that target env --still in application rule we got an error saying -"Please unlock ruleset to update routing table "( attached image) .When , we get this error -sometimes , we are observing the portals are not generated properly and sometimes there is no as such issue altogether. As part of the resolution -->We unlock the rsv and generate the routing table again in the traget env and then lock the ruleset back .

I need some guidance- Though , we move the routing table rule explicitly as part of code deployment, then why that error is coming? Are we missing anything or it is recommended to explicitly generate routing table after each code deployment ?

@AVIKCEMK The routing table is a versioned rule and hence you’re not allowed to update it if the ruleset version is locked. So the issues you have are not connected to the routing table not being allowed to be updated. However, if you are deploying the routing table and still see issues, then I would suggest the following:

  • Double check that the routing table gets picked up in the product rule you are deploying.
  • Check that your constellation DSS instances have proper values, sometimes this can cause issues. Check also that they have the same value across environments.
  • Check that the application instance is included in the deployment.

If you still see issues, I would suggest to send an INC for it to have it checked out. You are not expected/required to regenerate the routing table in higher environments manually.

Hi Team,

I am facing an issue with the Routing Table locking in Pega and would appreciate your guidance.

When I open an RSV and select Generate Latest Table, the routing table locking message is removed. However, when I lock the RSV again, the same locking message reappears.

I also noticed that the Routing Table rule is available in multiple RSVs across the application. Could someone please advise on the recommended approach for handling this? Specifically:

  • Should the Routing Table rule be present in multiple RSVs, or should it be maintained in a specific RSV?
  • What is the recommended way to resolve the recurring routing table locking issue?
  • Is there any cleanup or synchronization required across the RSVs?
  • Would disabling the Open in Tab option be a valid workaround for this scenario?

Additionally, when I hover over the item, the Open in Tab option is displayed, but selecting it consistently results in a 400 error.

If anyone has encountered this issue or knows the correct Constellation/Pega configuration to resolve it, please share the recommended solution.

Thanks in advance.

Hi @VinodkumarE17746559
Based on the behavior described, it looks like the issue may be related to the Routing Table rule being present across multiple RSVs.

When we select Generate Latest Table, the routing table gets regenerated and the locking message disappears. However, after locking the RSV again, the same message comes back. This could indicate that another RSV still contains or references an older version of the Routing Table, or that the application is trying to update the routing table in a locked ruleset.

I would recommend checking which RSV/ruleset should be the single source of truth for the Routing Table and avoiding having multiple RSVs managing different versions of the same Routing Table rule.

The Open in Tab option and the routing-table locking issue may be separate problems. Disabling Open in Tab could be used as a temporary workaround if the functionality is not required, but I would not consider it a proper solution for the routing-table issue. The 400 error when selecting Open in Tab should be investigated separately, particularly the semantic URL and the route being generated.

I would suggest checking the following:

  • Which RSV currently owns the latest Routing Table rule.

  • Whether the same Routing Table rule exists in multiple RSVs and which version has the highest precedence.

  • Whether any older RSV is still unlocked/locked with an outdated routing table.

  • Whether the Application rule is attempting to regenerate the routing table in a locked RSV.

  • Whether all environments have the same expected Routing Table version after deployment.

Ideally, the Routing Table should be managed consistently rather than having multiple RSVs containing competing versions.

I would also avoid using Generate Latest Table followed by manually locking/unlocking the RSV as a permanent workaround. It would be better to identify why Pega is attempting to update the routing table after the RSV is locked.

For the Open in Tab 400 error, I would recommend troubleshooting that independently rather than disabling the option unless Pega confirms that it is a known issue or an unsupported configuration.