
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2018 08:51 AM
I need to transform data into a table with a sys_user.name reference field.
Source Table field is u_report_owner
Target Table field is u_report_owner
I have added a script on the source field and the data is not transforming into the table.
Can some tell me what I'm doing wrong.
Solved! Go to Solution.
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2018 08:56 AM
Hello Kristy,
I think you should be able to do it with out any scripting. Set the choice action to ignore and then the reference field on report owner should get updated if the value already exists in the target table. In reference field name you can point to any column of target table i.e user_name in this case.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2018 08:58 AM
Missing table with quotes.
var gr = new GlideRecord('sys_user');
Hit Correct/ Endorsers/ Helpful/ Like depending on the impact of the response
Lakshmaiah Dumpala

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2018 09:43 AM
Thank you to everyone for finding the typo and the guidance. I have found my mistake as the report owner field in the transform import set table was not set to a reference field.