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.

Convert CSV to XES - CLI

Hello,

I'm trying to convert a CSV file into a XES file using the command line interface. For that I was trying to use the same plug-in that is available on the ProM GUI:

I'm aware that there is a script to invoke the CLI and convert the CSV file (https://svn.win.tue.nl/repos/prom/Packages/Log/Trunk/src/org/processmining/log/csvimport/CSVConversionCLI.java), but I'm trying to do this conversion using only ProM's plug-ins. However, this particular plug-in does not show when I use the -l command to list all plug-ins available, neither does it work with my code.

System.out.println("StartScript");

System.out.println("Importing File");

logCSV=import_a_csv_file_and_convert_it_to_xes("logFiltered.csv");

logXES=convert_csv_to_xes(logCSV);

System.out.println("LogConverted");
Is there a way to use this plug-in on the CLI?

Best Regards.

Comments

  • Hi,

    No, this plug-in is only available for the GUI context, because it needs to be configured properly by the user.

    In the CLI context, you might be able to use the parseCSV method from the CSVConversionCLI class.

    Kind regards,

    Eric.

  • Hello hverbeek,

    Thank you for the confirmation.

    Best Regards.
Sign In or Register to comment.