<?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 Allowing End User to enter data into an Encrypted Field in ServiceNow AI Platform forum</title>
    <link>https://www.servicenow.com/community/servicenow-ai-platform-forum/allowing-end-user-to-enter-data-into-an-encrypted-field/m-p/1167101#M123490</link>
    <description>&lt;P&gt;I have an encrypted text field on the Incident form that captures sensitive information about the user. The Encryption Context has been applied to the itil role, so all ITIL users have access to the field and data. That part works fine. But the customer wants to expose this field on the portal, to allow an end user the ability to enter the sensitive information for their own incident. I don't believe this is possible, (at least not directly to that field). I did try creating a separate text field, put that on the portal view, then created a BR that pushes the value from the text field to the encrypted field. But this doesn't appear to digest well. Has anyone ran across this before and do you have a solution?&lt;/P&gt;</description>
    <pubDate>Fri, 10 Feb 2017 13:49:07 GMT</pubDate>
    <dc:creator>ron_tavares</dc:creator>
    <dc:date>2017-02-10T13:49:07Z</dc:date>
    <item>
      <title>Allowing End User to enter data into an Encrypted Field</title>
      <link>https://www.servicenow.com/community/servicenow-ai-platform-forum/allowing-end-user-to-enter-data-into-an-encrypted-field/m-p/1167101#M123490</link>
      <description>&lt;P&gt;I have an encrypted text field on the Incident form that captures sensitive information about the user. The Encryption Context has been applied to the itil role, so all ITIL users have access to the field and data. That part works fine. But the customer wants to expose this field on the portal, to allow an end user the ability to enter the sensitive information for their own incident. I don't believe this is possible, (at least not directly to that field). I did try creating a separate text field, put that on the portal view, then created a BR that pushes the value from the text field to the encrypted field. But this doesn't appear to digest well. Has anyone ran across this before and do you have a solution?&lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2017 13:49:07 GMT</pubDate>
      <guid>https://www.servicenow.com/community/servicenow-ai-platform-forum/allowing-end-user-to-enter-data-into-an-encrypted-field/m-p/1167101#M123490</guid>
      <dc:creator>ron_tavares</dc:creator>
      <dc:date>2017-02-10T13:49:07Z</dc:date>
    </item>
    <item>
      <title>Re: Allowing End User to enter data into an Encrypted Field</title>
      <link>https://www.servicenow.com/community/servicenow-ai-platform-forum/allowing-end-user-to-enter-data-into-an-encrypted-field/m-p/1167102#M123491</link>
      <description>&lt;P&gt;The business rule will not be able to set the encrypted text field, because the business rule still runs in the context of a user who doesn't have an encryption context.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Now, this is definitely possible, and we did this for a (very) large system because we _had_ to. I'll talk about this complex solution below, and if you think if want to go that route, give you the code.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;1. Create a separate text field ( which is already done) on the table( let's assume the table to be incident)&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;2. Create an admin user, and give him that encryption context&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;3. In the business rule, instead of setting the field directly like you are doing now, you must:&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 3.1. Call the update function on Incident using the REST/SOAP API of the Incident table. &lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 3.2 Authenticate using the new user you just created in step 2&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 3.3 Set the encrypted field.&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 works because, when you authenticate using the admin user who has encryption context, the system will update the record. I actually built an entire fullblown framework over this idea as we had the need to work with sensitive data ( SSNs ) etc...&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 10 Feb 2017 14:33:07 GMT</pubDate>
      <guid>https://www.servicenow.com/community/servicenow-ai-platform-forum/allowing-end-user-to-enter-data-into-an-encrypted-field/m-p/1167102#M123491</guid>
      <dc:creator>adiddigi</dc:creator>
      <dc:date>2017-02-10T14:33:07Z</dc:date>
    </item>
    <item>
      <title>Re: Allowing End User to enter data into an Encrypted Field</title>
      <link>https://www.servicenow.com/community/servicenow-ai-platform-forum/allowing-end-user-to-enter-data-into-an-encrypted-field/m-p/1167103#M123492</link>
      <description>&lt;P&gt;Hi Abhiram,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;I have same requirement in my project. Can you please share the code you used.&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;Sadaf&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 12 Jun 2017 17:06:48 GMT</pubDate>
      <guid>https://www.servicenow.com/community/servicenow-ai-platform-forum/allowing-end-user-to-enter-data-into-an-encrypted-field/m-p/1167103#M123492</guid>
      <dc:creator>khadim</dc:creator>
      <dc:date>2017-06-12T17:06:48Z</dc:date>
    </item>
    <item>
      <title>Re: Allowing End User to enter data into an Encrypted Field</title>
      <link>https://www.servicenow.com/community/servicenow-ai-platform-forum/allowing-end-user-to-enter-data-into-an-encrypted-field/m-p/1167104#M123493</link>
      <description>&lt;P&gt;Hello Abhiram , any chance you would be willing to share your code for this? &amp;nbsp; I'm currently working my way through the same problem&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 11 Oct 2017 03:36:45 GMT</pubDate>
      <guid>https://www.servicenow.com/community/servicenow-ai-platform-forum/allowing-end-user-to-enter-data-into-an-encrypted-field/m-p/1167104#M123493</guid>
      <dc:creator>jeffp</dc:creator>
      <dc:date>2017-10-11T03:36:45Z</dc:date>
    </item>
    <item>
      <title>Re: Allowing End User to enter data into an Encrypted Field</title>
      <link>https://www.servicenow.com/community/servicenow-ai-platform-forum/allowing-end-user-to-enter-data-into-an-encrypted-field/m-p/1167105#M123494</link>
      <description>&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt;Hi Abhiram,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;I am looking to get pii (DOB &amp;amp; SSN) from end users and then update their related sys_user record all while encrypting it with a context the end user does not have.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;It reads like you are using a rest call to update the record, however I am having issues. &amp;nbsp; It looks like when I do a rest update I don't get any associated encryption context on the field. &amp;nbsp; The user making the call had the context and is able to update the record from the UI with encryption. &amp;nbsp; &lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;If you could provide your code, I believe it would help me better understand how you solutioned this issue.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Robb&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 23 Oct 2017 16:23:21 GMT</pubDate>
      <guid>https://www.servicenow.com/community/servicenow-ai-platform-forum/allowing-end-user-to-enter-data-into-an-encrypted-field/m-p/1167105#M123494</guid>
      <dc:creator>robert_merriman</dc:creator>
      <dc:date>2017-10-23T16:23:21Z</dc:date>
    </item>
    <item>
      <title>Re: Allowing End User to enter data into an Encrypted Field</title>
      <link>https://www.servicenow.com/community/servicenow-ai-platform-forum/allowing-end-user-to-enter-data-into-an-encrypted-field/m-p/1167106#M123495</link>
      <description>&lt;P&gt;Hey folks - I finally found sometime to write about it here. I hope you guys find it helpful. Let me know. &lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;A href="http://www.servicenowdiary.com/2017/10/28/A-Hack-To-Update-Encrypted-Fields.html" title="http://www.servicenowdiary.com/2017/10/28/A-Hack-To-Update-Encrypted-Fields.html"&gt;A Hack To Update Encrypted Fields&lt;/A&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 29 Oct 2017 23:30:50 GMT</pubDate>
      <guid>https://www.servicenow.com/community/servicenow-ai-platform-forum/allowing-end-user-to-enter-data-into-an-encrypted-field/m-p/1167106#M123495</guid>
      <dc:creator>adiddigi</dc:creator>
      <dc:date>2017-10-29T23:30:50Z</dc:date>
    </item>
    <item>
      <title>Re: Allowing End User to enter data into an Encrypted Field</title>
      <link>https://www.servicenow.com/community/servicenow-ai-platform-forum/allowing-end-user-to-enter-data-into-an-encrypted-field/m-p/1167107#M123496</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Link provided is not working. I have same scenario, Other tool is pushing some PII data via scripted REST API.In HR Profile table we have those fields encrypted.Can you please provide some insights how you handled it?&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Madhavi&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jul 2020 06:00:04 GMT</pubDate>
      <guid>https://www.servicenow.com/community/servicenow-ai-platform-forum/allowing-end-user-to-enter-data-into-an-encrypted-field/m-p/1167107#M123496</guid>
      <dc:creator>madhvi</dc:creator>
      <dc:date>2020-07-22T06:00:04Z</dc:date>
    </item>
    <item>
      <title>Re: Allowing End User to enter data into an Encrypted Field</title>
      <link>https://www.servicenow.com/community/servicenow-ai-platform-forum/allowing-end-user-to-enter-data-into-an-encrypted-field/m-p/1167108#M123497</link>
      <description>&lt;P&gt;I would also love to have this script if possible.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jul 2020 00:36:26 GMT</pubDate>
      <guid>https://www.servicenow.com/community/servicenow-ai-platform-forum/allowing-end-user-to-enter-data-into-an-encrypted-field/m-p/1167108#M123497</guid>
      <dc:creator>Marouane M</dc:creator>
      <dc:date>2020-07-23T00:36:26Z</dc:date>
    </item>
  </channel>
</rss>

