CL

Hi,

We have a Macro which is event triggered when opening a Model. The Macro triggers a Report script that sets colors on all Function objects based on attribute values.

 

This Macro ran fast in ARIS 7, but now when testing on ARIS9 it takes much longer (e.g. a model that took 10 seconds to open in ARIS7.2 now takes 90 seconds in ARIS9.7). By tracing the SQL calls, we see that ARIS9 is performing much more DB communication (a factor 7 more than ARIS7), so this might explain some of the performance loss.

 

THE QUESTION:

We really only need to set the color in the client interface without the need of saving it to the database, so my question is if we can do that directly on the client via a Macro (instead of a Report script) so that we avoid DB communications needed to save the color change and load it back to the client?

Best regards,

Carl Christian

 

by Ilya Seletkov
Posted on Thu, 02/12/2015 - 05:30

Hello!

See next methods in ARIS Macro methods help:

Designer.getAttribute ( AttrDefObject ado, int attrTypeNum, Language language )

Attribute.getValue()

Designer.setFillColor ( Model model, Occ occ, Color newColor )

Hope, this helps.

BR, Ilya.

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