Calculation Flows Configuration

In Administration > Configuration > System ConfigurationCalculation Flows, you can configure the flow engine.

CalculationFlowsConfiguration01.png

The selected flow in the screenshot above has two actions (Flow Items), one of them is periodic and the repeat interval is defined by the Time Unit (minute, hour, day, month, year) and Number of Time Units fields. The Logic Name field identifies the calculation logic which should be executed. The Target Date determines, which calculation logic and Company Parameters will be used for the calculation (based on their valid-after date).

Once the flow is deployed and successfully executed, it disappears from the list (only Drafts or flows with Flow Items with Periodic selected remain). The flow items are executed in the order that is displayed. If the items have not reached their “due date”, they are skipped. Only one flow at a time is executed.
You can check the flow's execution status on the Jobs & Tasks page. The calculation flow can be identified by its name and typedId.

If the calculation flow is executed and ends with an error, what happens next depends on the setting in the Repeat after failure column:

  • True – The job is automatically repeated until it succeeds or until the value entered in the Max number of retries column is reached (the default is 5, which means 5 attempts: the initial run and 4 retries; 0 means that the job will be repeated until it finishes successfully). You can display the Retries left column (hidden by default) to see how many execution attempts are remaining.
    Note that the next scheduled run or a manual run resets the number of remaining tries back to the maximum value. So for short repeat intervals, the next scheduled run can start before the maximum number of retries in the previous run is exhausted.

  • False – The flow item is executed only once, no matter if it finishes successfully or not.

 Calculation Flow schedule time does not reflect daylight saving time (since it is based on the server time in UTC). If you need to have the Calculation Flow running daily at exact time, you need to include a custom code which will handle it when switching to summer/winter time.

For more information on scheduling & prioritization of calculation flows and other advanced topics, see the subsequent section Calculation Flow Management.

Found an issue in documentation? Write to us.

 
Pricefx version 13.1