MZ

Hello,

a colleague pointed out to me that apparently SR24 has updated its Javascript engine. When you are coding reports you can now use more of the cool syntactic sugar modern Javascript has to offer.

For those who don't know it, ARIS is using the Rhino Javascript engine of Mozilla and this was updated now to the latest release 1.7.14. So whoever googled things on the web on "how do I this or that in Javascript" and was eventually disappointed that it did not work in ARIS scripting, you may now find some enhanced language support. Please note, that even the latest release of Rhino is far from full support of even ECMAscript 2015. That is Mozilla's decision, what they can and want to support.

Maybe you take this thread as a teaser to share some of the coding ideas that work now but did not before.

Regards, M. Zschuckelt

by Martin Schröder
Badge for 'Contributor' achievement
Posted on Fri, 01/12/2024 - 18:46

If you are curious which version your server is running:

var oJSContext = new org.mozilla.javascript.Context();
var oCurrentJSContext = oJSContext.getCurrentContext();
var JSEngineVersion = oCurrentJSContext.getImplementationVersion();

Dialogs.MsgBox("Javascript Engine Version: " + JSEngineVersion);
// Context.writeLog("Javascript Engine Version: " + JSEngineVersion);

Regards, Martin

3

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