Maximo

 View Only
  • 1.  Automation scripts limitations

    Posted Mon January 10, 2022 04:20 PM
    Edited by System Test Wed March 22, 2023 11:49 AM
    Hi,

    We have several automation scripts on the WORKORDER save event and many others on different attributes of the same object. Each script has been created for a specific purpose and a particular context (because we have a multi org environment) and this has the advantage of having small pieces of code to manage compared to putting all the business logic in a "big" script.
       
    It happened a couple of times that some of these scripts don't trigger at all after creating work orders and we suspect this happened because of the high number of scripts that we have.

    Are there any known limitations when it comes to create multiple automation scripts on the same MBO? I'm looking for the best practices and your feedback on such situations.

    Thanks 

    #AssetandFacilitiesManagement
    #Maximo


  • 2.  RE: Automation scripts limitations

    IBM Champion
    Posted Wed January 19, 2022 06:12 AM
    I'm not aware of any limits although it is a good to try and keep the number of scripts to a minimum to make it easier to manage.

    Maximo doesn't guarantee that scripts will be triggered in any particular order so the scripts may be running but then causing problems for each other.

    Have you switched the autoscript logger to debug to see when the scripts are being triggered?

    ------------------------------
    Mark Robbins
    Support Lead/Technical Design Authority / IBM Champion 2017 & 2018 & 2019 & 2020 & 2021
    Vetasi Limited
    https://www.linkedin.com/pulse/maximo-support-advice-from-non-ibm-engineer-article-mark-robbins/
    ------------------------------



  • 3.  RE: Automation scripts limitations

    Posted Thu January 20, 2022 03:48 AM
    To echo Mark's comments the logger is useful to see when they are running and if any "fail".
    Escalations for example will run as planned but may fail on certain records but this is only apparent if querying the ESCSTATUS object - the user will be unaware through the UI.

    ------------------------------
    Brian Williams
    Maximo System Administrator
    Ineos FPS
    ------------------------------