Quintiq file version 2.0 
 | 
#parent: #root 
 | 
Method OnFailed (Exception ex) 
 | 
{ 
 | 
  Description: 'Post fail run step' 
 | 
  TextBody: 
 | 
  [* 
 | 
    // Once the step is done, update its status according to the feedback from other datasets upgrade job 
 | 
    status := DMF_Utility::ID_Failed() 
 | 
    this.UpdateStatus( status ); 
 | 
    this.UpdateEnd( DateTime::Now() ); 
 | 
    this.UpdateMessage( ex.Message() ); 
 | 
     
 | 
    this.DatasetInConvertorVersion().OnFailed( ex ); 
 | 
  *] 
 | 
} 
 |