@DharmaReddy : The open in new tab basically works using the configuration in the pyRoutingTable rule. You can open rule from dev studio and click on View XML, you should see alias for case type.
An example below from my demo application from pyRoutingTable
Your URL should be like this https://<>/PRAuth/app/ima/ideas/I-1?portal=WebPortal
This usually works on a table which is sourced by data page and the results in the data page should contain pyID and pzInsKey. How are you trying to implement in your UI ?
@DharmaReddy : Interesting that it works for some case types and not for others. The pyRoutingTable rule should contain this config for all case types for your application.
Whenever you add a new case type to the application, You need to regenerate the routing table from the application rule. I can suggest to generate routing table again and see if you see all case types in the View XML.
you can see pyRoutingtable saved in multiple Ruleset versions in your applicaton. keep only latest one and delete pyRoutingtable from all older version. then it will work.