CM

Hello,

I have a problem in which I have the need to replace Lane objects with Role objects. I have written a report to replace each object, in the same Group & Model. The new object is the same size and placed in the same place as the previous Lane object.

However, when I check the Role object in ARIS explorer, it shows the object has no relationships. Although when I open the model it will update the Role object to include those objects, tasks and subprocesses, that rest inside of it. Although the model must be saved after I have opened it or the relationships will not be saved.

Is there anyway to update the relationships of the Role object without opening the model itself?

by M. Zschuckelt
Posted on Mon, 02/27/2023 - 10:13

Has your script tried to connect the contained Occurrences with

var success = oOrgLaneOcc.addEmbeddedObjOcc(oTaskObjOcc, Symbols.CT_EXEC_2);

Likewise you need to embed the non-Task symbols. I believe the connection type is "belongs to", but please verify that by taking a look at the example of a manually modelled BPMN model.

0
by Martin Schröder
Badge for 'Contributor' achievement
Posted on Tue, 02/28/2023 - 15:12

Hello Chris,

as an example there is a standard report "Replace object types" in the category Administration (cf. SR 20 Web Help). It works on the whole database and creates f.ex. a new role definition with the appropriate connections defined by your method filter and the same name as the object it replaces.

Lanes of bPMN models and nested object occurrences may not be covered by this script, but it might help to find the right way of replacing the relationships.

Regards, Martin

0

Featured achievement

Explorer
Take a tour! Learn more about the different ARIS Community areas and ARIS editions.
Recent Unlocks
  • SA
  • KK
  • 先安
  • RV
  • AD
  • 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