If the ARIS server is restarted unexpectedly or data is restored while a report is running, the report is stopped immediately. The state of execution remains unclear. This can lead to data inconsistency if, for example, a Process Governance workflow was executing several reports that modify data or a long-running report was writing to the database.
If you activate the Recoverable control (Report properties > General) for related reports, a unique runtime ID is written or received from Process Governance. If the report runs successfully, the ID is deleted. If report execution is interrupted, a caller can restart the report with exactly this runtime ID. All data stored for this ID (key/value pairs) are added to the script. The script can now use these values to determine what happened during the last execution and resume.
To test this, start the script debugger in ARIS Architect and the runtime ID is created. If you interrupt the execution of the debugger (Stop) and start it again (Start/Step into/Step over), the key/value pairs are stored. The stored values are retained and the script can react to them. The runtime ID is not deleted until you call Reset execution data or you close the debugger.