<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://all.docs.genesys.com/index.php?action=history&amp;feed=atom&amp;title=PEC-DC%2FCurrent%2FAdministrator%2FPII</id>
	<title>PEC-DC/Current/Administrator/PII - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://all.docs.genesys.com/index.php?action=history&amp;feed=atom&amp;title=PEC-DC%2FCurrent%2FAdministrator%2FPII"/>
	<link rel="alternate" type="text/html" href="https://all.docs.genesys.com/index.php?title=PEC-DC/Current/Administrator/PII&amp;action=history"/>
	<updated>2026-04-11T03:22:27Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.1</generator>
	<entry>
		<id>https://all.docs.genesys.com/index.php?title=PEC-DC/Current/Administrator/PII&amp;diff=132229&amp;oldid=prev</id>
		<title>WikiSysop: Created page with &quot;{{Article |Standalone=No |DisplayName=Manage personally identifiable information |TocName=Manage PII |Context=Learn how to assign rules and actions to incoming messages, email...&quot;</title>
		<link rel="alternate" type="text/html" href="https://all.docs.genesys.com/index.php?title=PEC-DC/Current/Administrator/PII&amp;diff=132229&amp;oldid=prev"/>
		<updated>2023-08-07T05:01:01Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Article |Standalone=No |DisplayName=Manage personally identifiable information |TocName=Manage PII |Context=Learn how to assign rules and actions to incoming messages, email...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Article&lt;br /&gt;
|Standalone=No&lt;br /&gt;
|DisplayName=Manage personally identifiable information&lt;br /&gt;
|TocName=Manage PII&lt;br /&gt;
|Context=Learn how to assign rules and actions to incoming messages, emails, and workitems to protect your customers' private information.&lt;br /&gt;
|ComingSoon=No&lt;br /&gt;
|Role=Administrator&lt;br /&gt;
|Application=Designer&lt;br /&gt;
|Section={{Section&lt;br /&gt;
|alignment=Vertical&lt;br /&gt;
|structuredtext=Use PII Rules Management to assign rules to all incoming messages in chat, SMS, WhatsApp, Facebook (private and public messages), Twitter (private and public messages), email, and workitems. These rules use regular expressions to detect private information that you can mask with the replacement text of your choice. For example, you could mask a phone number like this: (###)###-####{{NoteFormat|Privacy rules are not applied to outgoing messages, such as those sent by a Designer application, an agent, or a bot.|}}You can create rules for any alphanumeric string that follows a defined pattern represented by a regular expression. When the rule finds a match, it masks the data with a custom-defined string. Here are some common private fields that you can match with a rule:&lt;br /&gt;
&lt;br /&gt;
*Account number&lt;br /&gt;
*Credit card number&lt;br /&gt;
*Phone number&lt;br /&gt;
*Email address&lt;br /&gt;
*Date of birth&lt;br /&gt;
&lt;br /&gt;
Access PII Rules Management under the '''Privacy''' menu.[[File:Des PII overview2.png]]&lt;br /&gt;
|Status=No&lt;br /&gt;
}}{{Section&lt;br /&gt;
|sectionHeading=Create or edit a rule&lt;br /&gt;
|anchor=Create&lt;br /&gt;
|alignment=Horizontal&lt;br /&gt;
|Media=Image&lt;br /&gt;
|image=Des_PII_new_rule3.png&lt;br /&gt;
|structuredtext=When you create a rule, a '''New Rule''' view opens on the right side of the page. To begin, give your rule a name and a brief description.&lt;br /&gt;
&lt;br /&gt;
Next, choose the types of '''Media''' for which the the rule should apply. Note: The MESSAGING type represents all chat, SMS, and social media messages.&lt;br /&gt;
&lt;br /&gt;
The '''Order''' determines the sequence in which rules are applied to the message, starting with the lowest number. The default is 500, but you can choose any value between 0 and 9999. You can also {{Link-SomewhereInThisVersion|manual=Administrator|topic=PII|anchor=reorder|display text=update the order}} after the rule is saved.&lt;br /&gt;
&lt;br /&gt;
{{NoteFormat|Genesys does not recommend assigning the same order value to multiple rules in the same scope.|}}&lt;br /&gt;
&lt;br /&gt;
Choose when to apply the rule to the message by selecting the '''Scope'''. If you mask the data everywhere inside the system (ALL), then the rule is applied right after the user sends a message during the interaction. The data is permanently removed for the message and can't be retrieved later. '''If the media is an email or workitem, you must choose this option.'''&lt;br /&gt;
&lt;br /&gt;
If you mask for specific cases, then the system treats the data as follows:&lt;br /&gt;
&lt;br /&gt;
*AGENT - The rule is applied when the user's message displays to the agent. The data is saved in the system and can be retrieved later.&lt;br /&gt;
*HISTORY - The rule is applied when the message is saved to the system for historical purposes. With asynchronous messages, personal information in the active segment of communication is only visible to the agents who own the active interaction. Personal information in the previous communication segments is hidden.&lt;br /&gt;
&lt;br /&gt;
The '''Regular Expression''' determines which information to replace in the message. You must use [http://www.ecma-international.org/ecma-262/10.0/index.html#sec-regexp-regular-expression-objects ECMAScript syntax] to define the [[wikipedia:Regular_expression|regular expression]]. The regular expression text area also has a dropdown to set flags for global, multi-line, or case-insensitive searching. &lt;br /&gt;
&lt;br /&gt;
[[File:Des_PII_flags.png]]&lt;br /&gt;
&lt;br /&gt;
The '''Replace with''' string is ***** by default. You can change this value to any pattern that makes sense for your use case. For example, it could be (###)###-#### to mask a phone number. &lt;br /&gt;
&lt;br /&gt;
PII Rules Management also supports {{Link-SomewhereInThisVersion|manual=Administrator|topic=PII|anchor=partial|display text=partial masking}}. &lt;br /&gt;
&lt;br /&gt;
Finally, don't forget to {{Link-SomewhereInThisVersion|manual=Administrator|topic=PII|anchor=test|display text=test your rule}} before saving.&lt;br /&gt;
|Status=No&lt;br /&gt;
}}{{Section&lt;br /&gt;
|sectionHeading=Test a rule&lt;br /&gt;
|anchor=test&lt;br /&gt;
|alignment=Vertical&lt;br /&gt;
|structuredtext=PII Rules Management includes a testing feature you can use to confirm that the rule is working as expected. &lt;br /&gt;
&lt;br /&gt;
To test, open the rule and enter a '''Test message'''. When you click '''Test''', the '''Test result''' field shows how your rule handles the test message. &lt;br /&gt;
&lt;br /&gt;
You can adjust your regular expression and replacement text as needed, just remember to click '''Save''' when you have finished.&lt;br /&gt;
|Status=No&lt;br /&gt;
}}{{Section&lt;br /&gt;
|sectionHeading=Change a rule's status&lt;br /&gt;
|anchor=status&lt;br /&gt;
|alignment=Vertical&lt;br /&gt;
|structuredtext=After you create a rule, you can manage whether it is enabled with the '''Status''' switch ([[File:Des_PII_status.png|link=]]). The switch is off by default, which means the rule is not applied to messages. Any changes to the status take effect immediately.&lt;br /&gt;
|Status=No&lt;br /&gt;
}}{{Section&lt;br /&gt;
|sectionHeading=Reorder a rule&lt;br /&gt;
|anchor=reorder&lt;br /&gt;
|alignment=Vertical&lt;br /&gt;
|structuredtext=After you create a rule, you can change the order in which it is applied. Hover over the '''Order''' cell and increase or decrease the value in increments of 10.&lt;br /&gt;
&lt;br /&gt;
[[File:Des PII order.png|link=https://all.docs.genesys.com/File:Des_PII_order.png]]&lt;br /&gt;
|Status=No&lt;br /&gt;
}}{{Section&lt;br /&gt;
|sectionHeading=Copy a rule&lt;br /&gt;
|anchor=copy&lt;br /&gt;
|alignment=Vertical&lt;br /&gt;
|structuredtext=You can copy an existing rule with the '''Copy''' button ([[File:Des_PII_copy.png|link=]]). This opens the '''New Rule''' view with the copied rule information. The name of the rule includes &amp;quot;_''N''&amp;quot;, where &amp;quot;''N''&amp;quot; is the number of the copy. For example: Rule_1, Rule_2, and so on.&lt;br /&gt;
|Status=No&lt;br /&gt;
}}{{Section&lt;br /&gt;
|sectionHeading=Delete a rule&lt;br /&gt;
|anchor=delete&lt;br /&gt;
|alignment=Vertical&lt;br /&gt;
|structuredtext=To delete a rule, just click the delete icon ([[File:Des_PII_delete.png|link=]]). If you just want to disable the rule temporarily, consider {{Link-SomewhereInThisVersion|manual=Administrator|topic=PII|anchor=status|display text=changing the rule's status}} instead.&lt;br /&gt;
|Status=No&lt;br /&gt;
}}{{Section&lt;br /&gt;
|sectionHeading=Best practices&lt;br /&gt;
|anchor=bestpractices&lt;br /&gt;
|alignment=Vertical&lt;br /&gt;
|structuredtext=Here are some key best practices for managing personally identifiable information:&lt;br /&gt;
&lt;br /&gt;
#Create the minimum number of privacy rules. It's difficult to analyze and maintain many privacy rules.&lt;br /&gt;
#Create the strictest possible regular expressions. For example, if you want to mask a credit card number, make sure you're not masking ''any'' 16-digit number. Your regular expression should be as specific as possible to the data you are masking, such as:&lt;br /&gt;
#*Start with a new word&lt;br /&gt;
#*End a word&lt;br /&gt;
#*Have specific delimiters&lt;br /&gt;
#*Have specific numbers in particular positions&lt;br /&gt;
|Status=No&lt;br /&gt;
}}{{Section&lt;br /&gt;
|sectionHeading=Regular expression examples&lt;br /&gt;
|anchor=regex&lt;br /&gt;
|alignment=Vertical&lt;br /&gt;
|structuredtext=Here are examples of some common regular expressions:&lt;br /&gt;
&lt;br /&gt;
'''Credit Card (Visa and MasterCard only)'''  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;(?:^|(?&amp;lt;=[\D;a-zA-Z(),.:;?!&amp;quot;'`&amp;gt;]))(?:4\d{3}|5[1-5]\d{2}|6011|622[1-9]|64[4-9]\d|65\d{2})[ -.=\n\r]{0,10}\d{4}[ -.=\n\r]{0,10}\d{4}[ -.=\n\r]{0,10}\d{4}(?:$|(?=[\Da-zA-Z(),.:;?!&amp;quot;'`&amp;lt;=&amp;amp;nbsp;]))&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--'''Phone Number (North America)'''&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;(?:^|(?&amp;lt;=[\D;a-zA-Z(),.:;?!&amp;quot;'`&amp;gt;]))(?:\+?1[ -.=\n\r]{0,10})?(?:\(?[2-9][0-9]{2}\)?[ -.=\n\r]{0,10})?[2-9][0-9]{2}[ -.=\n\r]{0,10}[0-9]{4}(?:$|(?=[\Da-zA-Z(),.:;?!&amp;quot;'`&amp;lt;=&amp;amp;nbsp;]))&amp;lt;/source&amp;gt;--&amp;gt;&lt;br /&gt;
'''SSN (Social Security Number - U.S. only)'''&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;(?:^|(?&amp;lt;=[\D;a-zA-Z(),.:;?!&amp;quot;'`&amp;gt;]))(?!000|666|9)\d{3}[ -.=\n\r]{0,10}(?!00)\d{2}[ -.=\n\r]{0,10}(?!0000)\d{4}(?:$|(?=[\Da-zA-Z(),.:;?!&amp;quot;'`&amp;lt;=&amp;amp;nbsp;]))&amp;lt;/source&amp;gt;&lt;br /&gt;
|Status=No&lt;br /&gt;
}}{{Section&lt;br /&gt;
|sectionHeading=Partial masking&lt;br /&gt;
|anchor=partial&lt;br /&gt;
|alignment=Horizontal&lt;br /&gt;
|Media=Image&lt;br /&gt;
|image=Des_PII_partial.png&lt;br /&gt;
|AltText=Partially mask sensitive data using capturing groups.&lt;br /&gt;
|structuredtext=You can partially mask sensitive information by using capturing groups in your regex. Use $&amp;lt;group-index&amp;gt; in the '''Replace with''' field for any group you want to exclude from the mask.&lt;br /&gt;
&lt;br /&gt;
To exclude more than one capturing group, each subsequent group must have at least one replacement symbol before the group in the '''Replace with''' field.&lt;br /&gt;
|Status=No&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>WikiSysop</name></author>
		
	</entry>
</feed>