When you recover a workflow or session, the Integration Service restores theworkflow or session state of operation to determine where to begin recoveryprocessing. The Integration Service stores the workflow state of operation inmemory or on disk based on the way you configure the workflow. The IntegrationService stores the session state of operation based on the way you configure thesession.
Workflow State of Operation
The Integration Service stores the workflow state of operation when you enablethe workflow for recovery or for suspension. When the workflow is suspended,the state of operation is in memory.When you enable a workflow for recovery, the Integration Service stores theworkflow state of operation in the shared location, $PMStorageDir. TheIntegration Service can restore the state of operation to recover a stopped,aborted, or terminated workflow. When it performs recovery, it restores the stateof operation to recover the workflow from the point of interruption. When theworkflow completes, the Integration Service removes the workflow state of operation from the shared folder.The workflow state of operation includes the following information:Active service requestsCompleted and running task statusWorkflow variable valuesWhen you run concurrent workflows, the Integration Service appends theinstance name or the workflow run ID to the workflow recovery storage file in$PMStorageDir.When you enable a workflow for recovery the Integration Service does not storethe session state of operation by default. You can configure the session recoverystrategy to save the session state of operation.
Session State of Operation
When you configure the session recovery strategy to resume from the lastcheckpoint, the Integration Service stores the session state of operation in theshared location, $PMStorageDir. The Integration Service also saves relationaltarget recovery information in target database tables. When the IntegrationService performs recovery, it restores the state of operation to recover thesession from the point of interruption. It uses the target recovery data todetermine how to recover the target tables.You can configure the session to save the session state of operation even if youdo not save the workflow state of operation. You can recover the session, or youcan recover the workflow from the session.The session state of operation includes the following information:
. If the output from a source is not deterministic and repeatable, theIntegration Service saves the result from the SQL query to a shared storage file