- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-10-2025 07:01 AM
Issue is, when i am selecting technical service in "Service" field of Change form then after submitting the Change record the "Service offering" field getting mandatory automatically as per my expectations.
further to this when i am changing Service in "Service" field as Non Technical or Business service and then againing clicking update the change record then it's not allowing me since Service offering is mandatory,
I am try Dot walk UI Policy.
so, can we have a solution for this where Service offering gets optional once we select no Technical or Business service?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-13-2025 06:56 AM
Define a client script for the incident table, as you have for the change_request table. The same Script Include can be used by any number of client scripts. You can copy the client script and just change the table from 'change_request' to 'incident'.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-11-2025 02:40 PM - edited ‎06-11-2025 02:44 PM
Yeah same (cmdb_ci_service_business) & (cmdb_ci_service_technical).
Your Client script + script include only are not fulfilling my requirement since its making Service_offering field optional with value filled for Service as
(cmdb_ci_service_business) or (cmdb_ci_service_technical).
post submit of Change Request.
but when i include UI Policy , the requirement is working fully.
do you have further more changes to the script, pls?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-11-2025 03:08 PM
Ok, what I've provided works when a user is updating a change request, while the form is visible. For post submit, I used a business rule. Use your UI Policy in combination if your requirements are met that way.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-11-2025 03:35 PM - edited ‎06-11-2025 03:35 PM
sure, that means the requirement won't be suffice only via Client script + Script Include?
I have one more requirement, if you can help me with that?
How can we configure When we have mandatory Service offering and it shows listing of Service offering only for selected service in Change Request form?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-11-2025 04:39 PM
Seems to be due to how the service_offering field is defined, it has a reference qualifier:
javascript:'parent='+current.business_service;
which again is a reference field on the cmdb_ci_service table.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-13-2025 06:49 AM
Thanks.
Hello @Bert_c1 If we want to have same functionality on Incident form, what we need to change, Please let me know?