Maximo

Maximo

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

 View Only
  • 1.  EXISTS: Java classes/methods

    Posted Wed December 08, 2021 07:27 PM
    Edited by System Admin Wed March 22, 2023 11:48 AM
      |   view attached

    Background:

    In a related post (Automation Script to do equivalent of "if exists"), we talked about these methods:
    1)  mboSet.isEmpty()
    2)  not mboSet.notExists()

    I was browsing the 7.6.1.2 Java docs, and noticed a new class that sounded similar:
    3)  expression.Exists.count()
        - The docs that are available online are only for 7.6.0.9, which don't include the new Exists class. So I've attached a PDF printout from 7.6.1.2 of the Exists class.


    Question:

    Does that new Exists class have any use cases in automation scripts? Or can it only be used in attribute formula or MBR expressions?
    Are there any other classes/methods that are related to "exists" that would be helpful to know about?


    #AssetandFacilitiesManagement
    #Maximo

    Attachment(s)

    pdf
    Class Exists - Copy.pdf   183 KB 1 version


  • 2.  RE: EXISTS: Java classes/methods

    Posted Tue December 21, 2021 12:48 AM