Hi All


I have an Report that "puts" Objets in a Model, and after the reposrt executes, I would like to refresh the Opened Model


I've tyed to use

Context.addActionResult(Constants.ACTION_UPDATE, "", g_objSelected_ObjOcc[0].Model());

but is didn't work, can anyone help me?

by Martin Schröder
Badge for 'Contributor' achievement
Posted on Fri, 07/26/2013 - 12:30

Hello Alberto,

after changing the model, did you actually save it?

From a report script you should call calling "ArisData.Save(........)",

in a macro script it is "Designer.Save(oModel) "

Regards, Martin

by Alberto Martins Author
Posted on Fri, 09/06/2013 - 10:44

Hi all

giving feedback on what I have done to resolve this problem.


with Martin feedback, I looked to my code had some ideia

1. "call an macro when my aris Report ended" this will allow to execute an model refresh

2. "convert" my code to be use in a user Macro

3. set my report as unavable for user and create a Macro that close the Opened Model, launch my Report and after Report execution open the model

Answer to idea 1 - I didn't finded a way to call an Macro form a Report, I realised that macros can "call" reports, but Reports cannot "call" Macros

Answer to 2 - I realised that the conversion form "Report Code" to "Macro Code" will take too long

So the easiest way to do this was using the idea 3 that is running "on Producion" form almost one Month with no problems.

Tanks a lot Martin for wou feedback :)


Featured achievement

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
  • SS
  • MZ
  • Profile picture for user kbiront
  • Profile picture for user Tony Iliev
  • Profile picture for user amandeep.7.singh
  • PacMan


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