if(match(int2,p_resourceType)ormatch(-1,p_parentIndex)){//If created resource is an AE or created under CSEBase, it needs to be added to the resourceToBeDeleted list
if(p_resourceType==int2orp_parentIndex==-1){//If created resource is an AE or created under CSEBase, it needs to be added to the resourceToBeDeleted list