Quintiq file version 2.0
#parent: ButtonNewActivity
Response OnClick () id:Response_SWF_FormMyActivities_ButtonNewActivity_OnClick
{
  #keys: '[113694.2.1190353321]'
  Body:
  [*
    // Create new activity                       
    dlg := construct( SWF_DialogCreateEditActivity );
    dlg.New( Application, null( SWF_Step ) );
  *]
  CanBindMultiple: false
  DefinitionID: 'Responsedef_GUIButtonBase_OnClick'
  Precondition:
  [*
    return SWF_Workflow::HasActiveWorkflow( feedback, SWF_WorkflowDataset.WorkflowDefinition() );
  *]
}
