<?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-ES%2FCurrent%2FAdministrator%2FFCanatomy</id>
	<title>PEC-ES/Current/Administrator/FCanatomy - 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-ES%2FCurrent%2FAdministrator%2FFCanatomy"/>
	<link rel="alternate" type="text/html" href="https://all.docs.genesys.com/index.php?title=PEC-ES/Current/Administrator/FCanatomy&amp;action=history"/>
	<updated>2026-04-06T19:46:41Z</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-ES/Current/Administrator/FCanatomy&amp;diff=58314&amp;oldid=prev</id>
		<title>WikiSysop: Text replacement - &quot;\|Platform=([^\|]*)GenesysEngage-onpremises([\|]*)&quot; to &quot;|Platform=$1GenesysEngage-cloud$2&quot;</title>
		<link rel="alternate" type="text/html" href="https://all.docs.genesys.com/index.php?title=PEC-ES/Current/Administrator/FCanatomy&amp;diff=58314&amp;oldid=prev"/>
		<updated>2020-07-25T02:30:49Z</updated>

		<summary type="html">&lt;p&gt;Text replacement - &amp;quot;\|Platform=([^\|]*)GenesysEngage-onpremises([\|]*)&amp;quot; to &amp;quot;|Platform=$1GenesysEngage-cloud$2&amp;quot;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 02:30, July 25, 2020&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l5&quot; &gt;Line 5:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 5:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|Context=View formula usage in field codes.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|Context=View formula usage in field codes.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|ComingSoon=No&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|ComingSoon=No&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|Platform=GenesysEngage-&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;onpremises&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|Platform=GenesysEngage-&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;cloud&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|Role=Administrator&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|Role=Administrator&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|Application=Platform Administration&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|Application=Platform Administration&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>WikiSysop</name></author>
		
	</entry>
	<entry>
		<id>https://all.docs.genesys.com/index.php?title=PEC-ES/Current/Administrator/FCanatomy&amp;diff=51999&amp;oldid=prev</id>
		<title>WikiSysop: Text replacement - &quot;\|Platforms?=([^\|]*)PureEngage([\|]*)&quot; to &quot;|Platform=$1GenesysEngage-onpremises$2&quot;</title>
		<link rel="alternate" type="text/html" href="https://all.docs.genesys.com/index.php?title=PEC-ES/Current/Administrator/FCanatomy&amp;diff=51999&amp;oldid=prev"/>
		<updated>2020-07-15T11:44:56Z</updated>

		<summary type="html">&lt;p&gt;Text replacement - &amp;quot;\|Platforms?=([^\|]*)PureEngage([\|]*)&amp;quot; to &amp;quot;|Platform=$1GenesysEngage-onpremises$2&amp;quot;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 11:44, July 15, 2020&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l5&quot; &gt;Line 5:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 5:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|Context=View formula usage in field codes.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|Context=View formula usage in field codes.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|ComingSoon=No&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|ComingSoon=No&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|Platform=&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;PureEngage&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|Platform=&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;GenesysEngage-onpremises&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|Role=Administrator&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|Role=Administrator&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|Application=Platform Administration&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|Application=Platform Administration&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>WikiSysop</name></author>
		
	</entry>
	<entry>
		<id>https://all.docs.genesys.com/index.php?title=PEC-ES/Current/Administrator/FCanatomy&amp;diff=44712&amp;oldid=prev</id>
		<title>Bgrenon: Published</title>
		<link rel="alternate" type="text/html" href="https://all.docs.genesys.com/index.php?title=PEC-ES/Current/Administrator/FCanatomy&amp;diff=44712&amp;oldid=prev"/>
		<updated>2020-06-08T14:36:21Z</updated>

		<summary type="html">&lt;p&gt;Published&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=Using Formulas in Field Codes&lt;br /&gt;
