The Lifecycle of Scenario Data
- One which sets the input data. This load type of mode has the
clearInput
flag set totrue
. On execution of a scenario with this type of execution mode, any existing input data values are erased. When the model exits, Xpress Insight captures and persists the current values of the input data entities.Note: The built-inLOAD
execution mode hasclearInput=true
. - One which sets the result data. This run type of mode has the
clearInput
flag set tofalse
. On execution of a scenario with this type of execution mode, the input data entities in the model are initialized to their values as stored by Xpress Insight with a call to theinsightpopulate
function. When the model exits, Xpress Insight captures and persists the current values of the result entities.Input entities can be recaptured during a run type execution by annotating them with
!@insight.update.afterexecution true
.Note: The built inRUN
execution mode hasclearInput=false
.
By default, all existing result data values are erased on any execution mode. You can use the optional insightcapture
procedure to capture only specified result entities while not affecting others. For more information, see Loading and Capturing Partial Data Sets.
For more information about execution modes, see Mosel Execution Modes.
- On-change—the result data is deleted as soon as an input entity value is modified.
- On-queue—the result data is flagged as dirty as soon as an input entity value is modified, and deletion of the result data is deferred until the scenario is queued for execution.
- On-execute—the result data is flagged as dirty as soon as an input entity value is modified, and deletion of the result data is deferred until the scenario begins executing. These options can be set via a global Mosel annotation
insight.resultdata.delete=[option]
.
You can use the update_keep_result_data=True
annotation to allow modification to an input entity without deleting result data or marking it as dirty. For more information, see Keeping Result Data When Modifying Input Data.
© 2001-2024 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.