ARIS Super User Group
Register

View all
PL

Hi,

I want to create a report that runs semantic checks on all the models under a DB/group and maintains the success/failure message in a model attribute.

Is there a way to catch the message displayed by semantic check output dialogue/log and if so how can i put this on an attribute?

Thanks,

Puneet

 

by Mayur Patel
Posted on Fri, 03/10/2017 - 11:15

In our ARIS implementation we are unable to edit the semantic check profile.  That seems the correct place to collect and update that info from my perspective.

To go around that problem, we see that semantic check profiles call functions in atsallen.js(which we are able to edit).In that file, we amend the function that outputs statistics for semantic checks to update our custom non-editable semantic check timestamp and result attributes.  This allows us to use the info for our release cycle management so that we can be sure that the values were actually updated by the checks.

You can set a breakpoint in that function in the global variables you should be able to see the errorlist array with the models that fail checks and there is another array with the actual errors that fail and the relevant messages (I cant remember its name now but I'll check post an update)

My thinking then becomes - update the semantic check profile to set the attributes and then create another report to simply loop through all the models and run the relevant semantic check (which then updates each model accordingly)

Its not the most direct way to get your answer, but I hope this helps.

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