Quintiq file version 2.0
#parent: ListSWF_Activity
Response OnClick () id:Response_ListSWF_Activity_MenuNew_OnClick
{
  #keys: '[113694.2.1190157949]'
  Body:
  [*
    // Create new activity
    dlg := construct( SWF_DialogCreateEditActivity );
    dlg.New( this, null( SWF_Step ) );
  *]
  CanBindMultiple: false
  DefinitionID => /ListSWF_Activity/Responsedef_ListSWF_Activity_Menu_OnClick
  Initiator: 'MenuNew'
  Precondition:
  [*
    return SWF_Workflow::HasActiveWorkflow( feedback, SWF_WorkflowDataset.WorkflowDefinition() );
  *]
}
