Create new incident workspace
So I have an add-in with a button - this button is on an incident workspace and when clicked will create a new incident workspace using this:
IRecordContext recContext = _globalContext.AutomationContext.CreateWorkspaceRecord(WorkspaceRecordType.Incident);
I have created two workspaces in workspace designer, for this example let's call them 1 and 2. The button sits on workspace 1 and when clicked will create a new workspace 1. But I want it to create a new workspace 2. How do I do this? Many thanks!