Output record flags
- Last UpdatedApr 24, 2025
- 1 minute read
When the Application Calculation Engine (ACE) writes to a telemetered field, it has the ability to update the fresh flag and the error flag on that record.
If the calculation fails, the record is put into error. If the ACE record is flagged to update the fresh status, the output is set to stale when a calculation fails.
Flags can similarly be changed if a PubSub input has no publisher; the error flag is set to yes and the fresh flag is set to no. The ACE record needs to be flagged to update the fresh status.
When updatefresh is active, the ACE examines all of the inputs and calculates the fresh flag for the output record. The algorithm for each parameter is as follows:
If this parameter = output field
Continue to next parameter
Else
If this parameter is configured
If this parameter has a fresh flag
AndFresh = AndFresh AND parameter.fresh
OrFresh = OrFresh OR parameter.fresh
End If
End If
End If
End For Loop
If Using AND For Fresh
Output.fresh = ANDFresh
Else
Output.fresh = ORFresh
End If