Maximo Open Forum

 View Only
  • 1.  The difference between JavaScript and JavaScript in the Script Language of Maximo Automation Script Application



  • 2.  RE: The difference between JavaScript and JavaScript in the Script Language of Maximo Automation Script Application

    Posted 01-23-2025 09:48

    Because it uses the same Naschorn engine, there is no difference. The list builds automatically based on engine class. 



    ------------------------------
    Andrey Ilinskiy
    Handz.on
    ------------------------------



  • 3.  RE: The difference between JavaScript and JavaScript in the Script Language of Maximo Automation Script Application

    Posted 01-24-2025 00:47

    Hello!
    May I ask if there is any difference in writing between these two scripts when they are used



    ------------------------------
    Ethan Williams
    secrecy
    ------------------------------



  • 4.  RE: The difference between JavaScript and JavaScript in the Script Language of Maximo Automation Script Application

    Posted 01-24-2025 08:59

    Because this is hardcoded in Java Library (naming of languages, supported by it), where IBM has not so much impact



    ------------------------------
    Andrey Ilinskiy
    Handz.on
    ------------------------------



  • 5.  RE: The difference between JavaScript and JavaScript in the Script Language of Maximo Automation Script Application

    Posted 01-25-2025 13:22

    Everything Andrey has stated is correct, but be aware that using "Nashorn" or "nashorn" as the language may be problematic in the future as Nashorn has been deprecated and removed from Java in 15 and is being removed from the next release of Manage which will upgrade its Java version. I have heard it is being replaced with Graal (https://www.graalvm.org/latest/reference-manual/js/) but I don't think anything has been officially announced.



    ------------------------------
    Jason VenHuizen
    Sharptree
    ------------------------------



  • 6.  RE: The difference between JavaScript and JavaScript in the Script Language of Maximo Automation Script Application

    Posted 01-29-2025 09:11

    Thank you for the correction, it was just mistyping ) 

    But, I think there will be not much difference between Nashorn and Graal from JS code point of view. Nashorn is pretty limited, so I do not see anything, that was written for Nashorn, that will not work with Graal.

    But we all remember how it was with moving from rhyno to Nashorn.... 

     



    ------------------------------
    Andrey Ilinskiy
    Handz.on
    ------------------------------