- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2025 07:32 AM
Hello Everyone,
My requirement is there is Timezone field on User profile form, i want to same field on the Incident form under Priority.
For this i want solution.
Thanks,
Manohararuna.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2025 07:45 AM - edited 07-01-2025 07:46 AM
Hi @Manohararuna,
You can use before insert business rule and condition would be Caller is not empty.
Business Rule:
if (current.caller_id) {
var user = new GlideRecord('sys_user');
if (user.get(current.caller_id)) {
current.u_time_zone = user.time_zone; //use name for u_time_zone field as added in incident table
}
}
Regards,
Ehab Pilloor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2025 07:57 AM
Hi @Manohararuna ,
Hope you're doing well!
Which user's timezone would you like to see on incident form?
You need to pick a field a from Incident form that references to sys_user table
If you want to show the timezone of Caller, you can add it from Form Layout by dot walking from Caller to Timezone(on caller's user record), please refer to attached screenshots, thank you!
Best Regards,
Sharif
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2025 07:45 AM - edited 07-01-2025 07:46 AM
Hi @Manohararuna,
You can use before insert business rule and condition would be Caller is not empty.
Business Rule:
if (current.caller_id) {
var user = new GlideRecord('sys_user');
if (user.get(current.caller_id)) {
current.u_time_zone = user.time_zone; //use name for u_time_zone field as added in incident table
}
}
Regards,
Ehab Pilloor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2025 07:57 AM
Hi @Manohararuna ,
Hope you're doing well!
Which user's timezone would you like to see on incident form?
You need to pick a field a from Incident form that references to sys_user table
If you want to show the timezone of Caller, you can add it from Form Layout by dot walking from Caller to Timezone(on caller's user record), please refer to attached screenshots, thank you!
Best Regards,
Sharif
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2025 02:50 AM
No , I just want to Timezone field , actually i have three fields timezone, Time , Date & Time
Tiemzone fields having the Canada/Atlantic, Europe/Aemsterdam like option having
Date& Time : any time chosen from the dropdowns above should be converted to IST on a separate space and 12 AM /12 PM converted not like 24 hours convertion.
Regards.
Manohararuna
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2025 03:34 AM
this is one more condition ,
A duplicate Incident checkbox, if selected a mandatory drop down referring to any INC created in PROD which can be selected. No manual entry. NO SLA or SURVEY should trigger if duplicate checkbox is marked and reference INC is selected.