...
The connection between WhatIfs-instances and workflows is (as off of 2022.01) established via the the WorkflowDescriptors, where a <whatIfTemplateId> can be defined (one of the last elements).
Note: this is a non-backward compatible change from 2021.02 and earlier releases where the connection betwen between workflows and WhatIfTemplates was defined in the Topology.xml.
...