/// <summary>
 /// Passivate is called before persisting the process instance data
 /// </summary>
 public void Passivate()
 {
     log.Info("Passivating");
     if (_processData != null)
     {
         _processDataXmlString = _processData.OuterXml;
     }
     _tokensInPlaces = null;
     _definition = null;
     _environment = null;
     _activated = false;
 }
Example #2
0
 /// <summary>
 /// Passivate is called before persisting the process instance data
 /// </summary>
 public void Passivate()
 {
     log.Info("Passivating");
     foreach (TaskShell ts in _activeTransitions.Values)
     {
         ts.Passivate();
     }
     _definition = null;
     _environment = null;
     _activated = false;
 }
 /// <summary>
 /// Passivate is called before persisting the process instance data
 /// </summary>
 public void Passivate()
 {
     log.Info("Passivating");
     _tokensInPlaces = null;
     _definition = null;
     _environment = null;
     _activated = false;
 }