Clarity Service Management

Expand all | Collapse all

Remove "Required" condition to a field

Jump to Best Answer
  • 1.  Remove "Required" condition to a field

    Posted 05-24-2018 05:20 PM

    Hello,

     

    Once a customer requested to set Configuration Item required to create a request ticket. 

     

    A few years go by and now they want to remove that condition to the field, it's possible to do it?

     

     

    Regards.



  • 2.  Re: Remove "Required" condition to a field
    Best Answer

    Posted 05-24-2018 05:39 PM

    I'm not sure exactly why the field is grayed out for you, are you certain the customization was completed through the schema designer, and not some other means?

     

    You should look through the site\mods\majic directory and see if any file contains a code like:

     

    MODIFY cr affected_resource
    {
    REQUIRED;
    };

     

    If you see this, you can remove it to stop the field from being required (if schema designer WAS used, you'll find this in wsp.mods).. If the customization was completed in schema designer, you'll also need to look in the wspcol table, and you may have to manually remove the change there. Maybe use a query like:

     

    select * from wspcol where column_name = 'affected_resource' and table_name = 'cr'



  • 3.  Re: Remove "Required" condition to a field

    Posted 05-29-2018 08:12 PM

    Hello Alexander,

     

    After delete the line of code on the zCall_Req.mod that was on site\mods\majic and a recycle of the services it's now solved.

     

    Thanks!!



  • 4.  Re: Remove "Required" condition to a field

    Posted 05-31-2018 10:43 AM

    Thanks for following up, Jason. Happy that helped.



  • 5.  Re: Remove "Required" condition to a field

    Posted 05-29-2018 10:47 AM

    Jason.......

     

    Was the information provided by Alex helpful?