<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<activity id="__8wA8GG0LW1PsQstAoaX">
  <name>删除</name>
  <parentId>__iq7nlQmWfBaIk1TVYrp</parentId>
  <applicationid>__LgZds5MVHW3o08T7UcX</applicationid>
  <type>3</type>
  <onActionForm></onActionForm>
  <onActionView></onActionView>
  <colorType>default</colorType>
  <beforeActionScript><![CDATA[(function(){
  var selectId = getParameterAsText("_selects"); 
  var process = getDocumentProcess();
  if(!isNotNull(selectId)){                               
    return "请先勾选需要删除的人员";                               
  }      
  var arrto = splitText(selectId,";");  
  for(var i=0;i<arrto.length;i++){
    var deletepersonDoc=findDocument(arrto[i]);
    var last_person_id = deletepersonDoc.findItem("last_person_id").getValue()
    if(isNotNull(last_person_id)){
      var process = getDocumentProcess();
      var personDoc=findDocument(last_person_id);
      personDoc.findItem("is_up").setValue("0")
      process.doUpdate(personDoc); 
    }
  }
})()]]></beforeActionScript>
  <afterActionScript><![CDATA[]]></afterActionScript>
  <hiddenScript><![CDATA[]]></hiddenScript>
  <readonlyScript><![CDATA[]]></readonlyScript>
  <editMode>0</editMode>
  <fileNameScript><![CDATA[]]></fileNameScript>
  <orderno>1</orderno>
  <parentView>__iq7nlQmWfBaIk1TVYrp</parentView>
  <impmappingconfigid></impmappingconfigid>
  <jumpType>0</jumpType>
  <expSub>false</expSub>
  <icon></icon>
  <disableFlowNode>false</disableFlowNode>
  <changeFlowOperator>false</changeFlowOperator>
  <changeFlowCc>false</changeFlowCc>
  <multiLanguageLabel></multiLanguageLabel>
  <dispatcherMode>0</dispatcherMode>
  <dispatcherUrl><![CDATA[]]></dispatcherUrl>
  <dispatcherParams><![CDATA[[{"paramKey":"","paramValue":""}]]]></dispatcherParams>
  <jumpMode>0</jumpMode>
  <jumpActOpenType>0</jumpActOpenType>
  <withOld>false</withOld>
  <actionType>0</actionType>
  <actionSelection>0</actionSelection>
  <workFlowType>0</workFlowType>
  <contextMenu>true</contextMenu>
  <showInToolbar>true</showInToolbar>
  <label><![CDATA[]]></label>
</activity>