- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2022 06:20 AM
I have a field from which I am trying to push a value to target table but it is not working see screenshot.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2022 06:49 AM
Did you try writing this script in directly in field map? or do you have one already?
If not, can you create one
Can you check in syslog table, if you are getting any error as part of it, also put gs.info to check what is the final value that you are getting, for a string value, I dont think there should be that much of issue
Aman Kumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2022 07:25 AM
Hi Allen,
It resolved the issue Just testing with another approach from another reply. I have tried your approach it is working fine and it is updating all the record for now as there is no condition, I will add condition, check 2nd approach and will mark correct and helpful whichever suits. Thank You so much Allen.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2022 07:30 AM
Hi,
Regardless of a condition being added, it doesn't affect the fact that you have to use GlideRecord to update the record in an onAfter script, which is what I mentioned above.
In either case, it's your thread, so whatever works for you, but for the sake of future readers, what I've posted above is what answered your question as to why your script didn't work, again, regardless of any additional script you're trying to add. That is something on your end and doesn't change what will work for updating the record or not.
Thanks and take care! 🙂
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2022 06:27 AM
Hey,
I think you should write onBefore, instead of onStart, if you are trying to update a particular field in the target table
Aman Kumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2022 06:39 AM
Hi Aman, I have tried all 3 type of script before after and complete

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2022 06:49 AM
Did you try writing this script in directly in field map? or do you have one already?
If not, can you create one
Can you check in syslog table, if you are getting any error as part of it, also put gs.info to check what is the final value that you are getting, for a string value, I dont think there should be that much of issue
Aman Kumar