Maximo

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 User1971 Sat September 18, 2021 12:57 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.




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

    Posted 26 days ago
    So these functions are for the MBR scripting language which is based on the formula engine.

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