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.

Remove objects from the workspace

JBuijs
edited December 2010 in - Development
Part of a conversation between Andrea Burattin and Boudewijn van Dongen in which Andrea asked:

I have two plugins: one for the generation of a single process

(AuthoredType PLGProcess) and one for the generation of collection of

processes (AuthoredType PLGProcessCollection). The latter repetitively

calls the former (with the method tryToFindOrConstructFirstObject of

the context). The problem is that each call of the "single process

generator" creates the objects into the workspace. Since I add all the

processes to the collection, is it possible to remove them from the

workspace?
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

Comments

  • To which Boudewijn van Dongen replied:

    Probably the easiest solution is to not use the "trytofindorconstruct" method, but to call the method directly. Otherwise, you indeed end up with all objects in the workspace. There's no easy way to solve this otherwise.
    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.