Quintiq file version 2.0 
 | 
#parent: GUITimer 
 | 
Response OnTimer () id:Response_SWF_CustomDrawComponentProcessDashboard_GUITimer_OnTimer 
 | 
{ 
 | 
  #keys: '[107588.2015.1189815702]' 
 | 
  Body: 
 | 
  [* 
 | 
    // Workaround preventing the workflow toolbar to initially show after UI start while workflow is disabled 
 | 
    if ( guard( not SWF_WorkflowDataset.IsWorkflowEnabled(), true )  )  
 | 
    { 
 | 
      SWF_CustomDrawComponentProcessDashboard.ShowHideWorkflowDashboard( false ); 
 | 
    } 
 | 
     
 | 
    // Disable the timer since it should only fire once at UI start-up 
 | 
    this.Enabled( false ) 
 | 
  *] 
 | 
  CanBindMultiple: false 
 | 
  DefinitionID: 'Responsedef_GUITimer_OnTimer' 
 | 
} 
 |