delas / plg Goto Github PK
View Code? Open in Web Editor NEWA Business Processes and Logs Generator
Home Page: http://plg.processmining.it
License: GNU General Public License v3.0
A Business Processes and Logs Generator
Home Page: http://plg.processmining.it
License: GNU General Public License v3.0
Hi I have been using the PLG2 tool to generate event logs and it has been great to use, so THANKS!
Currently I am trying to incorporate non-local dependencies into the event log by writing attributes to an external file and then reading them later on in the process. The files are getting written but towards the middle of the log generation errors are getting thrown on the StringScriptExecutor
. I suspect it has something to do with my writing to an external file but I am not sure.
Are there any ways to incorporate non-local dependencies into the log generation? I would appreciate any help or pointers.
plg.generator.scriptexecuter.StringScriptExecutor.getValue(StringScriptExecutor.java:26)
plg.generator.scriptexecuter.StringScriptExecutor.getValue(StringScriptExecutor.java:1)
plg.model.data.GeneratedDataObject.generateInstance(GeneratedDataObject.java:55)
plg.generator.log.TraceGenerator.recordEventAttributes(TraceGenerator.java:296)
plg.generator.log.TraceGenerator.recordEventExecution(TraceGenerator.java:271)
plg.generator.log.TraceGenerator.processFlowObject(TraceGenerator.java:137)
plg.generator.log.TraceGenerator.processFlowObject(TraceGenerator.java:187)
plg.generator.log.TraceGenerator.processFlowObject(TraceGenerator.java:187)
plg.generator.log.TraceGenerator.processFlowObject(TraceGenerator.java:187)
plg.generator.log.TraceGenerator.runWithException(TraceGenerator.java:96)
plg.generator.log.TraceGenerator.runWithException(TraceGenerator.java:1)
plg.generator.engine.ThreadWithException.run(ThreadWithException.java:56)
String data object to record cases that have been executed "online".
from __future__ import with_statement
from random import randrange
# This Python script is called for the generation of the string data
# object. Note that the parameter of this function is the actual case
# id of the ongoing simulation (you can use this value to customize
# your data object). The function name has to be "generate".
def generate(caseId):
with open("app_method_online.txt", 'a') as f:
print >> f, caseId
return "online"
For simulation purposes, add probabilities to conditions exiting XOR gateways. By using conditions, it should be easy to model them via BPMN as well as in PLG.
I wanted to add an activity time using the python script. As soon as I press right click on the activity an exception is thrown and thus does not open the context menu. This bug occurs for me both in java 8 and java 11 (the current versions can be seen in the screenshots below).
I was able to fix this bug locally for me by changing the load image behavior in the ImageUtils class of the libPlgVisualizer project.
Therefore I changed the line:
return new ImageIcon(ImageIO.read(ClassLoader.getSystemResource(imageFile)));
to:
return new ImageIcon(ImageIO.read(ImageUtils.class.getResource(imageFile)));
I downloaded the v2.0.6 .jar file from the link https://plg.processmining.it/. And I'm able to generate a new process. However, when I press the right-click button, for some reason I don't see the menu displayed as in the demo video available in the web site. Does anyone know what can be happening?
When several models are on the workspace, it would be nice to have a "save all" function, instead of repeating the operation for each of them.
Show the configuration value next to each slider.
Also, apparently, for "data attributes" the configuration is not saved.
I recently downloaded PLG as it would be very helpful for a project but couldn't run it. At first, I tried the .exe version, which prompted me to download java (already installed). I then, tried the JAR, which crashed before opening, accusing IllegalArgumentException: input == null in MainToolbar.java line 24.
After building the JAR from the source code myself, I noticed that all lines of code that load/set icons/images are causing this error.
Can it maybe be an issue of the JRE version I am running? (most recent)
Thanks!
Received this possible bug via email:
when using the API I encountered a rare exception that sometimes triggers when generating large amounts of models. It's a NullPointerException in file ProcessGenerator.java (line 229). By the looks of the file it had to do with Data Object generation, I disabled it and the exception went away. I don't know if it has to do with what you just told us (the BPMN exporter not handling data objects very well) or it's something else. I thought you might be interested in knowing.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.