HR

Hello community,

with the command line:

oTmpModel = oTmpGrp.CreateModel(Constants.MT_EEPC_TAB, sTmpModName, LOC)

I can create a new model for temporary use. That works fine. But after the usage I don't need this model anymore.

How can I delete this model?

I would be very happy if anyone can help me.

 

Best regards

Holger

by Robert Goldenbaum
Badge for 'Question Solver' achievement
Posted on Tue, 12/12/2017 - 09:49

Hi Holger,

Group.Delete(oModel)  

or in your case:

oTmpModel.Group().Delete(oTmpModel)

BR Robert

0
by Holger Reidemeister Author
Posted on Tue, 12/12/2017 - 10:17

In reply to by rgoldenbaum

Hello Robert,

many thanks for your help.

I tried:

oTmpGrp = oCurrentModel.Group();

oTmpModel = oTmpGrp.CreateModel(Constants.MT_EEPC_TAB, sTmpModName, LOC);

...

oTmpGrp.Delete(oTmpModel);

In my point of view that should work as well, but it didn't. May be, there was another mistake.

Anyway, now it works fine. Many thanks.

Greetings, Holger

0
by Bernd Renner
Posted on Thu, 12/14/2017 - 08:53

oTmpGrp.Delete(oTmpModel); should deliver a boolean answer.

What is the return value in Your report?

0

Featured achievement

Rookie
Say hello to the ARIS Community! Personalize your community experience by following forums or tags, liking a post or uploading a profile picture.
Recent Unlocks

Leaderboard

|
icon-arrow-down icon-arrow-cerulean-left icon-arrow-cerulean-right icon-arrow-down icon-arrow-left icon-arrow-right icon-arrow icon-back icon-close icon-comments icon-correct-answer icon-tick icon-download icon-facebook icon-flag icon-google-plus icon-hamburger icon-in icon-info icon-instagram icon-login-true icon-login icon-mail-notification icon-mail icon-mortarboard icon-newsletter icon-notification icon-pinterest icon-plus icon-rss icon-search icon-share icon-shield icon-snapchat icon-star icon-tutorials icon-twitter icon-universities icon-videos icon-views icon-whatsapp icon-xing icon-youtube icon-jobs icon-heart icon-heart2 aris-express bpm-glossary help-intro help-design Process_Mining_Icon help-publishing help-administration help-dashboarding help-archive help-risk icon-knowledge icon-question icon-events icon-message icon-more icon-pencil forum-icon icon-lock