|TocName=Using Formulas in Field Codes&lt;br /&gt;
|Context=View formula usage in field codes.&lt;br /&gt;
|ComingSoon=No&lt;br /&gt;
|Platform=PureEngage&lt;br /&gt;
|Role=Administrator&lt;br /&gt;
|Application=Platform Administration&lt;br /&gt;
|Section={{Section&lt;br /&gt;
|alignment=Vertical&lt;br /&gt;
|structuredtext=In addition to system variables such as &amp;lt;tt&amp;gt;Contact.FirstName,&amp;lt;/tt&amp;gt; field codes may contain formulas. This section provides an outline of formula usage. Details on many of these topics are provided in the  [https://docs.genesys.com/Documentation:ES:FldCod:welcome:latest Genesys eServices Field Codes Reference Manual].&lt;br /&gt;
&lt;br /&gt;
You must always delimit field codes by using &amp;lt;tt&amp;gt;&amp;lt;$ … $&amp;gt;.&amp;lt;/tt&amp;gt; If you type a field code directly into the body of a standard response, then you must enter the delimiters yourself. If you select from the list of field codes in eServices Manager, then the delimiters are added automatically.&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The text that appears inside the delimiters is a formula. Field code formulas are very similar to formulas in other applications, such as Microsoft Excel.&lt;br /&gt;
&lt;br /&gt;
A ''formula'' is a sequence of one or more operands (such as numbers and text strings), separated by operators (such as &amp;lt;tt&amp;gt;+&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;-&amp;lt;/tt&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
For example, in the following formula, &amp;lt;tt&amp;gt;2&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;3&amp;lt;/tt&amp;gt; are operands and &amp;lt;tt&amp;gt;+&amp;lt;/tt&amp;gt; is an operator:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;$2 + 3$&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
:&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Operands can be values that do not change (constants), or values that vary based on the context. In the previous formula, all the operands are constants, so the formula always evaluates to &amp;lt;tt&amp;gt;5.&amp;lt;/tt&amp;gt; The next formula, on the other hand, evaluates to a different value for each agent who uses it:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;$Agent.Signature$&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
:&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Field Code Syntax===&lt;br /&gt;
To summarize field code syntax:&lt;br /&gt;
&lt;br /&gt;
*A field code must be delimited by &amp;lt;tt&amp;gt;&amp;lt;$ ... $&amp;gt;.&amp;lt;/tt&amp;gt;&lt;br /&gt;
*Alphabetic strings, whether constants in formulas or elsewhere in a field code, must be enclosed in double quotes.&lt;br /&gt;
*Numeric constants require no special treatment.&lt;br /&gt;
*You must use special characters for some purposes. For example, for your field code to render with a line break, you cannot simply type a carriage return. Instead, you must insert the expression &amp;lt;tt&amp;gt;\n.&amp;lt;/tt&amp;gt; [https://docs.genesys.com/Documentation:ES:FldCod:DatTyp:8.1.4#String A list of these special characters] is available.&lt;br /&gt;
&lt;br /&gt;
===HTML in Field Codes===&lt;br /&gt;
With special configuration, field codes can contain HTML markup; for example, you could have a field code &amp;amp;lt;$my.agent.signature$&amp;amp;gt; defined as&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Sam Agent&amp;lt;BR /&amp;gt;&lt;br /&gt;
Acme Products&amp;lt;BR /&amp;gt;&lt;br /&gt;
29 Exterior Blvd&amp;lt;BR /&amp;gt;&lt;br /&gt;
Springfield, CX 09090&amp;lt;BR /&amp;gt; &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
To enable this, you must use the Java property &amp;lt;tt&amp;gt;-Dsrl-field-code-allow-html=true,&amp;lt;/tt&amp;gt; in one of the following ways:&lt;br /&gt;
&lt;br /&gt;
*Add it to the &amp;lt;tt&amp;gt;JavaArgs&amp;lt;/tt&amp;gt; section of &amp;lt;tt&amp;gt;ContactServerDriver.ini&amp;lt;/tt&amp;gt;&lt;br /&gt;
*Add it as an argument to the startup command line in &amp;lt;tt&amp;gt;contactServer.sh.&amp;lt;/tt&amp;gt;&lt;br /&gt;
|Status=No&lt;br /&gt;
}}{{Section&lt;br /&gt;
|sectionHeading=Operator Precedence&lt;br /&gt;
|anchor=OperatorPrecedence&lt;br /&gt;
|alignment=Vertical&lt;br /&gt;
|structuredtext=If you use more than one operator in a formula, the order in which they are evaluated depends on their relative ''precedence'' (higher precedence operators are evaluated first). For example, multiplication (&amp;lt;tt&amp;gt;*&amp;lt;/tt&amp;gt;) has a higher precedence than addition (&amp;lt;tt&amp;gt;+&amp;lt;/tt&amp;gt; ), so that the formula below evaluates to &amp;lt;tt&amp;gt;14,&amp;lt;/tt&amp;gt; not &amp;lt;tt&amp;gt;20:&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;$2 + 3 * 4$&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
:&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can use parentheses to override the default precedence. The formula below evaluates to &amp;lt;tt&amp;gt;20:&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;$(2 + 3) * 4$&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
:&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For a complete list of operators and their relative precedence, see &amp;quot;[https://docs.genesys.com/Documentation:ES:FldCod:OpePre:latest Operator Precedence]” in  the  [https://docs.genesys.com/Documentation:ES:FldCod:welcome:latest Genesys eServices Field Codes Reference Manual].&lt;br /&gt;
&lt;br /&gt;
===Data Types===&lt;br /&gt;
Operands of several different types may appear in formulas:&lt;br /&gt;
&lt;br /&gt;
*Number&lt;br /&gt;
*String (text)&lt;br /&gt;
*Date/time&lt;br /&gt;
*Boolean (true/false)&lt;br /&gt;
*Object (Contact, Interaction, and Agent)&lt;br /&gt;
&lt;br /&gt;
Each data type behaves differently in formulas, and the operators have different meanings when you use them with different data types. For example, the &amp;lt;tt&amp;gt;+&amp;lt;/tt&amp;gt; operator means “add” when used with numbers, but “concatenate” (paste together) when used with strings. This formula evaluates to ''Uncle Sam Wants You'':&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;$&amp;quot;Uncle Sam &amp;quot; + &amp;quot;Wants You&amp;quot;$&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
:&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In addition, some operators cannot be used with some data types at all. For example, you cannot use the multiplication (&amp;lt;tt&amp;gt;*&amp;lt;/tt&amp;gt;) operator on two strings.&lt;br /&gt;
&lt;br /&gt;
All formulas, regardless of their final data type, are converted to strings before being merged into your standard response. This conversion follows a set of default rules that depend on the data type. For example, the default rules for numbers round them off to integers. This formula causes &amp;lt;tt&amp;gt;2&amp;lt;/tt&amp;gt; to be inserted into your standard response, even though the real result is &amp;lt;tt&amp;gt;2.25:&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;$9 / 4$&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
:&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can use the &amp;lt;tt&amp;gt;Text&amp;lt;/tt&amp;gt; function (see below) or &amp;lt;tt&amp;gt;format operator&amp;lt;/tt&amp;gt;:) to override the default formatting. Either of the following formulas inserts &amp;lt;tt&amp;gt;2.25&amp;lt;/tt&amp;gt; into your standard response:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;$Text(9 / 4, &amp;quot;#.##&amp;quot;)$&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;$(9 / 4):&amp;quot;#.##&amp;quot;$&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
:&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For a detailed list of data types and how you can use them, see &amp;quot;[https://docs.genesys.com/Documentation:ES:FldCod:DatTyp:latest Data Types]” in  the  [https://docs.genesys.com/Documentation:ES:FldCod:welcome:latest Genesys eServices Field Codes Reference Manual]..&lt;br /&gt;
|Status=No&lt;br /&gt;
}}{{Section&lt;br /&gt;
|sectionHeading=Functions&lt;br /&gt;
|anchor=Functions&lt;br /&gt;
|alignment=Vertical&lt;br /&gt;
|structuredtext=When composing formulas, you can use many built-in functions. ''Functions'' are predefined formulas that perform calculations using values, called ''arguments,'' which you supply. To use a function, write its name, followed by an opening parenthesis, the arguments for the function separated by commas, and a closing parenthesis.&lt;br /&gt;
&lt;br /&gt;
Function arguments may be of any data type, although individual functions may place restrictions on their arguments. Function arguments may be constants or formulas. The &amp;lt;tt&amp;gt;Length&amp;lt;/tt&amp;gt; function, for example, takes a single string argument and returns its length in characters. This formula evaluates to &amp;lt;tt&amp;gt;13:&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;$Length(&amp;quot;Hello, world!&amp;quot;)$&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
:&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As another example, the &amp;lt;tt&amp;gt;Date&amp;lt;/tt&amp;gt; function takes individual date components (year, month, day, and so on), and constructs a date/time value. The formula below evaluates to &amp;lt;tt&amp;gt;1965-11-23 09:03:10:&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;$Date(1965, 11, 23, 9, 3, 10)$&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
:&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Functions may act as arguments to other functions. The &amp;lt;tt&amp;gt;WeekdayName&amp;lt;/tt&amp;gt; function takes a single date/time argument and returns the day of the week as a string. The formula below evaluates to &amp;lt;tt&amp;gt;Tuesday:&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;$WeekdayName(Date(1965, 11, 23, 9, 3, 10))$&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
:&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This formula evaluates to &amp;lt;tt&amp;gt;7:&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;$Length(WeekdayName(Date(1965, 11, 23, 9, 3, 10))$&amp;gt;)&amp;lt;/tt&amp;gt;&lt;br /&gt;
:&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For detailed descriptions of all available functions, see &amp;quot;[https://docs.genesys.com/Documentation:ES:FldCod:Fun:latest Functions]” in  the  [https://docs.genesys.com/Documentation:ES:FldCod:welcome:latest Genesys eServices Field Codes Reference Manual].&lt;br /&gt;
&lt;br /&gt;
===Using Objects===&lt;br /&gt;
All object/property pairs are also available in the &amp;lt;tt&amp;gt;Variables&amp;lt;/tt&amp;gt; drop-down menu in the Knowledge Manager &amp;lt;tt&amp;gt;Field Code Editor.&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Object properties can be of any data type. &amp;lt;tt&amp;gt;Agent.FullName,&amp;lt;/tt&amp;gt; for example, is a string, but &amp;lt;tt&amp;gt;Interaction.DateCreated&amp;lt;/tt&amp;gt; is a date/time.&lt;br /&gt;
&lt;br /&gt;
The data type of an object property can even be another object. For example, &amp;lt;tt&amp;gt;Contact.EmailAddresses&amp;lt;/tt&amp;gt; yields another object called a &amp;lt;tt&amp;gt;ContactEmailAddressList.&amp;lt;/tt&amp;gt; In cases such as this, you can access the properties of the resulting object by entering a period (.), followed by the property name, just as before. For example, the formula below evaluates to the number of e-mail addresses assigned to the contact:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;$Contact.EmailAddresses.Count$&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
:&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Some object properties require arguments just as functions do. For these properties, write the arguments, enclosed in parentheses after the property name, just as before. &lt;br /&gt;
&lt;br /&gt;
For example, the ContactEmailAddressList object has a property named &amp;lt;tt&amp;gt;Exists,&amp;lt;/tt&amp;gt; which you can use to test whether a particular e-mail address is assigned to a contact. The data type of this property is Boolean (true/false), and it takes one argument, the e-mail address to test. For example:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;$Contact.EmailAddresses.Exists(&amp;quot;samd@acme.com&amp;quot;)$&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
:&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For detailed descriptions of all objects and their properties, see &amp;quot;[https://docs.genesys.com/Documentation:ES:FldCod:Obj:latest Objects]” in  the  [https://docs.genesys.com/Documentation:ES:FldCod:welcome:latest Genesys eServices Field Codes Reference Manual].&lt;br /&gt;
|Status=No&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Bgrenon</name></author>
		
	</entry>
</feed>