Hi,
I am trying to do a runppmdelete call in order to delete some process instances.
But when the batch is run, the following error that is logged (it's a translation from french):
FR: E: 25.04.17 13:34:16 [IMP] La dimension "TIME" indiquée dans l'argument d'exclusion n'existe pas pour la relation "PROCESS_ONLY" ou elle n'a pas été connectée pour les types de processus sélectionnés. EN: The TIME dimension include in the exlusion argument does not exist for the relation "PROCESS_ONLY", or it is not connected to the process selected.
Plus, here is a copy of the xml used by the runppmdelete:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE paramset SYSTEM "paramset.dtd">
<paramset index="0">
<analysewizparam selectedrow="0" />
<chartparam>
<chart-charttyp>DIAL,VIEW2D</chart-charttyp>
<chart-colinfo />
</chartparam>
<cnetparam />
<epkparam />
<favoritparam usecache="yes">
<title show-name="false" />
</favoritparam>
<filterpanelcriterions />
<kiquery usecache="yes" fillcache="no" showzero="auto">
<filter>
<criterion name="PROCESSTYPE" relation="PROCESS_ONLY">Type de processus</criterion>
<filteritem operator="or">
<dataitem mode="|">
Processus IPPPR\Traiter les DAPs (Cycles)
<datatype name="TEXTPAIR">Paire de textes</datatype> <scale name="LEVEL2SCALE" factor="2.0">Détaillé</scale> </dataitem> </filteritem> </filter> <filter> <criterion name="TIME" relation="PROCESS_ONLY">Time</criterion> <filteritem operator="or"> <datarange operator="gteq"> >=1. janv. 70 <dataitem value="01.1.1970"> 1. janv. 70 <datatype name="TIME">Date et heure</datatype> <scale name="DAYSCALE" factor="86400.0">Jours</scale> </dataitem> </datarange> </filteritem> </filter> <keyindicator> <criterion name="PNUM" relation="PROCESS_ONLY">Nombre de processus</criterion> </keyindicator> </kiquery> <navparam> <nav-view>chart</nav-view> <nav-relation>DEFAULT_RELATION</nav-relation> </navparam> <relexplorer /> <tableparam view="listtable"> <tbl-cross totalresult="yes" /> <tbl-instance /> </tableparam> </paramset>
Can you help me to correct this error?
AC.
Which version of PPM do you run? Have you ever managed to successfully use the "runppmdelete" with another combination of DIMs or so? You can play with the batch little bit more in "test" mode, see ppm documentation, which is a good way to get it working in most cases.
Basically, the Dimensions are there to limit/select the process instances which are to be deleted. When it comes to the "runppmdelete" (and the other ppm batches as well) you can use only the dimensions which are enabled/connected and registered for your process types and so on. That´s the point where I´d start from - based on the error you sent.
You can share with me some further details if you want. Check my profile here and drop me an email.
BR,
Jiri