Maximo

Maximo

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

 View Only
Expand all | Collapse all

I am facing a latency in warngroup while showing message to user using auto script

  • 1.  I am facing a latency in warngroup while showing message to user using auto script

    Posted Wed December 16, 2020 07:29 AM

    My Requirement is if user sets a date less than today, a warning message should be shown to the user. The message is getting displayed but not after user tabs out from the date field but after he does something like selecting some date in other field. What I am doing wrong?

    Below is my code:

    // check Next Calibration date

    if (!mbo.isNull("BBANEXTCAL")) {

    CalDate = mbo.getDate("BBANEXTCAL");

    Calibrate = mbo.getBoolean("BBACALIBRATEDTOOL");

    currentDate = new Date();

    if (CalDate.compareTo(currentDate) <0 && Calibrate ==1) {

    // display error message

    warngroup = "BBANEXTCAL";

    warnkey = "BBANEXTCAL";

    }

    }






    #AssetandFacilitiesManagement
    #SupportMigration
    #Maximo
    #Support


  • 2.  RE: I am facing a latency in warngroup while showing message to user using auto script

    Posted Wed January 27, 2021 08:34 PM

    This product forum is intended for client to client collaboration.

    If you want to engage IBM Support, you should open a support case: https://www.ibm.com/mysupport/s/createrecord/NewCase






    #SupportMigration
    #AssetandFacilitiesManagement
    #Support
    #Maximo