Versions Compared

Key

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

...

Approve forecast automatically

When the option enableAutoApprove is not used the IFD will use the logic described below.

When a run is A run started from the IFD it is by default automatically approved. Only when the configurator defines in the workflow descriptors that the workflow should not be automatically approved the forecast is not automatically approved.

When the config option enableAutoApprove is used and set to true,  an  Approve Approve checkbox will appear on the run options panel.  With With this checkbox the forecaster can determine if the forecast should be approved automatically after the run. When defining enableAutoApprove=false, the default IFD behaviour is followed with the checkbox hidden.

The initial  value of the check box is determined by the autoApprove  setting  of setting of the workflowDescriptor.

Note:  the Approve check box will never  appear if  the approving of the forecast is not allowed ( appear if allowApprove=false in workflowDescriptor).   In this case also a  Config.Error is loggedthe inconsistency between the autoApprove setting of the topology and the workflowDescriptor is flagged in a Config.Warn.


Code Block
languagexml
<nodes id="exampleGroupNode">
   <workflowId>workflowA</workflowId>
   <enableAutoApprove>true</enableAutoApprove>
   <node id="exampleChildNode">
      <workflowId>workflowB</workflowId>
   </node>
</nodes>

...