| Quintiq file version 2.0 | 
| #parent: PanelCustomDraw/CustomDrawDataLayerWorkflowDefinition | 
| Response OnDrawObject ( | 
|   SWF_WorkflowDefinition object | 
| ) id:Response_PanelCustomDraw_CustomDrawDataLayerWorkflowDefinition_OnDrawObject | 
| { | 
|   #keys: '[136682.0.710330587]' | 
|   CanBindMultiple: false | 
|   DefinitionID: 'Responsedef_WebCustomDrawDataLayer_OnDrawObject' | 
|   QuillAction | 
|   { | 
|     Body: | 
|     [* | 
|       // Draw Workflow info | 
|       //this.Rectangle( region ); // Debug | 
|       surface.TextColor( Color::GrayText() ); | 
|        | 
|        | 
|       gp                    := SWF_WorkflowDataset.GlobalParameter();  | 
|       bigfont               := FontSpecification::Construct( gp.DashboardFont(), gp.DashboardFontSizeBig() ); | 
|       mediumfont            := FontSpecification::Construct( gp.DashboardFont(), gp.DashboardFontSizeMedium() ); | 
|       leftmargin            := 25; | 
|       active_workflow_name  := SWF_WorkflowDataset::GUI_ProcessDashboard_FormatName( guard( object.ActiveWorkflow().Name(), '' ) ) | 
|        | 
|       surface.Font( bigfont ); | 
|       surface.Text( leftmargin, 20, active_workflow_name ); | 
|     *] | 
|     GroupServerCalls: false | 
|   } | 
| } |