Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

As of 2021.01 the new WhatIf functionality is being introduced with the intention to remove the outdated WhatIf functionality by 2023. This new WhatIf functionality uses WhatIfTemplates which can be populated in the WhatIf Editor, i.e. the display to create whatif-instances that can be applied to a workflow. The connection between WhatIfs-instances and workflows is established via the IFD, the Interactive Forecasting Displays, where a <whatIfTemplateId> can be defined after the <workflowId> in the Topology.

You can use the IFD-config option <enableAutoApprove> to bring the auto approve button to the attention of the user. This checkbox is however not shown when using in combination with specifying a relative viewPeriod in the IFD-node

Code Block
titleConnecting a WhatIf-template to a workflow in the Topology.xml or TopologyGroup.xml
        <node id="run_whatif_properties" name="wf1 t1 Properties">
            <workflowId>Test_WhatIfSettings</workflowId>
			<enableAutoApprove>false</enableAutoApprove>
            <whatIfTemplateId>whatif_properties</whatIfTemplateId>....

...