Profile picture for user sumeet_satwani

Hi,

Can anyone please guide me on an  ARIS report for copying models form one data base to different data base .

This would be similar to the merge operation that is their in the ARIS  .

I can do this task manually by merging but I want to try some automation in this .

 

Thanks

by Matias Kokko
Posted on Tue, 04/19/2016 - 08:31

Hi,

Check the ARIS script help at Global objects > Report component interfaces > Merge component.

Example:

var oMerge = Context.getComponent("Merge");
var oMergeOptions = oMerge.createMergeOptions(currentDB);
oMergeOptions.setAssignmentDepth(0);
oMergeOptions.setConsiderBorderAssignment(true);
oMergeOptions.setConsiderBorderCxnDefs(true);
oMergeOptions.setConsiderSourceGroupPath(true);
oMergeOptions.setCxnDefSourceWins(true);
oMergeOptions.setFontSourceWins(true);
oMergeOptions.setInheritAccessRightsForNewGroups(true); //updates usergroup access in targetDB
oMergeOptions.setMixAttributes(false);
oMergeOptions.setModelSourceWins(true);
oMergeOptions.setObjDefSourceWins(true);
oMergeOptions.setSynchronizeAssignments(true);
var mergeResult = oMerge.startMerge(listOfModels, targetDB, oMergeOptions, true);
0
by Sumeet Satwani Author
Posted on Tue, 08/02/2016 - 06:56

Hi Matias,

Thanks for the above example, but its a bit unclear  can you send me the ful code so that I can relate to this code in a much better way.

Thanks

 

 

0

Featured achievement

Genius
You like to help others solve their problems by answering questions.
Recent Unlocks
  • KF
  • KH
  • RG
  • Profile picture for user Vee_ARIS
  • Profile picture for user smarty
  • PacMan

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