- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2025 12:03 AM
Hello Everyone,
I have one requirement, whenever my client create request item related to meetings, RITM having the correct timings but whatever Task getting created under RITM that task description having the different timings compare to RITM.
Please provide solution for it.
Regards,
Manohararuna
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2025 12:48 AM
it's because of timezone, use getDisplayValue() on both the date/time variables to get the value you see on FORM
desc += 'Who is the contact for the meeting: ' + current.variables.who_is_the_contact_for_the_meeting.getDisplayValue() + '\n';
desc += 'Meeting Start date: ' + current.variables.what_is_the_date_and_time_of_the_meeting.getDisplayValue() + '\n';
desc += 'Meeting End date: ' + current.variables.meeting_end_date_time.getDisplayValue() + '\n';
desc += 'Please provide country, building, floor and conference room name: ' + current.variables.please_provide_country_building_and_floor_details + '\n';
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2025 12:11 AM
and this is the script in workflow need to correct it, actually it wont work
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2025 12:33 AM
what value you are expecting? is it not showing the values selected on variable?
how it's coming now? share screenshots
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2025 12:38 AM
RITM having the two variables what_is_the_date_and_time_of_the_meeting(variable backend value) and meeting_end_date_time . these two VAlues are update in Task Description after closing RITM .
Can you please see the diffenece in Task Description time values and RITM Variable values. i want to both samw
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2025 12:48 AM
it's because of timezone, use getDisplayValue() on both the date/time variables to get the value you see on FORM
desc += 'Who is the contact for the meeting: ' + current.variables.who_is_the_contact_for_the_meeting.getDisplayValue() + '\n';
desc += 'Meeting Start date: ' + current.variables.what_is_the_date_and_time_of_the_meeting.getDisplayValue() + '\n';
desc += 'Meeting End date: ' + current.variables.meeting_end_date_time.getDisplayValue() + '\n';
desc += 'Please provide country, building, floor and conference room name: ' + current.variables.please_provide_country_building_and_floor_details + '\n';
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader