To prevent spam users, you can only post on this forum after registration, which is by invitation. If you want to post on the forum, please send me a mail (h DOT m DOT w DOT verbeek AT tue DOT nl) and I'll send you an invitation in return for an account.

Error appears when importing a log in Prom6

Terri
edited June 2011 in ProM 6
Dear friends,
I use Prom6,  when I want toimport a log ,an error appear :

"Error with import of C:/log.mxml: java.lang.exception :no process instances contained in log !", and I really don't know why and how to solve it. Help!!
The MXML file is as follows(opened by text tool):
"<?xml version="1.0" encoding="UTF-8" ?>
<!-- SA-MXML version 1.0 -->
<!-- This is a process enactment event log created to be analyzed by ProM. -->
<!-- ProM is the process mining framework. It can be freely obtained at http://www.processmining.org/. -->
<WorkflowLog xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://is.tm.tue.nl/research/processmining/SAMXML.xsd" description="CPN Tools simulation log">
<Source program="CPN Tools simulation"/>
<Process id="DEFAULT" description="Simulated process">
<ProcessInstance id="1x Case1   A B C D" description="Simulated process instance">
1x Case2   A C B D
1x Case3   A E D
</ProcessInstance>
</Process>
</WorkflowLog>
"

Comments

  • sorry, the path in error warning is:"E:\工作\ProM\TestPromImportFile\cpnToolsSimulationLog.mxml"
  • Dear Terri,

    How did you obtain this eventlog? Did you produce it using CPN Tools? Or did you create it yourself?

    The following part is not correct (but I'm not sure if you changed this when you posted it here):

    <ProcessInstance id="1x Case1   A B C D" description="Simulated process instance">
    1x Case2   A C B D
    1x Case3   A E D
    </ProcessInstance>

    If you need example event logs in MXML format then this page might help you:
    http://www.processmining.org/logs/start
    Especially the 'repairExample' can be useful.

    Let us know if you have any further questions/problems!
    Joos Buijs

    Senior Data Scientist and process mining expert at APG (Dutch pension fund executor).
    Previously Assistant Professor in Process Mining at Eindhoven University of Technology
  • JBuijs
    edited June 2011
    To quickly detect incorrect MXML/XES files you can check file on this website:
    http://www.xmlvalidation.com
    You might need to remove some process instances or traces if the event log is very big. Be sure though that removing these does not introduce errors!!!

    First, upload your MXML/XES file and be sure to check 'validate against external XML schema'.
    Then upload the MXML:
    http://is.tm.tue.nl/research/processmining/SAMXML.xsd
    or XES:
    http://www.xes-standard.org/xes.xsd
    schema definitions.
    The website will then indicate where your files deviate from the specified standard.

    Joos Buijs

    Senior Data Scientist and process mining expert at APG (Dutch pension fund executor).
    Previously Assistant Professor in Process Mining at Eindhoven University of Technology
Sign In or Register to comment.