Maximo Open Forum

 View Only
  • 1.  Mandatory checkbox for a workorder to be submitted

    Posted 05-23-2024 11:51

    Hi,

    Maximo 7.6.1.3 here.

    I am customizing an application for our students that live in our residences. As they fill the form to create a workorder, they have to ackowledge that an employee may enter their room to do the maintenance required even if they are not present. I want to add a mandatory checkbox that the user needs to check or the workorder will not be generated when submitted. Right now, my checkbox is created, I made it required and I created the attribute in the database, making it required too. I then test by filling a ticket and when I click on Submit, the workorder is generated. What am I missing here? Is checkbox the right option for me or should I try with a combobox?

    Thanks in advance.

    Danny


    #Customizations

    ------------------------------
    Danny Cordeau
    Universite de Sherbrooke
    ------------------------------


  • 2.  RE: Mandatory checkbox for a workorder to be submitted

    Posted 05-23-2024 14:10

    Danny when you create the attribute in the database it is classified as a YORN field which means it will always have a value (0 = No, 1= Yes), so you really cannot make a checkbox "required" as it is never an empty field.  What I would do, in in the workflow when they submit the form, check that the value of this checkbox field is = 1, if is not = 1, then display a message which says they need to make sure this field is checked on before they can submit.

    This is only one possible solution, there are others as well.



    ------------------------------
    Stephen Hume
    Sheffield Scientific LLC
    ------------------------------



  • 3.  RE: Mandatory checkbox for a workorder to be submitted

    Posted 05-23-2024 15:03

    Thank you Stephen, you solution is more than interesting! I will look into it!

    Have a nice day!

    Danny



    ------------------------------
    Danny Cordeau
    Universite de Sherbrooke
    ------------------------------