<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Transform map should not update if one record is missing value. in ITSM forum</title>
    <link>https://www.servicenow.com/community/itsm-forum/transform-map-should-not-update-if-one-record-is-missing-value/m-p/556823#M128602</link>
    <description>&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt;In Transform map iam updating the records(no inserting). If ST validation id is empty then that record is not updating, it is working fine. My requirement is if&lt;/P&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt;&lt;/P&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt;1)I'am updating 1000 records if 999 records is having ST.validation_ID, then i don't want to update single record in transform map,(the transform map should not be happen for single record out of 1000 i.e if 1 record is missing validation.ID whole 1000 records should not update.) means the transform map option should not complete.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt;2)I'am getting messages in system log, is it possible to get the message while doing transform map so that user be able to know that records are not updating because of empty validation ID.&lt;/P&gt;</description>
    <pubDate>Wed, 20 Sep 2017 05:12:57 GMT</pubDate>
    <dc:creator>suryan</dc:creator>
    <dc:date>2017-09-20T05:12:57Z</dc:date>
    <item>
      <title>Transform map should not update if one record is missing value.</title>
      <link>https://www.servicenow.com/community/itsm-forum/transform-map-should-not-update-if-one-record-is-missing-value/m-p/556823#M128602</link>
      <description>&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt;In Transform map iam updating the records(no inserting). If ST validation id is empty then that record is not updating, it is working fine. My requirement is if&lt;/P&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt;&lt;/P&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt;1)I'am updating 1000 records if 999 records is having ST.validation_ID, then i don't want to update single record in transform map,(the transform map should not be happen for single record out of 1000 i.e if 1 record is missing validation.ID whole 1000 records should not update.) means the transform map option should not complete.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt;2)I'am getting messages in system log, is it possible to get the message while doing transform map so that user be able to know that records are not updating because of empty validation ID.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Sep 2017 05:12:57 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/transform-map-should-not-update-if-one-record-is-missing-value/m-p/556823#M128602</guid>
      <dc:creator>suryan</dc:creator>
      <dc:date>2017-09-20T05:12:57Z</dc:date>
    </item>
    <item>
      <title>Re: Transform map should not update if one record is missing value.</title>
      <link>https://www.servicenow.com/community/itsm-forum/transform-map-should-not-update-if-one-record-is-missing-value/m-p/556824#M128603</link>
      <description>&lt;P&gt;Can we try to get the count of &lt;SPAN style="color: #666666; font-family: arial, sans-serif;"&gt;validation.ID field using GlideAggregate with &lt;SPAN style="color: #333333; font-family: Omnes-pro, Arial, Verdana, sans-serif;"&gt;onStart transform scripts &lt;/SPAN&gt;and then compare with the actual count, if record doesn't match then let's have the ignore = true;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;SPAN style="color: #666666; font-family: arial, sans-serif;"&gt;&lt;A href="http://wiki.servicenow.com/index.php?title=GlideAggregate#gsc.tab=0" title="http://wiki.servicenow.com/index.php?title=GlideAggregate#gsc.tab=0"&gt;http://wiki.servicenow.com/index.php?title=GlideAggregate#gsc.tab=0&lt;/A&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;SPAN style="color: #666666; font-family: arial, sans-serif;"&gt;&lt;A href="http://wiki.servicenow.com/index.php?title=Transform_Map_Scripts#Transformation_script_variables" title="http://wiki.servicenow.com/index.php?title=Transform_Map_Scripts#Transformation_script_variables"&gt;http://wiki.servicenow.com/index.php?title=Transform_Map_Scripts#Transformation_script_variables&lt;/A&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;SPAN style="color: #666666; font-family: arial, sans-serif;"&gt;I didn't try but let's see if it helps in this way.&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;var actualcount = new GlideAggregate('Source_table_name');&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;actualcount.addAggregate('COUNT');&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;actualcount.query();&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;var num = 0;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;var actualnum = 0;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;if(actualcount.next()){ &lt;/P&gt;&lt;BR /&gt;&lt;P&gt;actualnum = actualcount.getAggregate('COUNT');&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;var count = new GlideAggregate('Source_table_name'); &lt;/P&gt;&lt;BR /&gt;&lt;P&gt;count.addQuery('validation_field_name', null);&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;count.addAggregate('COUNT');&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;if(count.next())&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;num = count.getAggregate('COUNT');&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;}&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;if(num != actualnum)&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;ignore = true;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 20 Sep 2017 05:39:35 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/transform-map-should-not-update-if-one-record-is-missing-value/m-p/556824#M128603</guid>
      <dc:creator>Shishir Srivast</dc:creator>
      <dc:date>2017-09-20T05:39:35Z</dc:date>
    </item>
    <item>
      <title>Re: Transform map should not update if one record is missing value.</title>
      <link>https://www.servicenow.com/community/itsm-forum/transform-map-should-not-update-if-one-record-is-missing-value/m-p/556825#M128604</link>
      <description>&lt;P&gt;It feels like we responded this in a different thread some days ago &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_emote jive_macro" data-renderedposition="7.98828125_421.89453125_16_16" src="https://www.servicenow.com/8.0.4.21bdc7e/images/emoticons/happy.png"&gt;&lt;/SPAN&gt;. &lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;1) yes. Using &lt;STRONG&gt;onStart &lt;/STRONG&gt;script. Shishir is right in regards that you just need to validate if at least one of the records it's missing the value. A GlideAggregate is not really needed for this. You can even just do a query over a source table and see if there's at least one value where validation_ID is missing. &lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;2) I don't think there's a way to show a message to the end user doing an import/tranform unless something like a &lt;STRONG&gt;gs.addInfoMessage &lt;/STRONG&gt;works. &lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Berny &lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 20 Sep 2017 05:52:37 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/transform-map-should-not-update-if-one-record-is-missing-value/m-p/556825#M128604</guid>
      <dc:creator>bernyalvarado</dc:creator>
      <dc:date>2017-09-20T05:52:37Z</dc:date>
    </item>
    <item>
      <title>Re: Transform map should not update if one record is missing value.</title>
      <link>https://www.servicenow.com/community/itsm-forum/transform-map-should-not-update-if-one-record-is-missing-value/m-p/556826#M128605</link>
      <description>&lt;P&gt;Hope this helps! &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_emote jive_macro" data-renderedposition="7.98828125_113.26171875_16_16" src="https://www.servicenow.com/8.0.4.21bdc7e/images/emoticons/happy.png"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 20 Sep 2017 05:53:54 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/transform-map-should-not-update-if-one-record-is-missing-value/m-p/556826#M128605</guid>
      <dc:creator>bernyalvarado</dc:creator>
      <dc:date>2017-09-20T05:53:54Z</dc:date>
    </item>
    <item>
      <title>Re: Transform map should not update if one record is missing value.</title>
      <link>https://www.servicenow.com/community/itsm-forum/transform-map-should-not-update-if-one-record-is-missing-value/m-p/556827#M128606</link>
      <description>&lt;P&gt;You can use onBefore Transform map script to check the validation id. Below is an example code.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;var id = source.u_name.toString();&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;var info = "Before the row is transformed, " + id;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;log.info( info ); &lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;// Make sure a company name has been provided&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;var tid = new GlideRecord('Table name');&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;tid.addQuery('validation_field_name', "id");&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;itd.query();&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;if(tid.hasNext()){&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;ignore = true;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;info ="Record already there, row ignored! " + id;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;log.info( info );&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;}&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 20 Sep 2017 05:54:04 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/transform-map-should-not-update-if-one-record-is-missing-value/m-p/556827#M128606</guid>
      <dc:creator>Deepak Kumar5</dc:creator>
      <dc:date>2017-09-20T05:54:04Z</dc:date>
    </item>
    <item>
      <title>Re: Transform map should not update if one record is missing value.</title>
      <link>https://www.servicenow.com/community/itsm-forum/transform-map-should-not-update-if-one-record-is-missing-value/m-p/556828#M128607</link>
      <description>&lt;P&gt;Hi berny,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;If one record is missing whole update has to be aborted, but here only missing values are not updated, remaining it is updated. I want all records not to be updated still if one record is missing the value .&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 20 Sep 2017 06:02:21 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/transform-map-should-not-update-if-one-record-is-missing-value/m-p/556828#M128607</guid>
      <dc:creator>suryan</dc:creator>
      <dc:date>2017-09-20T06:02:21Z</dc:date>
    </item>
    <item>
      <title>Re: Transform map should not update if one record is missing value.</title>
      <link>https://www.servicenow.com/community/itsm-forum/transform-map-should-not-update-if-one-record-is-missing-value/m-p/556829#M128608</link>
      <description>&lt;P&gt;I think, that's why we have to use ignore script variable with onStart() script to skip the entire &lt;SPAN style="color: #333333; font-family: Omnes-pro, Arial, Verdana, sans-serif;"&gt;transformation.&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;TABLE class="standard" style="font-family: Omnes-pro, Arial, Verdana, sans-serif; border: 0px solid #777777; color: #333333; margin-top: 2em; margin-bottom: 2em;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style="padding: 5px 10px; border: 1px solid #777777;"&gt;ignore&lt;/TD&gt;&lt;TD style="padding: 5px 10px; border: 1px solid #777777;"&gt;Flag&lt;/TD&gt;&lt;TD style="padding: 5px 10px; border: 1px solid #777777;"&gt;A boolean variable ("true" or "false") where true in onStart scripts will cause the entire transformation process to be skipped. Setting it to true in onBefore scripts will cause the current row transformation to be skipped, and will continue to process the remaining rows. Default is "false".&lt;/TD&gt;&lt;TD style="padding: 5px 10px; border: 1px solid #777777;"&gt;&lt;PRE style="font-family: consolas, monaco, courier; color: #000000; background-color: #f9f9f9; padding: 1em;"&gt;&lt;SPAN class="k" style="color: #008000; font-weight: bold;"&gt;if&lt;/SPAN&gt; &lt;SPAN class="p"&gt;(&lt;/SPAN&gt;&lt;SPAN class="nx"&gt;source&lt;/SPAN&gt;&lt;SPAN class="p"&gt;.&lt;/SPAN&gt;&lt;SPAN class="nx"&gt;u_user_name&lt;/SPAN&gt;&lt;SPAN class="p"&gt;.&lt;/SPAN&gt;&lt;SPAN class="nx"&gt;nil&lt;/SPAN&gt;&lt;SPAN class="p"&gt;()){&lt;/SPAN&gt; &lt;SPAN class="nx"&gt;ignore&lt;/SPAN&gt; &lt;SPAN class="o" style="color: #666666;"&gt;=&lt;/SPAN&gt; &lt;SPAN class="kc" style="color: #008000; font-weight: bold;"&gt;true&lt;/SPAN&gt;&lt;SPAN class="p"&gt;;&lt;/SPAN&gt; &lt;SPAN class="p"&gt;}&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Wed, 20 Sep 2017 06:05:12 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/transform-map-should-not-update-if-one-record-is-missing-value/m-p/556829#M128608</guid>
      <dc:creator>Shishir Srivast</dc:creator>
      <dc:date>2017-09-20T06:05:12Z</dc:date>
    </item>
    <item>
      <title>Re: Transform map should not update if one record is missing value.</title>
      <link>https://www.servicenow.com/community/itsm-forum/transform-map-should-not-update-if-one-record-is-missing-value/m-p/556830#M128609</link>
      <description>&lt;P&gt;Yeap ignore = true in the &lt;STRONG&gt;onStart &lt;/STRONG&gt;script will halt all the transformation process.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Berny&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 20 Sep 2017 06:10:28 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/transform-map-should-not-update-if-one-record-is-missing-value/m-p/556830#M128609</guid>
      <dc:creator>bernyalvarado</dc:creator>
      <dc:date>2017-09-20T06:10:28Z</dc:date>
    </item>
    <item>
      <title>Re: Transform map should not update if one record is missing value.</title>
      <link>https://www.servicenow.com/community/itsm-forum/transform-map-should-not-update-if-one-record-is-missing-value/m-p/556831#M128610</link>
      <description>&lt;P&gt;Hi &lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;if(action=='insert'){&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;ignore = 'true';&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;}&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;if(source.u_supplier_validation_result == ''){&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;ignore = 'true';&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;error=true;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;error_message='Supplier Validation Results field is blank, Please update the field to &amp;nbsp; complete the update';&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;}&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;this is the code i wrote if validation result is empty it is skipping only dat record, remaining it is updating. I want whole transform map to be aborted.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 20 Sep 2017 06:26:19 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/transform-map-should-not-update-if-one-record-is-missing-value/m-p/556831#M128610</guid>
      <dc:creator>suryan</dc:creator>
      <dc:date>2017-09-20T06:26:19Z</dc:date>
    </item>
    <item>
      <title>Re: Transform map should not update if one record is missing value.</title>
      <link>https://www.servicenow.com/community/itsm-forum/transform-map-should-not-update-if-one-record-is-missing-value/m-p/556832#M128611</link>
      <description>&lt;P&gt;Can you please remove the quotes from below true keyword, hoping this is onStart() script?&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;SPAN style="color: #666666; font-family: arial, sans-serif;"&gt;ignore = 'true';&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 20 Sep 2017 06:37:12 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/transform-map-should-not-update-if-one-record-is-missing-value/m-p/556832#M128611</guid>
      <dc:creator>Shishir Srivast</dc:creator>
      <dc:date>2017-09-20T06:37:12Z</dc:date>
    </item>
    <item>
      <title>Re: Transform map should not update if one record is missing value.</title>
      <link>https://www.servicenow.com/community/itsm-forum/transform-map-should-not-update-if-one-record-is-missing-value/m-p/556833#M128612</link>
      <description>&lt;P&gt;This is my onstart script&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;(function transformRow(source,map, log, target) {&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; if(action == 'insert'){&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;ignore = true;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; }&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; if(source.&lt;SPAN style="color: #666666; font-family: arial, sans-serif;"&gt;ST.validation_ID,&lt;/SPAN&gt; == ''){&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; ignore = true;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; error = true;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; error_message='Supplier Validation Results field is blank, Please update the field to &amp;nbsp; complete the update';&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; }&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;})(source, map, log, &amp;nbsp; target);&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;this wil only the row skip if validation id is empty, it is not aborting the whole insert if any one validation id is empty.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 26 Sep 2017 10:41:40 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/transform-map-should-not-update-if-one-record-is-missing-value/m-p/556833#M128612</guid>
      <dc:creator>suryan</dc:creator>
      <dc:date>2017-09-26T10:41:40Z</dc:date>
    </item>
    <item>
      <title>Re: Transform map should not update if one record is missing value.</title>
      <link>https://www.servicenow.com/community/itsm-forum/transform-map-should-not-update-if-one-record-is-missing-value/m-p/556834#M128613</link>
      <description>&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt;This is my onstart script&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt;(function transformRow(source,map, log, target) {&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt; &amp;nbsp; if(action == 'insert'){&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt;ignore = true;&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt; &amp;nbsp; }&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt; &amp;nbsp; if(source.&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;ST.validation_ID,&lt;/SPAN&gt; == ''){&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt; &amp;nbsp; ignore = true;&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt; &amp;nbsp; error = true;&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt; &amp;nbsp; error_message='Supplier Validation Results field is blank, Please update the field to &amp;nbsp; complete the update';&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt; &amp;nbsp; }&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt;})(source, map, log, &amp;nbsp; target);&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt;this will only &amp;nbsp; skip &lt;SPAN style="color: #666666; font-family: arial, sans-serif;"&gt;the row&lt;/SPAN&gt; if validation id is empty on that row, it is not aborting the whole insert if any one validation id is empty.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 26 Sep 2017 10:42:26 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/transform-map-should-not-update-if-one-record-is-missing-value/m-p/556834#M128613</guid>
      <dc:creator>suryan</dc:creator>
      <dc:date>2017-09-26T10:42:26Z</dc:date>
    </item>
    <item>
      <title>Re: Transform map should not update if one record is missing value.</title>
      <link>https://www.servicenow.com/community/itsm-forum/transform-map-should-not-update-if-one-record-is-missing-value/m-p/556835#M128614</link>
      <description>&lt;P&gt;is the source field name is ST.&lt;SPAN style="color: #666666; font-family: arial, sans-serif;"&gt;validation_ID. Can we replace the dot after ST with underscore like ST_validation_ID and also in you if condition there is a comma after ST.&lt;SPAN style="color: #666666; font-family: arial, sans-serif;"&gt;validation_ID. Can you please remove that and try. Can we something like this with &lt;STRONG&gt;nil()&lt;/STRONG&gt; function.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt;(function transformRow(source,map, log, target) { &lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt; &amp;nbsp; if(action == 'insert'){&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ignore = true;&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt; &amp;nbsp; }&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt;&lt;STRONG&gt; &amp;nbsp; if(source.&lt;SPAN style="font-style: inherit;"&gt;ST_validation_ID.nil()&lt;/SPAN&gt;){&lt;/STRONG&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ignore = true;&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; error = true;&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt;&lt;STRONG&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var error_message='Supplier Validation Results field is blank, Please update the field to &amp;nbsp; complete the update';&lt;/STRONG&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt;&lt;STRONG&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;SPAN class="nx"&gt;log&lt;/SPAN&gt;&lt;SPAN class="p"&gt;.&lt;/SPAN&gt;&lt;SPAN class="nx"&gt;info&lt;/SPAN&gt;&lt;SPAN class="p"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #666666; font-family: arial, sans-serif;"&gt;error_message&lt;/SPAN&gt;&lt;SPAN class="p"&gt;);&lt;/SPAN&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt; &amp;nbsp; } &lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt;})(source, map, log, &amp;nbsp; target);&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 27 Sep 2017 03:00:18 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/transform-map-should-not-update-if-one-record-is-missing-value/m-p/556835#M128614</guid>
      <dc:creator>Shishir Srivast</dc:creator>
      <dc:date>2017-09-27T03:00:18Z</dc:date>
    </item>
    <item>
      <title>Re: Transform map should not update if one record is missing value.</title>
      <link>https://www.servicenow.com/community/itsm-forum/transform-map-should-not-update-if-one-record-is-missing-value/m-p/556836#M128615</link>
      <description>&lt;P&gt;&lt;SPAN style="color: #666666; font-family: arial, sans-serif;"&gt;Replace the dot after ST with underscore like ST_validation_ID and replace the code like this -&amp;gt; &lt;STRONG style="font-family: arial, sans-serif; color: #666666;"&gt;source.&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;ST_validation_ID.nil(), &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;SPAN style="color: #666666; font-family: arial, sans-serif;"&gt;&lt;STRONG style="color: #666666; font-weight: inherit; font-family: inherit; font-style: inherit;"&gt;it is onstart &lt;/STRONG&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;script, still it is not working&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 27 Sep 2017 06:58:30 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/transform-map-should-not-update-if-one-record-is-missing-value/m-p/556836#M128615</guid>
      <dc:creator>suryan</dc:creator>
      <dc:date>2017-09-27T06:58:30Z</dc:date>
    </item>
    <item>
      <title>Re: Transform map should not update if one record is missing value.</title>
      <link>https://www.servicenow.com/community/itsm-forum/transform-map-should-not-update-if-one-record-is-missing-value/m-p/556837#M128616</link>
      <description>&lt;P&gt;Can we change the field name in lower case and try, like: st_validation_id&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 27 Sep 2017 07:02:15 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/transform-map-should-not-update-if-one-record-is-missing-value/m-p/556837#M128616</guid>
      <dc:creator>Shishir Srivast</dc:creator>
      <dc:date>2017-09-27T07:02:15Z</dc:date>
    </item>
    <item>
      <title>Re: Transform map should not update if one record is missing value.</title>
      <link>https://www.servicenow.com/community/itsm-forum/transform-map-should-not-update-if-one-record-is-missing-value/m-p/556838#M128617</link>
      <description>&lt;P&gt;changed to lower case same issue&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 27 Sep 2017 07:05:43 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/transform-map-should-not-update-if-one-record-is-missing-value/m-p/556838#M128617</guid>
      <dc:creator>suryan</dc:creator>
      <dc:date>2017-09-27T07:05:43Z</dc:date>
    </item>
    <item>
      <title>Re: Transform map should not update if one record is missing value.</title>
      <link>https://www.servicenow.com/community/itsm-forum/transform-map-should-not-update-if-one-record-is-missing-value/m-p/556839#M128618</link>
      <description>&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt;Below is my &lt;STRONG&gt;onstart&lt;/STRONG&gt; transform script. still it is not aborting the action if one row(st validation id) is empty.&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt;(function transformRow(source,map, log, target) {&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt; &amp;nbsp; if(action == 'insert'){&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ignore = true;&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt; &amp;nbsp; }&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt; &lt;/STRONG&gt; if(source.st&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;_validation_id.nil()&lt;/SPAN&gt;){&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ignore = true;&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; error = true;&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var error_message='Supplier Validation Results field is blank, Please update the field to &amp;nbsp; complete the update';&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;SPAN class="nx" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;log&lt;/SPAN&gt;&lt;SPAN class="p" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="nx" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;info&lt;/SPAN&gt;&lt;SPAN class="p" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;error_message&lt;/SPAN&gt;&lt;SPAN class="p" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt; &amp;nbsp; }&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt;})(source, map, log, &amp;nbsp; target);&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 27 Sep 2017 07:09:14 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/transform-map-should-not-update-if-one-record-is-missing-value/m-p/556839#M128618</guid>
      <dc:creator>suryan</dc:creator>
      <dc:date>2017-09-27T07:09:14Z</dc:date>
    </item>
    <item>
      <title>Re: Transform map should not update if one record is missing value.</title>
      <link>https://www.servicenow.com/community/itsm-forum/transform-map-should-not-update-if-one-record-is-missing-value/m-p/556840#M128619</link>
      <description>&lt;P&gt;Please validate what is the column name in source table for &lt;SPAN style="color: #666666; font-family: arial, sans-serif;"&gt;st validation id, it might be a chance that field (column) name is u_&lt;SPAN style="color: #666666; font-family: arial, sans-serif;"&gt;st&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #666666;"&gt;_validation_id. Please open the table (under system definition -&amp;gt; table) and verify the column name.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 27 Sep 2017 07:15:09 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/transform-map-should-not-update-if-one-record-is-missing-value/m-p/556840#M128619</guid>
      <dc:creator>Shishir Srivast</dc:creator>
      <dc:date>2017-09-27T07:15:09Z</dc:date>
    </item>
    <item>
      <title>Re: Transform map should not update if one record is missing value.</title>
      <link>https://www.servicenow.com/community/itsm-forum/transform-map-should-not-update-if-one-record-is-missing-value/m-p/556841#M128620</link>
      <description>&lt;P&gt;correct it is u&lt;SPAN style="color: #666666; font-family: arial, sans-serif;"&gt;_&lt;/SPAN&gt;&lt;SPAN style="font-family: arial, sans-serif; color: #666666;"&gt;st&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #666666;"&gt;_validation_id, changed and run twice still it is allowing to update if validation id is empty.&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #666666;"&gt;checked &lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #666666;"&gt;1)u_&lt;SPAN style="font-family: arial, sans-serif; color: #666666;"&gt;st&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #666666;"&gt;_validation_id =&lt;/SPAN&gt;= '' and&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #666666;"&gt;2) u_&lt;SPAN style="font-family: arial, sans-serif; color: #666666;"&gt;st&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #666666;"&gt;_validation_id.nill() &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;SPAN style="color: #666666; font-weight: inherit; font-family: inherit; font-style: inherit;"&gt;still same issue&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;(function transformRow(source, map, log, target /*undefined onStart*/ ) {&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; ignore = true;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;if(action == 'insert'){&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; ignore = true;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; }&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; if(source.u_&lt;SPAN style="font-family: arial, sans-serif; color: #666666;"&gt;st&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #666666;"&gt;_validation_id =&lt;/SPAN&gt;= ''){&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; ignore = true;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; error = true;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; error_message='Supplier Validation id field is blank, Please update the field &amp;nbsp; to &amp;nbsp; complete the update';&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;}&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;})(source, map, log, target);&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 27 Sep 2017 07:21:49 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/transform-map-should-not-update-if-one-record-is-missing-value/m-p/556841#M128620</guid>
      <dc:creator>suryan</dc:creator>
      <dc:date>2017-09-27T07:21:49Z</dc:date>
    </item>
    <item>
      <title>Re: Transform map should not update if one record is missing value.</title>
      <link>https://www.servicenow.com/community/itsm-forum/transform-map-should-not-update-if-one-record-is-missing-value/m-p/556842#M128621</link>
      <description>&lt;P&gt;just try with below script and see.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt;(function transformRow(source, map, log, target /*undefined onStart*/ ) {&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if(source.u_&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;st&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;_validation_id.nil()&lt;/SPAN&gt;)&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ignore = true;&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt;})(source, map, log, target);&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 27 Sep 2017 07:26:03 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/transform-map-should-not-update-if-one-record-is-missing-value/m-p/556842#M128621</guid>
      <dc:creator>Shishir Srivast</dc:creator>
      <dc:date>2017-09-27T07:26:03Z</dc:date>
    </item>
  </channel>
</rss>

