anchor.diff:      atm_workflow_execution_env:set_workflow_audit_log_store_container(
           AtmWorkflowAuditLogStoreContainer, Env
       ).
  +
  +
  +%% @private
  +-spec infer_progress_data_persistence_policy(atm_workflow_execution:doc()) ->
  +    workflow_handler:progress_data_persistence().
  +infer_progress_data_persistence_policy(#document{value = AtmWorkflowExecution}) ->
  +    case atm_workflow_execution_status:infer_phase(AtmWorkflowExecution) of
  +        ?SUSPENDED_PHASE -> save_progress;
  +        ?ENDED_PHASE -> clean_progress
  +    end.
   
   
   %% @private
  
positive.code: 
      handle_workflow_execution_stopped/2,
  
      handle_exception/5
  ]).
  
  
  
negative.code: 
  
  %% @private
  get_root_workflow_execution_ctx(AtmWorkflowExecutionId, AtmWorkflowExecutionEnv) ->
      % user session may no longer be available (e.g. session expiration caused exception) -
      % use provider root session just to stop execution
      AtmWorkflowExecutionAuth = atm_workflow_execution_auth:build(
          atm_workflow_execution_env:get_space_id(AtmWorkflowExecutionEnv),
          AtmWorkflowExecutionId,
          ?ROOT_SESS_ID
      ),
  
      atm_workflow_execution_ctx:acquire(undefined, AtmWorkflowExecutionAuth, AtmWorkflowExecutionEnv).
  
  
  %% @private
  