private void InitializeFormsWorkflowRuntime()
        {
            _formsWorkflowEventService = new FormsWorkflowEventService();
            _externalDataExchangeService.AddService(_formsWorkflowEventService);


            IFormsWorkflowActivityService formsWorkflowActivityService = new FormsWorkflowActivityService();

            _externalDataExchangeService.AddService(formsWorkflowActivityService);
        }
        public void Flush()
        {
            _workflowRuntime                = null;
            _externalDataExchangeService    = null;
            _manualWorkflowSchedulerService = null;
            _fileWorkflowPersistenceService = null;
            _formsWorkflowEventService      = null;

            _resourceLocker.ResetInitialization();
        }