Show error when Change the field type string to date/time.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2024 10:49 PM
Hi
I need to change the field type string to date/time in Injury and illness table But it showing [Type change not allowed. Invalid type conversion for field 'Date and time of injury or illness' on table 'Injury and illness'. Cannot convert from 'String' to 'Date/Time'.] Error.
@Allen Andreas @Pradeep Sharma @Community Alums @Anurag Tripathi @Mark Roethof

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2024 06:46 AM
Hi there,
Thats correct, its not allowed. You can create a new field, and drop this one as alternative.
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2024 08:00 AM
Don't think this will be possible.
You can create a ne field,
Copy value form original to this via script, if needed.
Drop original field, or remove from the form.
Change label of new field to make is same as old one.