Clarity Service Management

Expand all | Collapse all

Fieldes rquired for change

  • 1.  Fieldes rquired for change

    Posted 02-28-2018 06:44 AM

    Ca service desk Manger 17 I need schedule start date and duration fields are required for emergency changes



  • 2.  Re: Fieldes rquired for change

    Posted 02-28-2018 10:23 AM

    Mohamed, you could use preSaveTrigger2() for this purpose. Take a look at

    How can I prompt that a incident ticket field is required 

    Thanks _Chi



  • 3.  Re: Fieldes rquired for change

    Posted 02-28-2018 05:54 PM

    If you are not looking to create javascript in WSP you can also use a data partition. You will need to create one for Create and one for Update.

     

    It should look something like:

     

    (chgtype = 300 AND sched_end_date IS NOT NULL) OR chgtype != 300

     

    300 is out of the box chgtype = Emergency and I decided to just go for sched_end_date as that is only not null when both those fields are filled out.

     

    If you are comfortable with javascript, I do recommend the preSaveTrigger as you only have to do it on the form level and it applies to everyone. Data Partitions would give you more fine tune control if that is something you are looking for.