You can use the Active when rule on the layout configuration to do this. E.g. in the example below I set the second tab to be active when the property .Dummy == "active". You could do something similar with a dummy property or use a condition suitable to your own deisgn.
On the link in the first time I have actions to set this value.
Now you can see that when I click the link, the value gets set and the tab changes.