Populate fields based on Assignment Group in Incident
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-20-2022 04:59 AM
Hi all,
I have two scenarios on the incident form.
- I need to set category field mandatory based on specific Assignment Groups
- For those specific Assignment Groups and Configuration items are not (ABC,XYZ) then description field should be mandatory.
First I created system properties to fetch the sys_id of Assignment Groups and ci. and have used display business rule to fetch system properties values and i have used scratchpad value in on Change Client Script ,but it is not working properly anyone can help me on this, thanks

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-20-2022 08:15 AM
I'm not sure this would be the best method. g_scratchpad only work on form load. So if something like the group changes or ci changes you will not be able to update the fields without reloading the form. You best bet would be to use an onChange client script with GlideAjax.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-20-2022 10:24 AM
Can you suggest me the best way to this.
How we can call two funtions from script include in to one client script.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-20-2022 12:53 PM