Maximo

Maximo

Come for answers, stay for best practices. All we're missing is you.

 View Only
Expand all | Collapse all

Advanced formula functions? i.e. FOREACHMBO( )

  • 1.  Advanced formula functions? i.e. FOREACHMBO( )

    Posted Sat September 18, 2021 12:53 AM
    Edited by System Admin Wed March 22, 2023 11:44 AM
    MAM 7.6.1.2:

    In the Database Configuration --> Add/Modify Formula Functions window, there are functions that seem like they're more advanced than the functions we normally use in formulas:



    From the EXPFUNCTIONS table:

    BREAK break from a loop
    CONTINUE continue inside a loop
    FOREACHMBO for each mbo
    FOREACHTOKEN loop through each token in a string
    GETVAR get variable
    INVOKESCRIPT invoke another script
    INVOKEWORKFLOW invoke workflow
    SETQBE set qbe to a mboset variable (varname, attrname, qbeexp)



    Question:


    What is the intended purpose for those functions? Are they meant to be used in formulas, and if so, how?
    What would be an example?

    Thanks.



    #AssetandFacilitiesManagement
    #Maximo


  • 2.  RE: Advanced formula functions? i.e. FOREACHMBO( )

    Posted Wed September 22, 2021 09:28 PM
    So these functions are for the MBR scripting language which is based on the formula engine.

    ------------------------------
    Anamitra Bhattacharyya
    IBM
    Bedford MA
    ------------------------------