<?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 Re: Insert new record in Developer forum</title>
    <link>https://www.servicenow.com/community/developer-forum/insert-new-record/m-p/1939771#M596697</link>
    <description>&lt;P&gt;Hi balaji,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;There are ACLs configured for write and create operation with role assessment_admin.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Will this make any difference while creating a new record through business rule.&lt;/P&gt;&lt;BR /&gt;</description>
    <pubDate>Fri, 21 Oct 2016 09:58:56 GMT</pubDate>
    <dc:creator>charanpreet</dc:creator>
    <dc:date>2016-10-21T09:58:56Z</dc:date>
    <item>
      <title>Insert new record</title>
      <link>https://www.servicenow.com/community/developer-forum/insert-new-record/m-p/1939769#M596695</link>
      <description>&lt;P&gt;I am trying to insert a new record to another table.&lt;/P&gt;&lt;P&gt;Issue is the record gets inserted but with the blank values.&lt;/P&gt;&lt;P&gt;var gr = new GlideRecord('asmt_m2m_category_assessment');&lt;/P&gt;&lt;P&gt;gr.initialize();&lt;/P&gt;&lt;P&gt;gr.assessment_record = current.vendor;&lt;/P&gt;&lt;P&gt;gr.category = current.u_it_resource_subtower;&lt;/P&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; gs.addInfoMessage(gr.assessment_record);&lt;/P&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; gs.addInfoMessage(gr.category);&lt;/P&gt;&lt;P&gt;gr.insert();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Output : for assessable record : sysid&lt;/P&gt;&lt;P&gt;gr.category : correct value&lt;/P&gt;&lt;P&gt;But the record created in the table does not have any value for any of the two columns.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Oct 2016 09:24:41 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/insert-new-record/m-p/1939769#M596695</guid>
      <dc:creator>charanpreet</dc:creator>
      <dc:date>2016-10-21T09:24:41Z</dc:date>
    </item>
    <item>
      <title>Re: Insert new record</title>
      <link>https://www.servicenow.com/community/developer-forum/insert-new-record/m-p/1939770#M596696</link>
      <description>&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt;Hi kaur,&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; May be on that table you do not have read acl. Please check the acl and try.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 21 Oct 2016 09:35:24 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/insert-new-record/m-p/1939770#M596696</guid>
      <dc:creator>BALAJI40</dc:creator>
      <dc:date>2016-10-21T09:35:24Z</dc:date>
    </item>
    <item>
      <title>Re: Insert new record</title>
      <link>https://www.servicenow.com/community/developer-forum/insert-new-record/m-p/1939771#M596697</link>
      <description>&lt;P&gt;Hi balaji,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;There are ACLs configured for write and create operation with role assessment_admin.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Will this make any difference while creating a new record through business rule.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 21 Oct 2016 09:58:56 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/insert-new-record/m-p/1939771#M596697</guid>
      <dc:creator>charanpreet</dc:creator>
      <dc:date>2016-10-21T09:58:56Z</dc:date>
    </item>
    <item>
      <title>Re: Insert new record</title>
      <link>https://www.servicenow.com/community/developer-forum/insert-new-record/m-p/1939772#M596698</link>
      <description>&lt;P&gt;Also I cannot do any changes in the ACL&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 21 Oct 2016 10:01:47 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/insert-new-record/m-p/1939772#M596698</guid>
      <dc:creator>charanpreet</dc:creator>
      <dc:date>2016-10-21T10:01:47Z</dc:date>
    </item>
    <item>
      <title>Re: Insert new record</title>
      <link>https://www.servicenow.com/community/developer-forum/insert-new-record/m-p/1939773#M596699</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;from where you fetching data ? from Catalog or from table?&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 21 Oct 2016 10:07:53 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/insert-new-record/m-p/1939773#M596699</guid>
      <dc:creator>Pradeep J</dc:creator>
      <dc:date>2016-10-21T10:07:53Z</dc:date>
    </item>
    <item>
      <title>Re: Insert new record</title>
      <link>https://www.servicenow.com/community/developer-forum/insert-new-record/m-p/1939774#M596700</link>
      <description>&lt;P&gt;First elevate your role to security admin.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="find_real_file.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/50918iEEDD3CB194F7EF02/image-size/large?v=v2&amp;amp;px=999" srcset="/community/image/serverpage/image-id/50918iEEDD3CB194F7EF02/image-size/large?v=v2&amp;amp;px=999 1.0x" role="button" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 21 Oct 2016 10:08:45 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/insert-new-record/m-p/1939774#M596700</guid>
      <dc:creator>Deepak Kumar5</dc:creator>
      <dc:date>2016-10-21T10:08:45Z</dc:date>
    </item>
    <item>
      <title>Re: Insert new record</title>
      <link>https://www.servicenow.com/community/developer-forum/insert-new-record/m-p/1939775#M596701</link>
      <description>&lt;P&gt;from contract table&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 21 Oct 2016 10:13:35 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/insert-new-record/m-p/1939775#M596701</guid>
      <dc:creator>charanpreet</dc:creator>
      <dc:date>2016-10-21T10:13:35Z</dc:date>
    </item>
    <item>
      <title>Re: Insert new record</title>
      <link>https://www.servicenow.com/community/developer-forum/insert-new-record/m-p/1939776#M596702</link>
      <description>&lt;P&gt;Hi kaur,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Do you have assessment admin role. In that table write operation for those role only, based on acl only we can access the data.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;even try one more,&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt;var gr = new GlideRecord('asmt_m2m_category_assessment');&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt;gr.initialize();&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt;gr.assessment_record = current.vendor;&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt;gr.category = current.u_it_resource_subtower;&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; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; gs.addInfoMessage(gr.assessment_record);&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; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; gs.addInfoMessage(gr.category);&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt;var sysId= gr.insert();&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt;&lt;SPAN style="color: #666666; font-family: arial, sans-serif;"&gt; gs.addInfoMessage('AssignGrp:'+gr.assessment_record+' ,category:'+&lt;SPAN style="color: #666666; font-family: arial, sans-serif;"&gt;gr.category+' ,sys_id:'+&lt;SPAN style="color: #666666; font-family: arial, sans-serif;"&gt;sysId&lt;/SPAN&gt;&lt;/SPAN&gt;); // check it shows sys_id or not&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt;&lt;SPAN style="color: #666666; font-family: arial, sans-serif;"&gt;if not try to trigger same business rule with, assessment_admin role user by impersonating some one.&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt;&lt;SPAN style="color: #666666; font-family: arial, sans-serif;"&gt;please let me know what are all the results do you get.&lt;/SPAN&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; you mentioned only create and read acl on that table. If there is read acl defined means all users having read access.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 21 Oct 2016 10:14:09 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/insert-new-record/m-p/1939776#M596702</guid>
      <dc:creator>BALAJI40</dc:creator>
      <dc:date>2016-10-21T10:14:09Z</dc:date>
    </item>
    <item>
      <title>Re: Insert new record</title>
      <link>https://www.servicenow.com/community/developer-forum/insert-new-record/m-p/1939777#M596703</link>
      <description>&lt;P&gt;Tied the above record,output : &lt;STRONG style="color: #024fa1; background: #E6F1FD; font-size: 10.0pt; font-family: 'Arial',sans-serif;"&gt;Vendor:99ee8bcedb262e00077f7111cf96194bcatEnterprise Data Centersysid7d78b7dadba26e00077f7111cf961933&lt;/STRONG&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 21 Oct 2016 10:22:45 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/insert-new-record/m-p/1939777#M596703</guid>
      <dc:creator>charanpreet</dc:creator>
      <dc:date>2016-10-21T10:22:45Z</dc:date>
    </item>
    <item>
      <title>Re: Insert new record</title>
      <link>https://www.servicenow.com/community/developer-forum/insert-new-record/m-p/1939778#M596704</link>
      <description>&lt;P&gt;&lt;SPAN style="color: #666666; font-family: arial, sans-serif;"&gt;Do you have this role "assessment_admin"?&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 21 Oct 2016 10:30:18 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/insert-new-record/m-p/1939778#M596704</guid>
      <dc:creator>BALAJI40</dc:creator>
      <dc:date>2016-10-21T10:30:18Z</dc:date>
    </item>
    <item>
      <title>Re: Insert new record</title>
      <link>https://www.servicenow.com/community/developer-forum/insert-new-record/m-p/1939779#M596705</link>
      <description>&lt;P&gt;I have admin role&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 21 Oct 2016 10:45:30 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/insert-new-record/m-p/1939779#M596705</guid>
      <dc:creator>charanpreet</dc:creator>
      <dc:date>2016-10-21T10:45:30Z</dc:date>
    </item>
    <item>
      <title>Re: Insert new record</title>
      <link>https://www.servicenow.com/community/developer-forum/insert-new-record/m-p/1939780#M596706</link>
      <description>&lt;P&gt;if you have admin role and you have access to see all the data.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;is there already data present in the table or empty?&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 21 Oct 2016 10:50:11 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/insert-new-record/m-p/1939780#M596706</guid>
      <dc:creator>BALAJI40</dc:creator>
      <dc:date>2016-10-21T10:50:11Z</dc:date>
    </item>
    <item>
      <title>Re: Insert new record</title>
      <link>https://www.servicenow.com/community/developer-forum/insert-new-record/m-p/1939781#M596707</link>
      <description>&lt;P&gt;What is the field type of the assessment and category?&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;try with &lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt;gr.assessment_record = current.vendor.&lt;SPAN style="color: #666666; font-family: arial, sans-serif;"&gt;getDisplayValue()&lt;/SPAN&gt;;&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt;gr.category = current.u_it_resource_subtower.&lt;SPAN style="color: #666666; font-family: arial, sans-serif;"&gt;getDisplayValue()&lt;/SPAN&gt;;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 21 Oct 2016 11:05:24 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/insert-new-record/m-p/1939781#M596707</guid>
      <dc:creator>Deepak Kumar5</dc:creator>
      <dc:date>2016-10-21T11:05:24Z</dc:date>
    </item>
    <item>
      <title>Re: Insert new record</title>
      <link>https://www.servicenow.com/community/developer-forum/insert-new-record/m-p/1939782#M596708</link>
      <description>&lt;P&gt;I used getDisplayValue() and setDisplayValue and it worked.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 23 Oct 2016 11:49:35 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/insert-new-record/m-p/1939782#M596708</guid>
      <dc:creator>charanpreet</dc:creator>
      <dc:date>2016-10-23T11:49:35Z</dc:date>
    </item>
    <item>
      <title>Re: Insert new record</title>
      <link>https://www.servicenow.com/community/developer-forum/insert-new-record/m-p/1939783#M596709</link>
      <description>&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt;Please mark my response as correct so that it gets removed from unanswered list and will help others to find the answer quickly.&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;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;If you are viewing this from the community inbox you will not see the correct answer button. You need to open the thread directly and you will see a correct answer button with red star. &amp;nbsp; &amp;nbsp; Please review this &lt;/SPAN&gt;&lt;A title="" _jive_internal="true" data-containerid="2048" data-containertype="14" data-objectid="5601" data-objecttype="102" href="https://www.servicenow.com/community?id=community_article&amp;amp;sys_id=7f1c2e21dbd0dbc01dcaf3231f9619c3" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3778c7;"&gt;How To Mark Answers Correct From Community Inbox&lt;/A&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 23 Oct 2016 12:09:21 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/insert-new-record/m-p/1939783#M596709</guid>
      <dc:creator>Deepak Kumar5</dc:creator>
      <dc:date>2016-10-23T12:09:21Z</dc:date>
    </item>
  </channel>
</rss>

