Quintiq file version 2.0 
 | 
#parent: #root 
 | 
Method Synchronize ( 
 | 
  SWF_Workflow workflow 
 | 
) 
 | 
{ 
 | 
  Description: 
 | 
  [* 
 | 
    Synchronizes this element with workflow, if recursive then also all descendents are synced. 
 | 
    Precondition: parent must be the parent step belonging to my parent step definition. 
 | 
  *] 
 | 
  IsAbstract: true 
 | 
  TextBody: 
 | 
  [* 
 | 
    dependentStep := this.DependentStep().GetWorkflowStep( workflow ); 
 | 
    requiredStep := this.RequiredStep().GetWorkflowStep( workflow ); 
 | 
     
 | 
    if( not isnull( dependentStep ) 
 | 
        and not isnull( requiredStep ) ) 
 | 
    { 
 | 
      requiredStep.AddDependentStep( dependentStep );   
 | 
    } 
 | 
  *] 
 | 
} 
 |