- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2025 03:54 AM
Hi all,
I have created a string field on " sn_sam_software_installation_task" table called as Name, I want to copy the variable called "device" value into Name field So I am using the flow designer but I am getting below error.
but when I tried to add logs I am getting the correct value.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2025 09:17 AM
if the field is on parent and you are creating record on child table then that field will be inherited so no issue in that.
I hope it's not the reverse
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
04-07-2025 07:02 AM
please share what came in logs
are you getting the correct name and unable to set?
is the name longer than 32 characters?
Try increasing the length to 100 and see
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
04-07-2025 07:29 AM
Hi @Ankur Bawiskar ,
below are logs,
yes I am not able to set value tried with even hardcoded values like "testing"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2025 07:34 AM
so now you are able to get the name as per my script.
since you said it works for some devices and not for some
Did you check the field length is the issue?
your name field is 32 chars and might be the device name is more than that?
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
04-07-2025 08:16 AM - edited 04-07-2025 09:11 AM
Hi @Ankur Bawiskar ,
No the devices are within the given length ,is it because of workspace? I have created the field in software asset workspace in default view. should I create the field on parent table i.e asset_task?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2025 09:17 AM
if the field is on parent and you are creating record on child table then that field will be inherited so no issue in that.
I hope it's not the reverse
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