ARIS Super User Group
Register

View all
Profile picture for user Christian Zanardi

Hello All,

We built some macro launch by events, mainly to assist then users while creating ObjOcc.
On the event Constants.EVENTID_OBJOCC_CREATED, a macro is executed and made some controls, ask some data in specific windows, and finally create the ObjOcc and save the model...
 

This works perfectly in Aris Archictect but does not works in Aris Connect.

I understand that to work in Connect, I have to associate a macro that launch a report.

This means all the logics previously coded in the macro MUST now be code in the report !!!!!

And they are some "object and method" in macro that are not available in report like :

  • Designer.getDefinition, Designer.getModel, Designer.save, Designer.closeModel,......
  • Context.getSelectedObjOccs, Context.getLoginInfo, Context.getArisMethod

Is my understanding of the situation good ?
Is there a documentation on best practice to do so ?
Is there a "translation" tool Macro 2 Report ?

Any help will be appreciated

Christian from Switzerland...
 

by Veronika Ellermann
Badge for 'Fan' achievement
Posted on Mon, 07/01/2024 - 09:32

Hi Christian,

Martin's suggestions are really useful- I can strongly recommend to check them out. 

Meanwhile, the German User Group is planning a virtual session on exactly this topic: Macros. Most likely it will take place after our in-person event in Munich- thus, ~ November.

Feel free to join when the date is set and officially announced :)

Best,

Veronika

0
by Christian Zanardi Author
Posted on Tue, 07/09/2024 - 08:31

Thanks for your answers !!! 

I will work more deeply on this subject in august after some vacations :)

I will be able to provide some feed back after that

Best regards

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