Quintiq file version 2.0
#parent: ListSWF_Activity
Response OnClick (
  structured[SWF_ActivityBase] selection
) id:Response_ListSWF_Activity_MenuSetToOpen_OnClick
{
  #keys: '[113694.2.1190158371]'
  Body:
  [*
    // Set to unfinished
    service := SWF_WorkflowDataset.Service();
    service.TR_BatchUpdateActivityStatus( selection, false, SWF_WorkflowDataset.GetCurrentUserID() );
  *]
  CanBindMultiple: false
  DefinitionID => /ListSWF_Activity/Responsedef_ListSWF_Activity_Menu_OnClick
  Initiator: 'MenuSetToOpen'
  Precondition:
  [*
    return SWF_WorkflowDataset.GetCurrentUser().CanProcessActivity( feedback, 
                                                                    selection, 
                                                                    SWF_ActivityBase::ACTION_SetToOpen() );
  *]
}
