UB

Hello ARIS Community,

I'm working on a JavaScript report in ARIS 10 SR21 with the following goals, but I'm running into some roadblocks. Would anyone be able to provide guidance or insights?
 

Context:
My report works with "Manual Function" objects within ARIS models.

Desired Functionality:

Diagram Creation: For each selected Manual Function:

Create a new Business Control Diagram with the same name as the Manual Function.
Assign the newly created diagram as an object directly connected to the Manual Function.
Place the diagram within a "Risks" subgroup, which should be located under the same parent group as the original model containing the Manual Function.
 

Challenges and Considerations:

Subgroup Creation: If the "Risks" subgroup doesn't exist, the report should create it.
Diagram Naming: Ensure no naming conflicts arise if existing diagrams share the same name as the Manual Functions.

If you have any experience with similar ARIS scripting tasks, I'd greatly appreciate your advice on:

Recommended scripting approach: Best practices or methods to use.

Code Snippets: Examples of handling object selection, diagram creation and assignment and placement within the ARIS database structure.
 

Thank you in advance for any assistance!

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

|
There is still some space in this week's top 5 for you - this is your chance to become one of our top members of this week. Register now to start collecting points!
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