- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2023 12:38 AM
Hi,
I have the field u_mail in my transform and it supposed to populate the 'mail' field on the sys_user table.
This field is also my Coalesce in the transform map.
Im using source script in order to populate the mail field in the sys_user table, How can I achieve that?
if(source.u_mail.includes('idfts')) {
skip current row and do nothing;
}
else {
return source.u_mail;
}
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2023 12:56 AM - edited 08-31-2023 12:57 AM
Hi @Alon Grod ,
try the below:
if(source.u_mail.includes('idfts')) {
return;
}
else {
target.mail = source.u_mail;
}
☑️ Please mark responses as HELPFUL or ACCEPT SOLUTION to assist future users in finding the right solution....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2023 12:56 AM - edited 08-31-2023 12:57 AM
Hi @Alon Grod ,
try the below:
if(source.u_mail.includes('idfts')) {
return;
}
else {
target.mail = source.u_mail;
}
☑️ Please mark responses as HELPFUL or ACCEPT SOLUTION to assist future users in finding the right solution....