MBR is a special scripting language for Automation Scripts. The Jython/JavaScript languages in Automation Scripts provide a lot of capabilities that could easily crash the system or take actions on systems that you might not want your developers to be able to do. On the crash side, you can easily create an infinite loop for example in Jython/JavaScript but looping is greatly restricted in the MBR language to prevent that. On the take action side, you can import the Java framework for Files and access/delete files on the server. There are valid reasons to do it but you may not want your developers to be able to do that.
Formulas are intended to sort of mimic Excel formulas. It might have started with an existing library (I feel like it did, but can't think of the name if so) but the Maximo team added quite a lot to support invoking automation scripts, getting properties, getting child objects, determining if records are modified, executing the formula when values change, etc. so it's really it's own syntax now. Some documentation on how to use it can be found here if you haven't seen these already:
https://community.ibm.com/community/user/iot/viewdocument/maximo-formula-documentation?CommunityKey=ed77c224-45e2-47b0-b574-cc31496f9a41&tab=librarydocuments------------------------------
Steven Shull
------------------------------
Original Message:
Sent: Tue September 14, 2021 10:16 PM
From: User1971
Subject: What scripting language is used for formulas?
MAM 7.6.1.2:
What programming/scripting language is used for Maximo formulas?
Do they use MBR? (Maximo Business Rules Scripting)
Related: Maximo Business Rules Scripting [.doc file download]
Thanks.
#Maximo
#AssetandFacilitiesManagement