transform script is not working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
7 hours ago
Hi All,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
7 hours ago - last edited 7 hours ago
Hi @chandan2212,
can you possibly explain what's wrong with your code? it's not executed or the result is not staisfactory? It needs some context to give you meaningful response, pasting a random code is not sufficient.... :((
EDIT:
And what is supposed to be the || '' part in
var owners = source.u_owner_name || '';
What do the logs give you? Shouldn't it be just "var owners = source.u_owner_name;"???
No AI was used in the writing of this post. Pure #GlideFather only
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
7 hours ago
Hi @chandan2212 ,
Can you please let me know what you're getting once you're loading or running this data (I mean which log/info message the script is populating or it's not running at all).
Also, If you could share a sample data/obj of how the owners array/object is going to look like it'll be easy for me to test more & provide you with a fix soon.
where are you writing this script? Is it in the transform map run script or transform script(before, after..) or field mapping source script?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
6 hours ago
@chandan2212 Tried running your script in background scripts and it runs just fine. Any specific issues you are facing with this script?