ARIS - Q&A Session 9:00am CEST
Register
ARIS - Q&A Session 6:00pm CEST
Register

View all
Profile picture for user sadnan

This macro will validate and check for the specified symbol attributes for null values.

MACRO will run on "CLOSE EVENT" of model and after checking the attributes of symbols it will put an small mark "X" on top of symbol missing the attribute value.

 

By default it will check for <Name> and <Description>  Attributes for symbol within a model.

 

Once the user close the model, after Save Dialog (if there is any changes), he will see the following dialog

If no then macro will not do anything, otherwise, the macro will check for attributes for any null values and put a mark on top of the symbols if found any

 

User can save the model, if not then, after closing, user will be asked to save otherwise the marking will not be saved to the model. 



If marking are saved then all the marking can be removed from the model by using Select All of this Kind option as shown below:

 

The code is flexible enough to allow administrator to set as many attributes for validation as desired by modifying <data.js> file as shown below:

 

Use the ARIS API to fill the above file.

 



Macro will through error if <data.js> is empty or does not exist.

 

The attached zip file will contain two scripts <ATTRIB_VALIDATION_MACRO.amx> and <data.js>. Extract both files within one folder and then Use Script Module --> Macro --> Create a custom category --> Import Script (data.js) will be automatically be associated with the main script.

Kindly test it rigorously and provide your feedback.

by Florian Stilkerich
Posted on Wed, 10/27/2010 - 11:11

Hi Adnan,

great macro and it runs smoothly. Thank you! Is this macro open to the community as if I/you want to change the "x" to a symbol or something else?

Kind regards, Florian

0
by Maik Scharlau
Posted on Thu, 02/17/2011 - 11:41

Hi Adnan,

is there a way to have a look at the code of your macro file?

Seems to me opening is not allowed ...

Best regards,

Maik

0
by ravi kiran
Posted on Tue, 08/23/2011 - 12:09

hi adnan i am new of aris.I have one query that is also similar to this one

heading  is  " KIRAN INTER  CONNECTIONS " under this hedding i have to write

description "under review not yet approved

                                            

KIRAN INTER  CONNECTIONS  

under review not yet approved 

 

these kind of output  could you help me

thanks

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