RF

Hi,

In a report, is there a way to change the GUID of an existing model ?

 

regards,

Fabien.

by Francois Du Toit
Posted on Thu, 02/05/2015 - 08:45

Hi Fabien,

That should not be possible as the GUID is generated...

Why would you want to change the GUID? One work-around would be to create a new definition of the object with the same attributes as the one you want a different GUID for.

Hope this helps :)

Rgs,

Francois

0
by Routier Fabien Author
Posted on Thu, 02/05/2015 - 09:26

In reply to by cfdutoit

Hi,

We are creating our own modification process.

When a model need to be modified, we create a variant of it in a Working group => New GUID.

The user work on the slave model and when he has finished his job, a report is launched, and replaces the Master Model with the modified one.

But the GUID of the Model if now different than the initial one. And now that's a problem for versioning and the rest of our operation.

So I want to set the old GUID to the new Model after having deleted the old one.

 

0
by Ilya Seletkov
Posted on Thu, 02/05/2015 - 10:31

Hi!

If you don't want to change the GUID, you can programmatically remove all objects from "old version" model and then create occurrences of all objects, connections and texts from "temporal version" with the same positions and settings.

Hope, this helps.

BR, Ilya.

0
by Routier Fabien Author
Posted on Thu, 02/05/2015 - 11:51

tP3eLHit Ilya,

The solution you propose is the last one I want to develop. 

Because of the amount of code you need to write and maintain (Create all, objOcc, CnxOcc, graphics, txt ...) in comparison of a Model.ChangeGroup().

But, I succeed in using MyModel.ModifyGUID("XXX-XXX-XX-XXX"); 

Thanx  

 

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