In one of my scenarios, we need to open a flexipage as a new subtab on click on some text link.
Let's take there are list of records like 0001 , 0002, 0003
On click on 0001 we need to open a new flexipage as a subtab and need to pass 0001 in URL.
We are able to open new subtab with the following code
Let workspaceApi = component.find('workspace'); WorkspaceAPi.opensubTab( ParentabId : response url : 'lightning/n/'+myflexipagename+'?info='+0001}), Focus : true })
Now I'm back to my parent tab and click on 0002. Now also I need to open one more new subtab. This is not working.