<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Build an Application: Step-by-Step #8 Exercise to Accompany Interfaces 101</title><link>https://community.appian.com/discussions/f/user-interface/38803/build-an-application-step-by-step-8-exercise-to-accompany-interfaces-101</link><description>I am unable to execute &amp;quot;Step-by-Step #8 Exercise to Accompany Interfaces 101&amp;quot; because the W_W1731SAVehicleSummary interface displays the following message: 
 Could not display interface. Please check definition and inputs. Interface Definition: Expression</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Build an Application: Step-by-Step #8 Exercise to Accompany Interfaces 101</title><link>https://community.appian.com/thread/147606?ContentTypeID=1</link><pubDate>Mon, 28 Apr 2025 15:29:30 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3600abe5-15e7-4081-ab90-1eda82bd7937</guid><dc:creator>stepehenl826500</dc:creator><description>&lt;p&gt;I also got a similar problem.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;My errors were on lines 355 and 483&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;It may be that I was messing around with something, or versions changed&amp;nbsp;but got a error for &amp;quot;a!gridField&amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#ff6600;"&gt;&amp;quot;Interface Definition: Expression evaluation error at function a!gridField [line 335]: A grid component [label="Maintenance"] has an invalid value for &amp;quot;columns&amp;quot;. A grid column [label="Created"] has encountered an error. Expression evaluation error at function &amp;#39;user&amp;#39; [line 463]: [InvalidUserException]&amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!headerContentLayout(
  contents: {
    a!columnsLayout(
      columns: {
        a!columnLayout(
          showWhen: a!isPageWidth({ &amp;quot;DESKTOP&amp;quot;, &amp;quot;DESKTOP_WIDE&amp;quot; }),
          contents: {}
        ),
        a!columnLayout(
          width: &amp;quot;WIDE&amp;quot;,
          contents: {
            a!sectionLayout(
              label: &amp;quot;Details&amp;quot;,
              labelSize: &amp;quot;MEDIUM&amp;quot;,
              labelColor: &amp;quot;STANDARD&amp;quot;,
              contents: {
                a!cardLayout(
                  contents: {
                    a!columnsLayout(
                      columns: {
                        a!columnLayout(
                          contents: {
                            a!richTextDisplayField(
                              label: &amp;quot;Make&amp;quot;,
                              value: {
                                a!defaultValue(
                                  ri!record[&amp;#39;recordType!{e398ddee-7860-456b-9ed4-7a29735217bd}W1723SA Vehicle.fields.{ba6e0fe6-4a7b-42b1-9270-59b975a99a55}make&amp;#39;],
                                  &amp;quot;–&amp;quot;
                                )
                              }
                            )
                          }
                        ),
                        a!columnLayout(
                          contents: {
                            a!richTextDisplayField(
                              label: &amp;quot;Model&amp;quot;,
                              value: {
                                a!defaultValue(
                                  ri!record[&amp;#39;recordType!{e398ddee-7860-456b-9ed4-7a29735217bd}W1723SA Vehicle.fields.{e67f4174-c11b-4415-af79-f4562ed79ed3}model&amp;#39;],
                                  &amp;quot;–&amp;quot;
                                )
                              }
                            )
                          }
                        ),
                        a!columnLayout(
                          contents: {
                            a!richTextDisplayField(
                              label: &amp;quot;Color&amp;quot;,
                              value: {
                                a!defaultValue(
                                  ri!record[&amp;#39;recordType!{e398ddee-7860-456b-9ed4-7a29735217bd}W1723SA Vehicle.fields.{3b6a9c52-9e2e-4091-ba6d-ed61aa32f5a7}color&amp;#39;],
                                  &amp;quot;–&amp;quot;
                                )
                              }
                            )
                          }
                        )
                      }
                    ),
                    a!columnsLayout(
                      columns: {
                        a!columnLayout(
                          contents: {
                            a!richTextDisplayField(
                              label: &amp;quot;Vehicle Condition&amp;quot;,
                              value: {
                                a!defaultValue(
                                  ri!record[&amp;#39;recordType!{e398ddee-7860-456b-9ed4-7a29735217bd}W1723SA Vehicle.relationships.{c398cf16-a0e7-47ec-8e7d-0b243fe100d1}vehicleCondition.fields.{374df96f-5bb5-4f8b-aafe-d86f8b3b00ee-w1723aa}value&amp;#39;],
                                  &amp;quot;–&amp;quot;
                                )
                              }
                            )
                          }
                        ),
                        a!columnLayout(
                          contents: {
                            a!richTextDisplayField(
                              label: &amp;quot;Vehicle Status&amp;quot;,
                              value: {
                                a!defaultValue(
                                  ri!record[&amp;#39;recordType!{e398ddee-7860-456b-9ed4-7a29735217bd}W1723SA Vehicle.relationships.{c8ec3169-403c-42e1-b687-ba64fb471d78}vehicleStatus.fields.{ba580c3e-2697-4c62-919b-db8a9d440572-w1723aa}value&amp;#39;],
                                  &amp;quot;–&amp;quot;
                                )
                              }
                            )
                          }
                        ),
                        a!columnLayout(
                          contents: {
                            a!richTextDisplayField(
                              label: &amp;quot;Vehicle Category&amp;quot;,
                              value: {
                                a!defaultValue(
                                  ri!record[&amp;#39;recordType!{e398ddee-7860-456b-9ed4-7a29735217bd}W1723SA Vehicle.relationships.{3dd9f56a-7dd2-4cbf-86fd-76cf41083399}vehicleCategory.fields.{8587ac12-bc92-4a00-bad1-20d227b29766-w1723aa}value&amp;#39;],
                                  &amp;quot;–&amp;quot;
                                )
                              }
                            )
                          }
                        )
                      },
                      marginAbove: &amp;quot;STANDARD&amp;quot;
                    ),
                    a!columnsLayout(
                      columns: {
                        a!columnLayout(
                          contents: {
                            a!richTextDisplayField(
                              label: &amp;quot;Mileage&amp;quot;,
                              value: {
                                a!defaultValue(
                                  ri!record[&amp;#39;recordType!{e398ddee-7860-456b-9ed4-7a29735217bd}W1723SA Vehicle.fields.{8e8a26a1-2666-431b-a7d8-a0fe45254662}mileage&amp;#39;],
                                  &amp;quot;–&amp;quot;
                                )
                              }
                            )
                          }
                        ),
                        a!columnLayout(
                          contents: {
                            a!richTextDisplayField(
                              label: &amp;quot;Year&amp;quot;,
                              value: {
                                a!defaultValue(
                                  ri!record[&amp;#39;recordType!{e398ddee-7860-456b-9ed4-7a29735217bd}W1723SA Vehicle.fields.{1195975c-0ce7-4529-93eb-868e2dc36803}year&amp;#39;],
                                  &amp;quot;–&amp;quot;
                                )
                              }
                            )
                          }
                        ),
                        a!columnLayout(
                          contents: {
                            a!richTextDisplayField(
                              label: &amp;quot;Last Maintenance Date&amp;quot;,
                              value: {
                                if(
                                  isnull(
                                    ri!record[&amp;#39;recordType!{e398ddee-7860-456b-9ed4-7a29735217bd}W1723SA Vehicle.fields.{f52b1860-5535-4e60-9b4d-57fa87f15a63}lastMaintenanceDate&amp;#39;]
                                  ),
                                  &amp;quot;–&amp;quot;,
                                  {
                                    a!richTextIcon(
                                      icon: &amp;quot;calendar&amp;quot;,
                                      color: &amp;quot;SECONDARY&amp;quot;
                                    ),
                                    &amp;quot; &amp;quot;,
                                    a!richTextItem(
                                      text: text(
                                        ri!record[&amp;#39;recordType!{e398ddee-7860-456b-9ed4-7a29735217bd}W1723SA Vehicle.fields.{f52b1860-5535-4e60-9b4d-57fa87f15a63}lastMaintenanceDate&amp;#39;],
                                        &amp;quot;mmmm d, yyyy&amp;quot;
                                      )
                                    )
                                  }
                                )
                              }
                            )
                          }
                        )
                      },
                      marginAbove: &amp;quot;STANDARD&amp;quot;
                    ),
                    a!columnsLayout(
                      columns: {
                        a!columnLayout(
                          contents: {
                            a!richTextDisplayField(
                              label: &amp;quot;Next Maintenance Date&amp;quot;,
                              value: {
                                if(
                                  isnull(
                                    ri!record[&amp;#39;recordType!{e398ddee-7860-456b-9ed4-7a29735217bd}W1723SA Vehicle.fields.{e2239d09-3a42-4185-95b9-047b9ee9887c}nextMaintenanceDate&amp;#39;]
                                  ),
                                  &amp;quot;–&amp;quot;,
                                  {
                                    a!richTextIcon(
                                      icon: &amp;quot;calendar&amp;quot;,
                                      color: &amp;quot;SECONDARY&amp;quot;
                                    ),
                                    &amp;quot; &amp;quot;,
                                    a!richTextItem(
                                      text: text(
                                        ri!record[&amp;#39;recordType!{e398ddee-7860-456b-9ed4-7a29735217bd}W1723SA Vehicle.fields.{e2239d09-3a42-4185-95b9-047b9ee9887c}nextMaintenanceDate&amp;#39;],
                                        &amp;quot;mmmm d, yyyy&amp;quot;
                                      )
                                    )
                                  }
                                )
                              }
                            )
                          }
                        ),
                        a!columnLayout(
                          contents: {
                            a!richTextDisplayField(
                              label: &amp;quot;Image&amp;quot;,
                              value: {
                                a!defaultValue(
                                  ri!record[&amp;#39;recordType!{e398ddee-7860-456b-9ed4-7a29735217bd}W1723SA Vehicle.fields.{26cc839e-6b1c-4e1b-8a68-1b0345566608}image&amp;#39;],
                                  &amp;quot;–&amp;quot;
                                )
                              }
                            )
                          }
                        ),
                        a!columnLayout(
                          contents: {
                            a!richTextDisplayField(
                              label: &amp;quot;Added On&amp;quot;,
                              value: {
                                if(
                                  isnull(
                                    ri!record[&amp;#39;recordType!{e398ddee-7860-456b-9ed4-7a29735217bd}W1723SA Vehicle.fields.{2a25f368-3dce-4251-b39d-e230b4fec16c}addedOn&amp;#39;]
                                  ),
                                  &amp;quot;–&amp;quot;,
                                  {
                                    a!richTextIcon(
                                      icon: &amp;quot;calendar&amp;quot;,
                                      color: &amp;quot;SECONDARY&amp;quot;
                                    ),
                                    &amp;quot; &amp;quot;,
                                    a!richTextItem(
                                      text: text(
                                        ri!record[&amp;#39;recordType!{e398ddee-7860-456b-9ed4-7a29735217bd}W1723SA Vehicle.fields.{2a25f368-3dce-4251-b39d-e230b4fec16c}addedOn&amp;#39;],
                                        &amp;quot;mmmm d, yyyy&amp;quot;
                                      )
                                    )
                                  }
                                )
                              }
                            )
                          }
                        )
                      },
                      marginAbove: &amp;quot;STANDARD&amp;quot;
                    ),
                    a!columnsLayout(
                      columns: {
                        a!columnLayout(
                          contents: {
                            a!richTextDisplayField(
                              label: &amp;quot;Modified On&amp;quot;,
                              value: {
                                if(
                                  isnull(
                                    ri!record[&amp;#39;recordType!{e398ddee-7860-456b-9ed4-7a29735217bd}W1723SA Vehicle.fields.{7a484c31-86d5-4f60-9f07-09f407f6a454}modifiedOn&amp;#39;]
                                  ),
                                  &amp;quot;–&amp;quot;,
                                  {
                                    a!richTextIcon(
                                      icon: &amp;quot;calendar&amp;quot;,
                                      color: &amp;quot;SECONDARY&amp;quot;
                                    ),
                                    &amp;quot; &amp;quot;,
                                    a!richTextItem(
                                      text: text(
                                        ri!record[&amp;#39;recordType!{e398ddee-7860-456b-9ed4-7a29735217bd}W1723SA Vehicle.fields.{7a484c31-86d5-4f60-9f07-09f407f6a454}modifiedOn&amp;#39;],
                                        &amp;quot;mmmm d, yyyy&amp;quot;
                                      )
                                    )
                                  }
                                )
                              }
                            )
                          }
                        ),
                        a!columnLayout(
                          contents: {
                            a!richTextDisplayField(
                              label: &amp;quot;Mileage Category&amp;quot;,
                              value: {
                                a!defaultValue(
                                  ri!record[&amp;#39;recordType!{e398ddee-7860-456b-9ed4-7a29735217bd}W1723SA Vehicle.fields.{34460c78-df10-42c2-a266-5226c3eb8fff}mileageCategory&amp;#39;],
                                  &amp;quot;–&amp;quot;
                                )
                              }
                            )
                          }
                        ),
                        a!columnLayout(
                          contents: {
                            a!richTextDisplayField(
                              label: &amp;quot;Cost Sum&amp;quot;,
                              value: {
                                a!defaultValue(
                                  ri!record[&amp;#39;recordType!{e398ddee-7860-456b-9ed4-7a29735217bd}W1723SA Vehicle.fields.{7fe7a504-79e9-4edb-87da-ba834becda36}costSum&amp;#39;],
                                  &amp;quot;–&amp;quot;
                                )
                              }
                            )
                          }
                        )
                      },
                      marginAbove: &amp;quot;STANDARD&amp;quot;
                    ),
                    a!columnsLayout(
                      columns: {
                        a!columnLayout(
                          contents: {
                            a!richTextDisplayField(
                              label: &amp;quot;Count Of Maintenance Requests&amp;quot;,
                              value: {
                                a!defaultValue(
                                  ri!record[&amp;#39;recordType!{e398ddee-7860-456b-9ed4-7a29735217bd}W1723SA Vehicle.fields.{679064a6-0316-4f76-ab9d-b1e82b429a77}countOfMaintenanceRequests&amp;#39;],
                                  &amp;quot;–&amp;quot;
                                )
                              }
                            )
                          }
                        ),
                        a!columnLayout(
                          contents: {}
                        ),
                        a!columnLayout(
                          contents: {}
                        )
                      },
                      marginAbove: &amp;quot;STANDARD&amp;quot;
                    )
                  },
                  shape: &amp;quot;SEMI_ROUNDED&amp;quot;,
                  padding: &amp;quot;STANDARD&amp;quot;
                )
              },
              marginBelow: &amp;quot;MORE&amp;quot;
            ),
            a!sectionLayout(
              label: &amp;quot;Maintenance Requests&amp;quot;,
              labelSize: &amp;quot;MEDIUM&amp;quot;,
              labelColor: &amp;quot;STANDARD&amp;quot;,
              contents: {
                a!cardLayout(
                  contents: {
                    a!gridField(
                      label: &amp;quot;Maintenance&amp;quot;,
                      labelPosition: &amp;quot;COLLAPSED&amp;quot;,
                      data: a!recordData(
                        recordType: &amp;#39;recordType!{06a597bb-9238-4521-b602-0d194ccf176a}W1723SA Maintenance&amp;#39;,
                        filters: a!queryLogicalExpression(
                          operator: &amp;quot;AND&amp;quot;,
                          filters: {
                            a!queryFilter(
                              field: &amp;#39;recordType!{06a597bb-9238-4521-b602-0d194ccf176a}W1723SA Maintenance.fields.{fbe2fbaf-1f4b-4236-bdee-e7483489e1d4}vehicleId&amp;#39;,
                              operator: &amp;quot;=&amp;quot;,
                              value: ri!record[&amp;#39;recordType!{e398ddee-7860-456b-9ed4-7a29735217bd}W1723SA Vehicle.fields.{4c320105-f1c9-4f22-9c25-aa4ad3ae55d1}id&amp;#39;]
                            )
                          },
                          ignoreFiltersWithEmptyValues: true
                        )
                      ),
                      columns: {
                        a!gridColumn(
                          label: &amp;quot;Id&amp;quot;,
                          sortField: &amp;#39;recordType!{06a597bb-9238-4521-b602-0d194ccf176a}W1723SA Maintenance.fields.{3069fe29-b121-414e-98bc-fda3810ff7ab}id&amp;#39;,
                          value: a!richTextDisplayField(
                            value: {
                              a!richTextItem(
                                text: if(
                                  fv!row[&amp;#39;recordType!{06a597bb-9238-4521-b602-0d194ccf176a}W1723SA Maintenance.fields.{3069fe29-b121-414e-98bc-fda3810ff7ab}id&amp;#39;] &amp;lt; 100000,
                                  text(
                                    fv!row[&amp;#39;recordType!{06a597bb-9238-4521-b602-0d194ccf176a}W1723SA Maintenance.fields.{3069fe29-b121-414e-98bc-fda3810ff7ab}id&amp;#39;],
                                    &amp;quot;#00000&amp;quot;
                                  ),
                                  fv!row[&amp;#39;recordType!{06a597bb-9238-4521-b602-0d194ccf176a}W1723SA Maintenance.fields.{3069fe29-b121-414e-98bc-fda3810ff7ab}id&amp;#39;]
                                ),
                                link: a!recordLink(
                                  recordType: &amp;#39;recordType!{06a597bb-9238-4521-b602-0d194ccf176a}W1723SA Maintenance&amp;#39;,
                                  identifier: fv!identifier
                                ),
                                linkStyle: &amp;quot;STANDALONE&amp;quot;
                              )
                            }
                          )
                        ),
                        a!gridColumn(
                          label: &amp;quot;Vehicle Id&amp;quot;,
                          sortField: &amp;#39;recordType!{06a597bb-9238-4521-b602-0d194ccf176a}W1723SA Maintenance.fields.{fbe2fbaf-1f4b-4236-bdee-e7483489e1d4}vehicleId&amp;#39;,
                          value: a!defaultValue(fv!row[&amp;#39;recordType!{06a597bb-9238-4521-b602-0d194ccf176a}W1723SA Maintenance.fields.{fbe2fbaf-1f4b-4236-bdee-e7483489e1d4}vehicleId&amp;#39;], &amp;quot;–&amp;quot;),
                          align: &amp;quot;END&amp;quot;
                        ),
                        a!gridColumn(
                          label: &amp;quot;Issue&amp;quot;,
                          sortField: &amp;#39;recordType!{06a597bb-9238-4521-b602-0d194ccf176a}W1723SA Maintenance.fields.{34e3bcf0-b3ad-4e7b-b438-3fdfbba9c309}issue&amp;#39;,
                          value: a!defaultValue(fv!row[&amp;#39;recordType!{06a597bb-9238-4521-b602-0d194ccf176a}W1723SA Maintenance.fields.{34e3bcf0-b3ad-4e7b-b438-3fdfbba9c309}issue&amp;#39;], &amp;quot;–&amp;quot;)
                        ),
                        a!gridColumn(
                          label: &amp;quot;Is Scheduled&amp;quot;,
                          sortField: &amp;#39;recordType!{06a597bb-9238-4521-b602-0d194ccf176a}W1723SA Maintenance.fields.{59a1d4b0-e3d5-44dd-a38f-90506d973e8a}isScheduled&amp;#39;,
                          value: if(
                            isnull(fv!row[&amp;#39;recordType!{06a597bb-9238-4521-b602-0d194ccf176a}W1723SA Maintenance.fields.{59a1d4b0-e3d5-44dd-a38f-90506d973e8a}isScheduled&amp;#39;]),
                            &amp;quot;–&amp;quot;,
                            a!richTextDisplayField(
                              value: if(
                                fv!row[&amp;#39;recordType!{06a597bb-9238-4521-b602-0d194ccf176a}W1723SA Maintenance.fields.{59a1d4b0-e3d5-44dd-a38f-90506d973e8a}isScheduled&amp;#39;],
                                a!richTextIcon(
                                  icon: &amp;quot;check&amp;quot;,
                                  altText: &amp;quot;Yes&amp;quot;,
                                  color: &amp;quot;#138901&amp;quot;
                                ),
                                a!richTextIcon(
                                  icon: &amp;quot;times&amp;quot;,
                                  altText: &amp;quot;No&amp;quot;,
                                  color: &amp;quot;SECONDARY&amp;quot;
                                )
                              )
                            )
                          ),
                          align: &amp;quot;CENTER&amp;quot;
                        ),
                        a!gridColumn(
                          label: &amp;quot;Status&amp;quot;,
                          sortField: &amp;#39;recordType!{06a597bb-9238-4521-b602-0d194ccf176a}W1723SA Maintenance.fields.{3dffcf38-8580-4570-8aae-e83c26461ef0}status&amp;#39;,
                          value: a!defaultValue(fv!row[&amp;#39;recordType!{06a597bb-9238-4521-b602-0d194ccf176a}W1723SA Maintenance.fields.{3dffcf38-8580-4570-8aae-e83c26461ef0}status&amp;#39;], &amp;quot;–&amp;quot;)
                        ),
                        a!gridColumn(
                          label: &amp;quot;Start Date&amp;quot;,
                          sortField: &amp;#39;recordType!{06a597bb-9238-4521-b602-0d194ccf176a}W1723SA Maintenance.fields.{d4585653-61fe-408f-9bda-d629723b7d64}startDate&amp;#39;,
                          value: a!defaultValue(fv!row[&amp;#39;recordType!{06a597bb-9238-4521-b602-0d194ccf176a}W1723SA Maintenance.fields.{d4585653-61fe-408f-9bda-d629723b7d64}startDate&amp;#39;], &amp;quot;–&amp;quot;),
                          align: &amp;quot;END&amp;quot;
                        ),
                        a!gridColumn(
                          label: &amp;quot;End Date&amp;quot;,
                          sortField: &amp;#39;recordType!{06a597bb-9238-4521-b602-0d194ccf176a}W1723SA Maintenance.fields.{cc9ca837-f3cc-4ea8-b3c1-6ed7c7808246}endDate&amp;#39;,
                          value: a!defaultValue(fv!row[&amp;#39;recordType!{06a597bb-9238-4521-b602-0d194ccf176a}W1723SA Maintenance.fields.{cc9ca837-f3cc-4ea8-b3c1-6ed7c7808246}endDate&amp;#39;], &amp;quot;–&amp;quot;),
                          align: &amp;quot;END&amp;quot;
                        ),
                        a!gridColumn(
                          label: &amp;quot;Cost&amp;quot;,
                          sortField: &amp;#39;recordType!{06a597bb-9238-4521-b602-0d194ccf176a}W1723SA Maintenance.fields.{ed6d49b7-8bcf-454c-9d3b-aa6f0549d100}cost&amp;#39;,
                          value: a!defaultValue(fv!row[&amp;#39;recordType!{06a597bb-9238-4521-b602-0d194ccf176a}W1723SA Maintenance.fields.{ed6d49b7-8bcf-454c-9d3b-aa6f0549d100}cost&amp;#39;], &amp;quot;–&amp;quot;),
                          align: &amp;quot;END&amp;quot;
                        ),
                        a!gridColumn(
                          label: &amp;quot;Assigned Mechanic&amp;quot;,
                          sortField: &amp;#39;recordType!{06a597bb-9238-4521-b602-0d194ccf176a}W1723SA Maintenance.fields.{d26b779c-2cad-4a57-b16a-a6e2588a1007}assignedMechanic&amp;#39;,
                          value: a!defaultValue(fv!row[&amp;#39;recordType!{06a597bb-9238-4521-b602-0d194ccf176a}W1723SA Maintenance.fields.{d26b779c-2cad-4a57-b16a-a6e2588a1007}assignedMechanic&amp;#39;], &amp;quot;–&amp;quot;)
                        ),
                        a!gridColumn(
                          label: &amp;quot;Created&amp;quot;,
                          sortField: &amp;#39;recordType!{06a597bb-9238-4521-b602-0d194ccf176a}W1723SA Maintenance.fields.{356fd463-0c66-4bcb-8051-ddf97ed25b27}createdOn&amp;#39;,
                          value: a!richTextDisplayField(
                            value: a!localVariables(
                              local!isUserValueBlank: isnull(fv!row[&amp;#39;recordType!{06a597bb-9238-4521-b602-0d194ccf176a}W1723SA Maintenance.fields.{e14b9708-08c0-4dc5-8e88-4d886ae81478}createdBy&amp;#39;]),
                              local!isTimeValueBlank: isnull(fv!row[&amp;#39;recordType!{06a597bb-9238-4521-b602-0d194ccf176a}W1723SA Maintenance.fields.{356fd463-0c66-4bcb-8051-ddf97ed25b27}createdOn&amp;#39;]),
                              if(
                                and(
                                  local!isUserValueBlank,
                                  local!isTimeValueBlank
                                ),
                                &amp;quot;–&amp;quot;,
                                {
                                  if(
                                    local!isTimeValueBlank,
                                    &amp;quot;–&amp;quot;,
                                    datetext(fv!row[&amp;#39;recordType!{06a597bb-9238-4521-b602-0d194ccf176a}W1723SA Maintenance.fields.{356fd463-0c66-4bcb-8051-ddf97ed25b27}createdOn&amp;#39;], &amp;quot;default&amp;quot;)
                                  ),
                                  char(10),
                                  a!richTextItem(
                                    text: if(
                                      local!isUserValueBlank,
                                      &amp;quot;–&amp;quot;,
                                      user(fv!row[&amp;#39;recordType!{06a597bb-9238-4521-b602-0d194ccf176a}W1723SA Maintenance.fields.{e14b9708-08c0-4dc5-8e88-4d886ae81478}createdBy&amp;#39;], &amp;quot;firstName&amp;quot;) &amp;amp; &amp;quot; &amp;quot; &amp;amp; user(fv!row[&amp;#39;recordType!{06a597bb-9238-4521-b602-0d194ccf176a}W1723SA Maintenance.fields.{e14b9708-08c0-4dc5-8e88-4d886ae81478}createdBy&amp;#39;], &amp;quot;lastName&amp;quot;)
                                    ),
                                    color: &amp;quot;SECONDARY&amp;quot;
                                  )
                                }
                              )
                            )
                          ),
                          align: &amp;quot;START&amp;quot;,
                          width: &amp;quot;NARROW_PLUS&amp;quot;
                        ),
                        a!gridColumn(
                          label: &amp;quot;Modified&amp;quot;,
                          sortField: &amp;#39;recordType!{06a597bb-9238-4521-b602-0d194ccf176a}W1723SA Maintenance.fields.{2f6c2b81-a28c-4b4a-92c6-4c43f6d3dd20}modifiedOn&amp;#39;,
                          value: a!richTextDisplayField(
                            value: a!localVariables(
                              local!isUserValueBlank: isnull(fv!row[&amp;#39;recordType!{06a597bb-9238-4521-b602-0d194ccf176a}W1723SA Maintenance.fields.{724412f1-36fe-439e-9191-e5e2beb2f103}modifiedBy&amp;#39;]),
                              local!isTimeValueBlank: isnull(fv!row[&amp;#39;recordType!{06a597bb-9238-4521-b602-0d194ccf176a}W1723SA Maintenance.fields.{2f6c2b81-a28c-4b4a-92c6-4c43f6d3dd20}modifiedOn&amp;#39;]),
                              if(
                                and(
                                  local!isUserValueBlank,
                                  local!isTimeValueBlank
                                ),
                                &amp;quot;–&amp;quot;,
                                {
                                  if(
                                    local!isTimeValueBlank,
                                    &amp;quot;–&amp;quot;,
                                    datetext(fv!row[&amp;#39;recordType!{06a597bb-9238-4521-b602-0d194ccf176a}W1723SA Maintenance.fields.{2f6c2b81-a28c-4b4a-92c6-4c43f6d3dd20}modifiedOn&amp;#39;], &amp;quot;default&amp;quot;)
                                  ),
                                  char(10),
                                  a!richTextItem(
                                    text: if(
                                      local!isUserValueBlank,
                                      &amp;quot;–&amp;quot;,
                                      user(fv!row[&amp;#39;recordType!{06a597bb-9238-4521-b602-0d194ccf176a}W1723SA Maintenance.fields.{724412f1-36fe-439e-9191-e5e2beb2f103}modifiedBy&amp;#39;], &amp;quot;firstName&amp;quot;) &amp;amp; &amp;quot; &amp;quot; &amp;amp; user(fv!row[&amp;#39;recordType!{06a597bb-9238-4521-b602-0d194ccf176a}W1723SA Maintenance.fields.{724412f1-36fe-439e-9191-e5e2beb2f103}modifiedBy&amp;#39;], &amp;quot;lastName&amp;quot;)
                                    ),
                                    color: &amp;quot;SECONDARY&amp;quot;
                                  )
                                }
                              )
                            )
                          ),
                          align: &amp;quot;START&amp;quot;,
                          width: &amp;quot;NARROW_PLUS&amp;quot;
                        )
                      },
                      pageSize: 5,
                      rowHeader: 1,
                      showSearchBox: true,
                      showRefreshButton: true,
                      borderStyle: &amp;quot;LIGHT&amp;quot;,
                      shadeAlternateRows: false,
                      refreshAfter: &amp;quot;RECORD_ACTION&amp;quot;
                    )
                  },
                  shape: &amp;quot;SEMI_ROUNDED&amp;quot;,
                  padding: &amp;quot;STANDARD&amp;quot;
                )
              },
              marginBelow: &amp;quot;MORE&amp;quot;
            )
          }
        ),
        a!columnLayout(
          width: &amp;quot;MEDIUM&amp;quot;,
          contents: {
            a!sectionLayout(
              label: &amp;quot;Contacts&amp;quot;,
              labelSize: &amp;quot;MEDIUM&amp;quot;,
              labelColor: &amp;quot;STANDARD&amp;quot;,
              contents: {
                a!cardLayout(
                  contents: {
                    a!sideBySideLayout(
                      items: {
                        a!sideBySideItem(
                          width: &amp;quot;MINIMIZE&amp;quot;,
                          item: a!imageField(
                            labelPosition: &amp;quot;COLLAPSED&amp;quot;,
                            size: &amp;quot;EXTRA_SMALL&amp;quot;,
                            style: &amp;quot;AVATAR&amp;quot;,
                            images: a!userImage(
                              user: ri!record[&amp;#39;recordType!{e398ddee-7860-456b-9ed4-7a29735217bd}W1723SA Vehicle.fields.{2ad68743-f42e-4bb1-84cc-97660d9d0b6d}addedBy&amp;#39;]
                            )
                          )
                        ),
                        a!sideBySideItem(
                          item: a!richTextDisplayField(
                            labelPosition: &amp;quot;COLLAPSED&amp;quot;,
                            value: {
                              if(
                                a!isNullOrEmpty(ri!record[&amp;#39;recordType!{e398ddee-7860-456b-9ed4-7a29735217bd}W1723SA Vehicle.fields.{2ad68743-f42e-4bb1-84cc-97660d9d0b6d}addedBy&amp;#39;]),
                                a!richTextItem(
                                  text: {
                                    &amp;quot;-&amp;quot;
                                  }
                                ),
                                a!richTextItem(
                                  text: {
                                    user(
                                      ri!record[&amp;#39;recordType!{e398ddee-7860-456b-9ed4-7a29735217bd}W1723SA Vehicle.fields.{2ad68743-f42e-4bb1-84cc-97660d9d0b6d}addedBy&amp;#39;],
                                      &amp;quot;firstName&amp;quot;
                                    ) &amp;amp; &amp;quot; &amp;quot; &amp;amp; user(
                                      ri!record[&amp;#39;recordType!{e398ddee-7860-456b-9ed4-7a29735217bd}W1723SA Vehicle.fields.{2ad68743-f42e-4bb1-84cc-97660d9d0b6d}addedBy&amp;#39;],
                                      &amp;quot;lastName&amp;quot;
                                    )
                                  },
                                  color: &amp;quot;ACCENT&amp;quot;,
                                  style: {
                                    &amp;quot;STRONG&amp;quot;
                                  }
                                )
                              ),
                              char(10),
                              a!richTextItem(
                                text: {
                                  &amp;quot;Added By&amp;quot;
                                },
                                color: &amp;quot;SECONDARY&amp;quot;
                              )
                            }
                          )
                        )
                      },
                      alignVertical: &amp;quot;MIDDLE&amp;quot;
                    )
                  },
                  shape: &amp;quot;SEMI_ROUNDED&amp;quot;,
                  padding: &amp;quot;LESS&amp;quot;,
                  marginBelow: &amp;quot;STANDARD&amp;quot;,
                  link: if(
                    a!isNullOrEmpty(ri!record[&amp;#39;recordType!{e398ddee-7860-456b-9ed4-7a29735217bd}W1723SA Vehicle.fields.{2ad68743-f42e-4bb1-84cc-97660d9d0b6d}addedBy&amp;#39;]),
                    null,
                    a!userRecordLink(
                      user: ri!record[&amp;#39;recordType!{e398ddee-7860-456b-9ed4-7a29735217bd}W1723SA Vehicle.fields.{2ad68743-f42e-4bb1-84cc-97660d9d0b6d}addedBy&amp;#39;]
                    )
                  )
                ),
                a!cardLayout(
                  contents: {
                    a!sideBySideLayout(
                      items: {
                        a!sideBySideItem(
                          width: &amp;quot;MINIMIZE&amp;quot;,
                          item: a!imageField(
                            labelPosition: &amp;quot;COLLAPSED&amp;quot;,
                            size: &amp;quot;EXTRA_SMALL&amp;quot;,
                            style: &amp;quot;AVATAR&amp;quot;,
                            images: a!userImage(
                              user: ri!record[&amp;#39;recordType!{e398ddee-7860-456b-9ed4-7a29735217bd}W1723SA Vehicle.fields.{6deea7c8-43fc-46ad-8f5a-173198319916}modifiedBy&amp;#39;]
                            )
                          )
                        ),
                        a!sideBySideItem(
                          item: a!richTextDisplayField(
                            labelPosition: &amp;quot;COLLAPSED&amp;quot;,
                            value: {
                              if(
                                a!isNullOrEmpty(ri!record[&amp;#39;recordType!{e398ddee-7860-456b-9ed4-7a29735217bd}W1723SA Vehicle.fields.{6deea7c8-43fc-46ad-8f5a-173198319916}modifiedBy&amp;#39;]),
                                a!richTextItem(
                                  text: {
                                    &amp;quot;-&amp;quot;
                                  }
                                ),
                                a!richTextItem(
                                  text: {
                                    user(
                                      ri!record[&amp;#39;recordType!{e398ddee-7860-456b-9ed4-7a29735217bd}W1723SA Vehicle.fields.{6deea7c8-43fc-46ad-8f5a-173198319916}modifiedBy&amp;#39;],
                                      &amp;quot;firstName&amp;quot;
                                    ) &amp;amp; &amp;quot; &amp;quot; &amp;amp; user(
                                      ri!record[&amp;#39;recordType!{e398ddee-7860-456b-9ed4-7a29735217bd}W1723SA Vehicle.fields.{6deea7c8-43fc-46ad-8f5a-173198319916}modifiedBy&amp;#39;],
                                      &amp;quot;lastName&amp;quot;
                                    )
                                  },
                                  color: &amp;quot;ACCENT&amp;quot;,
                                  style: {
                                    &amp;quot;STRONG&amp;quot;
                                  }
                                )
                              ),
                              char(10),
                              a!richTextItem(
                                text: {
                                  &amp;quot;Modified By&amp;quot;
                                },
                                color: &amp;quot;SECONDARY&amp;quot;
                              )
                            }
                          )
                        )
                      },
                      alignVertical: &amp;quot;MIDDLE&amp;quot;
                    )
                  },
                  shape: &amp;quot;SEMI_ROUNDED&amp;quot;,
                  padding: &amp;quot;LESS&amp;quot;,
                  marginBelow: &amp;quot;STANDARD&amp;quot;,
                  link: if(
                    a!isNullOrEmpty(ri!record[&amp;#39;recordType!{e398ddee-7860-456b-9ed4-7a29735217bd}W1723SA Vehicle.fields.{6deea7c8-43fc-46ad-8f5a-173198319916}modifiedBy&amp;#39;]),
                    null,
                    a!userRecordLink(
                      user: ri!record[&amp;#39;recordType!{e398ddee-7860-456b-9ed4-7a29735217bd}W1723SA Vehicle.fields.{6deea7c8-43fc-46ad-8f5a-173198319916}modifiedBy&amp;#39;]
                    )
                  )
                )
              },
              marginBelow: &amp;quot;MORE&amp;quot;
            ),
            a!sectionLayout(
              label: &amp;quot;Event History&amp;quot;,
              labelSize: &amp;quot;MEDIUM&amp;quot;,
              labelColor: &amp;quot;STANDARD&amp;quot;,
              contents: {
                a!cardLayout(
                  contents: {
                    a!eventHistoryListField(
                      eventStyle: &amp;quot;LIST_WITH_COMMENTS&amp;quot;,
                      labelPosition: &amp;quot;COLLAPSED&amp;quot;,
                      refreshAfter: &amp;quot;RECORD_ACTION&amp;quot;,
                      commentLayout: &amp;quot;LIST&amp;quot;,
                      commentCardColor: &amp;quot;TRANSPARENT&amp;quot;,
                      pageSize: 3,
                      displayUser: &amp;quot;IMAGE&amp;quot;,
                      showSearchBox: false,
                      showReverseSortButton: false,
                      eventData: a!eventData(
                        recordType: &amp;#39;recordType!{ff4018bf-fa55-4fd0-b918-3453180a59c9}W1723SA Vehicle Event History&amp;#39;,
                        user: &amp;#39;recordType!{ff4018bf-fa55-4fd0-b918-3453180a59c9}W1723SA Vehicle Event History.fields.{8b13ce1d-262f-4ee4-8411-7d23964dda0e}user&amp;#39;,
                        timestamp: &amp;#39;recordType!{ff4018bf-fa55-4fd0-b918-3453180a59c9}W1723SA Vehicle Event History.fields.{f0318429-9860-4696-9d21-d62b231cca67}timestamp&amp;#39;,
                        comment: &amp;#39;recordType!{ff4018bf-fa55-4fd0-b918-3453180a59c9}W1723SA Vehicle Event History.fields.{075a1011-5f45-4b8b-9ce6-52a136c0891e}comment&amp;#39;,
                        allowUsersToComment: true,
                        allowUsersToReply: false,
                        baseRecordIdForComment: ri!record[&amp;#39;recordType!{e398ddee-7860-456b-9ed4-7a29735217bd}W1723SA Vehicle.fields.{4c320105-f1c9-4f22-9c25-aa4ad3ae55d1}id&amp;#39;],
                        eventTypeName: fv!data[&amp;#39;recordType!{ff4018bf-fa55-4fd0-b918-3453180a59c9}W1723SA Vehicle Event History.relationships.{61e2ce01-b53b-46df-bebd-f3f857b675b5}eventType.fields.{bf85052c-79bc-4d28-9a85-d25b65df15d4}eventName&amp;#39;],
                        filters: a!queryFilter(
                          field: &amp;#39;recordType!{ff4018bf-fa55-4fd0-b918-3453180a59c9}W1723SA Vehicle Event History.fields.{68cdeaa8-9a49-476c-b65f-f577c85a4bf4}recordId&amp;#39;,
                          operator: &amp;quot;=&amp;quot;,
                          value: ri!record[&amp;#39;recordType!{e398ddee-7860-456b-9ed4-7a29735217bd}W1723SA Vehicle.fields.{4c320105-f1c9-4f22-9c25-aa4ad3ae55d1}id&amp;#39;]
                        )
                      )
                    )
                  },
                  shape: &amp;quot;SEMI_ROUNDED&amp;quot;,
                  padding: &amp;quot;LESS&amp;quot;
                )
              },
              marginBelow: &amp;quot;MORE&amp;quot;
            )
          }
        ),
        a!columnLayout(
          showWhen: a!isPageWidth({ &amp;quot;DESKTOP&amp;quot;, &amp;quot;DESKTOP_WIDE&amp;quot; }),
          contents: {}
        )
      },
      marginAbove: &amp;quot;MORE&amp;quot;,
      spacing: &amp;quot;SPARSE&amp;quot;,
      stackWhen: {
        &amp;quot;TABLET_PORTRAIT&amp;quot;,
        &amp;quot;PHONE&amp;quot;
      }
    )
  },
  backgroundColor: &amp;quot;#fbfbfb&amp;quot;
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Build an Application: Step-by-Step #8 Exercise to Accompany Interfaces 101</title><link>https://community.appian.com/thread/147503?ContentTypeID=1</link><pubDate>Thu, 24 Apr 2025 03:53:32 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ef11cffd-f9a2-4219-8918-45f6edafdfe0</guid><dc:creator>Travis Schettler</dc:creator><description>&lt;p&gt;As was suggested, I tried using the &lt;span style="background-color:#999999;"&gt;&lt;code data-start="287" data-end="306"&gt;a!usernametaken()&lt;/code&gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;function, but it didn&amp;#39;t work for me.&amp;nbsp;&lt;/span&gt;I&amp;nbsp;did find a different a fix for this issue: For the Created and Modified grid columns, change the &amp;quot;createdBy&amp;quot; and &amp;quot;modifiedBy&amp;quot; field references to the &amp;quot;createdByUser&amp;quot; and &amp;quot;modifiedByUser&amp;quot; relationships instead. Once I did this, the interface loaded just fine.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Build an Application: Step-by-Step #8 Exercise to Accompany Interfaces 101</title><link>https://community.appian.com/thread/147167?ContentTypeID=1</link><pubDate>Mon, 14 Apr 2025 06:03:21 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d0d12d51-4b2a-41b7-a2e2-0d1103768b46</guid><dc:creator>Vyshnavi Naripeddi</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;As you are the only user and no others users mentioned in the created by column were active, I suggest you to follow the same approach that I have mentioned above.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Build an Application: Step-by-Step #8 Exercise to Accompany Interfaces 101</title><link>https://community.appian.com/thread/147087?ContentTypeID=1</link><pubDate>Thu, 10 Apr 2025 15:53:15 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2dfa0d5b-e471-43b9-91bf-5ddd68592efc</guid><dc:creator>jacobb122</dc:creator><description>&lt;p&gt;absolutely&lt;br /&gt;hopefully this is helpful&lt;br /&gt;&lt;br /&gt;I realize my earlier statement may have been misleading, so let me explain:&lt;br /&gt;&lt;br /&gt;I am the only true user in the system, but there are identities listed as part of the exercise in order to facilitate the learning experience; these other &amp;quot;people&amp;quot; do not actually appear as users, as far as I can tell.&lt;br /&gt;&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/13/Screenshot-2025_2D00_04_2D00_10-115234.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Build an Application: Step-by-Step #8 Exercise to Accompany Interfaces 101</title><link>https://community.appian.com/thread/147060?ContentTypeID=1</link><pubDate>Thu, 10 Apr 2025 02:13:57 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:14f185fa-8138-4707-8aba-fe1c619034b9</guid><dc:creator>Vyshnavi Naripeddi</dc:creator><description>&lt;p&gt;Hi &amp;nbsp;,&lt;/p&gt;
&lt;p&gt;Can you check the values for the &amp;quot;Created By&amp;quot; column? Does it have only your username on it?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Build an Application: Step-by-Step #8 Exercise to Accompany Interfaces 101</title><link>https://community.appian.com/thread/147046?ContentTypeID=1</link><pubDate>Wed, 09 Apr 2025 14:56:28 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:aa283b79-8ef2-407c-b77e-e99e77c68b24</guid><dc:creator>jacobb122</dc:creator><description>&lt;p&gt;Good day Vyshnavi,&lt;br /&gt;&lt;br /&gt;I had a nearly identical issue on the same part of the Step-by-Step 8 Exercise:&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;My errors were on lines 355 and 483&lt;br /&gt;&lt;br /&gt;I checked the pre-generated W#SA Maintenance Record Type to see if it flagged a similar error, and it does on line 112&lt;br /&gt;&lt;br /&gt;So I am wondering if the issue is actually in the record type? I can&amp;#39;t imagine why the expression would fail for an invalid/nonexistent user, since I am the only user in this system&lt;br /&gt;&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/13/Screenshot-2025_2D00_04_2D00_09-012628.png" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/13/Screenshot-2025_2D00_04_2D00_09-012552.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Build an Application: Step-by-Step #8 Exercise to Accompany Interfaces 101</title><link>https://community.appian.com/thread/146921?ContentTypeID=1</link><pubDate>Fri, 04 Apr 2025 11:55:07 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:cf73544b-ec69-43ca-aeb0-d8eff122dade</guid><dc:creator>monicaf0002</dc:creator><description>&lt;p&gt;Hi &amp;nbsp;segue arquivo em anexo.&lt;a href="https://community.appian.com/cfs-file/__key/communityserver-discussions-components-files/13/W_5F00_W1731SAVehicleSummary.txt"&gt;community.appian.com/.../W_5F00_W1731SAVehicleSummary.txt&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Build an Application: Step-by-Step #8 Exercise to Accompany Interfaces 101</title><link>https://community.appian.com/thread/146814?ContentTypeID=1</link><pubDate>Tue, 01 Apr 2025 20:48:04 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:65a1e9b2-1ec8-41cf-8217-709fbcf8c266</guid><dc:creator>monicaf0002</dc:creator><description>&lt;p&gt;&amp;nbsp;;-)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Build an Application: Step-by-Step #8 Exercise to Accompany Interfaces 101</title><link>https://community.appian.com/thread/146813?ContentTypeID=1</link><pubDate>Tue, 01 Apr 2025 20:47:24 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7e278708-dfe5-4ac2-b554-9eb714151f3e</guid><dc:creator>monicaf0002</dc:creator><description>&lt;p&gt;&lt;span style="font-family:arial, helvetica, sans-serif;"&gt;Hello Vyshnavi!! :-)&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;pre class="tw-data-text tw-text-large tw-ta" dir="ltr" data-placeholder="Tradu&amp;ccedil;&amp;atilde;o" data-ved="2ahUKEwiY-Me82beMAxUwBLkGHby5CT0Q3ewLegQICBAV"&gt;&lt;span class="Y2IQFc" style="font-family:arial, helvetica, sans-serif;" lang="en"&gt;I will attach the .txt file with the code to the message.&lt;/span&gt;&lt;/pre&gt;
&lt;pre id="tw-target-text" class="tw-data-text tw-text-large tw-ta" dir="ltr" data-placeholder="Tradu&amp;ccedil;&amp;atilde;o" data-ved="2ahUKEwiY-Me82beMAxUwBLkGHby5CT0Q3ewLegQICBAV"&gt;&lt;span class="Y2IQFc" style="font-family:arial, helvetica, sans-serif;" lang="en"&gt;Thank you very much!!&lt;pre class="ui-code" data-mode="text"&gt;a!headerContentLayout(
  contents: {
    a!columnsLayout(
      columns: {
        a!columnLayout(
          showWhen: a!isPageWidth({ &amp;quot;DESKTOP&amp;quot;, &amp;quot;DESKTOP_WIDE&amp;quot; }),
          contents: {}
        ),
        a!columnLayout(
          width: &amp;quot;WIDE&amp;quot;,
          contents: {
            a!sectionLayout(
              label: &amp;quot;Details&amp;quot;,
              labelSize: &amp;quot;MEDIUM&amp;quot;,
              labelColor: &amp;quot;STANDARD&amp;quot;,
              contents: {
                a!cardLayout(
                  contents: {
                    a!columnsLayout(
                      columns: {
                        a!columnLayout(
                          contents: {
                            a!richTextDisplayField(
                              label: &amp;quot;Make&amp;quot;,
                              value: {
                                a!defaultValue(
                                  ri!record[&amp;#39;recordType!{a4feb9b1-4e07-45c1-8802-e7fe88b94dc7}W1731SA Vehicle.fields.{941d0ced-2fb5-4fde-a295-286083fabb07}make&amp;#39;],
                                  &amp;quot;–&amp;quot;
                                )
                              }
                            )
                          }
                        ),
                        a!columnLayout(
                          contents: {
                            a!richTextDisplayField(
                              label: &amp;quot;Model&amp;quot;,
                              value: {
                                a!defaultValue(
                                  ri!record[&amp;#39;recordType!{a4feb9b1-4e07-45c1-8802-e7fe88b94dc7}W1731SA Vehicle.fields.{d4352b9c-6c57-4a17-a9a8-145b25def765}model&amp;#39;],
                                  &amp;quot;–&amp;quot;
                                )
                              }
                            )
                          }
                        ),
                        a!columnLayout(
                          contents: {
                            a!richTextDisplayField(
                              label: &amp;quot;Color&amp;quot;,
                              value: {
                                a!defaultValue(
                                  ri!record[&amp;#39;recordType!{a4feb9b1-4e07-45c1-8802-e7fe88b94dc7}W1731SA Vehicle.fields.{d636ee9a-44c5-4ceb-a323-0223162dea9e}color&amp;#39;],
                                  &amp;quot;–&amp;quot;
                                )
                              }
                            )
                          }
                        )
                      }
                    ),
                    a!columnsLayout(
                      columns: {
                        a!columnLayout(
                          contents: {
                            a!richTextDisplayField(
                              label: &amp;quot;Vehicle Condition&amp;quot;,
                              value: {
                                a!defaultValue(
                                  ri!record[&amp;#39;recordType!{a4feb9b1-4e07-45c1-8802-e7fe88b94dc7}W1731SA Vehicle.relationships.{76aef921-fd02-461e-b93a-75b693b1be6d}vehicleCondition.fields.{374df96f-5bb5-4f8b-aafe-d86f8b3b00ee-w1731aa}value&amp;#39;],
                                  &amp;quot;–&amp;quot;
                                )
                              }
                            )
                          }
                        ),
                        a!columnLayout(
                          contents: {
                            a!richTextDisplayField(
                              label: &amp;quot;Vehicle Status&amp;quot;,
                              value: {
                                a!defaultValue(
                                  ri!record[&amp;#39;recordType!{a4feb9b1-4e07-45c1-8802-e7fe88b94dc7}W1731SA Vehicle.relationships.{718e1bd6-273d-4681-89cf-3682b0462a62}vehicleStatus.fields.{ba580c3e-2697-4c62-919b-db8a9d440572-w1731aa}value&amp;#39;],
                                  &amp;quot;–&amp;quot;
                                )
                              }
                            )
                          }
                        ),
                        a!columnLayout(
                          contents: {
                            a!richTextDisplayField(
                              label: &amp;quot;Vehicle Category&amp;quot;,
                              value: {
                                a!defaultValue(
                                  ri!record[&amp;#39;recordType!{a4feb9b1-4e07-45c1-8802-e7fe88b94dc7}W1731SA Vehicle.relationships.{2e76c752-e388-4f22-9ea8-44a9dbfbd277}vehicleCategory.fields.{8587ac12-bc92-4a00-bad1-20d227b29766-w1731aa}value&amp;#39;],
                                  &amp;quot;–&amp;quot;
                                )
                              }
                            )
                          }
                        )
                      },
                      marginAbove: &amp;quot;STANDARD&amp;quot;
                    ),
                    a!columnsLayout(
                      columns: {
                        a!columnLayout(
                          contents: {
                            a!richTextDisplayField(
                              label: &amp;quot;Mileage&amp;quot;,
                              value: {
                                a!defaultValue(
                                  ri!record[&amp;#39;recordType!{a4feb9b1-4e07-45c1-8802-e7fe88b94dc7}W1731SA Vehicle.fields.{605a20b4-2463-4c25-b317-ae3ed3bb62c3}mileage&amp;#39;],
                                  &amp;quot;–&amp;quot;
                                )
                              }
                            )
                          }
                        ),
                        a!columnLayout(
                          contents: {
                            a!richTextDisplayField(
                              label: &amp;quot;Year&amp;quot;,
                              value: {
                                a!defaultValue(
                                  ri!record[&amp;#39;recordType!{a4feb9b1-4e07-45c1-8802-e7fe88b94dc7}W1731SA Vehicle.fields.{7652f864-4e92-433e-88fd-c4faa2bbff1b}year&amp;#39;],
                                  &amp;quot;–&amp;quot;
                                )
                              }
                            )
                          }
                        ),
                        a!columnLayout(
                          contents: {
                            a!richTextDisplayField(
                              label: &amp;quot;Last Maintenance Date&amp;quot;,
                              value: {
                                if(
                                  isnull(
                                    ri!record[&amp;#39;recordType!{a4feb9b1-4e07-45c1-8802-e7fe88b94dc7}W1731SA Vehicle.fields.{28422212-b673-4a73-a4af-315b877b9f56}lastMaintenanceDate&amp;#39;]
                                  ),
                                  &amp;quot;–&amp;quot;,
                                  {
                                    a!richTextIcon(
                                      icon: &amp;quot;calendar&amp;quot;,
                                      color: &amp;quot;SECONDARY&amp;quot;
                                    ),
                                    &amp;quot; &amp;quot;,
                                    a!richTextItem(
                                      text: text(
                                        ri!record[&amp;#39;recordType!{a4feb9b1-4e07-45c1-8802-e7fe88b94dc7}W1731SA Vehicle.fields.{28422212-b673-4a73-a4af-315b877b9f56}lastMaintenanceDate&amp;#39;],
                                        &amp;quot;mmmm d, yyyy&amp;quot;
                                      )
                                    )
                                  }
                                )
                              }
                            )
                          }
                        )
                      },
                      marginAbove: &amp;quot;STANDARD&amp;quot;
                    ),
                    a!columnsLayout(
                      columns: {
                        a!columnLayout(
                          contents: {
                            a!richTextDisplayField(
                              label: &amp;quot;Next Maintenance Date&amp;quot;,
                              value: {
                                if(
                                  isnull(
                                    ri!record[&amp;#39;recordType!{a4feb9b1-4e07-45c1-8802-e7fe88b94dc7}W1731SA Vehicle.fields.{28756142-ff1c-49c9-a253-1787f20638ae}nextMaintenanceDate&amp;#39;]
                                  ),
                                  &amp;quot;–&amp;quot;,
                                  {
                                    a!richTextIcon(
                                      icon: &amp;quot;calendar&amp;quot;,
                                      color: &amp;quot;SECONDARY&amp;quot;
                                    ),
                                    &amp;quot; &amp;quot;,
                                    a!richTextItem(
                                      text: text(
                                        ri!record[&amp;#39;recordType!{a4feb9b1-4e07-45c1-8802-e7fe88b94dc7}W1731SA Vehicle.fields.{28756142-ff1c-49c9-a253-1787f20638ae}nextMaintenanceDate&amp;#39;],
                                        &amp;quot;mmmm d, yyyy&amp;quot;
                                      )
                                    )
                                  }
                                )
                              }
                            )
                          }
                        ),
                        a!columnLayout(
                          contents: {
                            a!richTextDisplayField(
                              label: &amp;quot;Image&amp;quot;,
                              value: {
                                a!defaultValue(
                                  ri!record[&amp;#39;recordType!{a4feb9b1-4e07-45c1-8802-e7fe88b94dc7}W1731SA Vehicle.fields.{963defca-af23-463a-8cd9-6a5ac94c02a2}image&amp;#39;],
                                  &amp;quot;–&amp;quot;
                                )
                              }
                            )
                          }
                        ),
                        a!columnLayout(
                          contents: {
                            a!richTextDisplayField(
                              label: &amp;quot;Added On&amp;quot;,
                              value: {
                                if(
                                  isnull(
                                    ri!record[&amp;#39;recordType!{a4feb9b1-4e07-45c1-8802-e7fe88b94dc7}W1731SA Vehicle.fields.{54aa1d12-78bd-429c-8d1d-83fa7f33e200}addedOn&amp;#39;]
                                  ),
                                  &amp;quot;–&amp;quot;,
                                  {
                                    a!richTextIcon(
                                      icon: &amp;quot;calendar&amp;quot;,
                                      color: &amp;quot;SECONDARY&amp;quot;
                                    ),
                                    &amp;quot; &amp;quot;,
                                    a!richTextItem(
                                      text: text(
                                        ri!record[&amp;#39;recordType!{a4feb9b1-4e07-45c1-8802-e7fe88b94dc7}W1731SA Vehicle.fields.{54aa1d12-78bd-429c-8d1d-83fa7f33e200}addedOn&amp;#39;],
                                        &amp;quot;mmmm d, yyyy&amp;quot;
                                      )
                                    )
                                  }
                                )
                              }
                            )
                          }
                        )
                      },
                      marginAbove: &amp;quot;STANDARD&amp;quot;
                    ),
                    a!columnsLayout(
                      columns: {
                        a!columnLayout(
                          contents: {
                            a!richTextDisplayField(
                              label: &amp;quot;Modified On&amp;quot;,
                              value: {
                                if(
                                  isnull(
                                    ri!record[&amp;#39;recordType!{a4feb9b1-4e07-45c1-8802-e7fe88b94dc7}W1731SA Vehicle.fields.{83a95085-cd4f-4242-9318-ac06d1721c30}modifiedOn&amp;#39;]
                                  ),
                                  &amp;quot;–&amp;quot;,
                                  {
                                    a!richTextIcon(
                                      icon: &amp;quot;calendar&amp;quot;,
                                      color: &amp;quot;SECONDARY&amp;quot;
                                    ),
                                    &amp;quot; &amp;quot;,
                                    a!richTextItem(
                                      text: text(
                                        ri!record[&amp;#39;recordType!{a4feb9b1-4e07-45c1-8802-e7fe88b94dc7}W1731SA Vehicle.fields.{83a95085-cd4f-4242-9318-ac06d1721c30}modifiedOn&amp;#39;],
                                        &amp;quot;mmmm d, yyyy&amp;quot;
                                      )
                                    )
                                  }
                                )
                              }
                            )
                          }
                        ),
                        a!columnLayout(
                          contents: {
                            a!richTextDisplayField(
                              label: &amp;quot;Mileage Category&amp;quot;,
                              value: {
                                a!defaultValue(
                                  ri!record[&amp;#39;recordType!{a4feb9b1-4e07-45c1-8802-e7fe88b94dc7}W1731SA Vehicle.fields.{13a3b03a-34ef-4097-8243-6a733e72b41f}mileageCategory&amp;#39;],
                                  &amp;quot;–&amp;quot;
                                )
                              }
                            )
                          }
                        ),
                        a!columnLayout(
                          contents: {
                            a!richTextDisplayField(
                              label: &amp;quot;Cost Sum&amp;quot;,
                              value: {
                                a!defaultValue(
                                  ri!record[&amp;#39;recordType!{a4feb9b1-4e07-45c1-8802-e7fe88b94dc7}W1731SA Vehicle.fields.{a43d0038-1140-4a28-a279-79b697a67630}costSum&amp;#39;],
                                  &amp;quot;–&amp;quot;
                                )
                              }
                            )
                          }
                        )
                      },
                      marginAbove: &amp;quot;STANDARD&amp;quot;
                    ),
                    a!columnsLayout(
                      columns: {
                        a!columnLayout(
                          contents: {
                            a!richTextDisplayField(
                              label: &amp;quot;Count Of Maintenance Requests&amp;quot;,
                              value: {
                                a!defaultValue(
                                  ri!record[&amp;#39;recordType!{a4feb9b1-4e07-45c1-8802-e7fe88b94dc7}W1731SA Vehicle.fields.{9bbbc182-54c3-4263-b58a-1c6a5af0c11f}countOfMaintenanceRequests&amp;#39;],
                                  &amp;quot;–&amp;quot;
                                )
                              }
                            )
                          }
                        ),
                        a!columnLayout(
                          contents: {}
                        ),
                        a!columnLayout(
                          contents: {}
                        )
                      },
                      marginAbove: &amp;quot;STANDARD&amp;quot;
                    )
                  },
                  shape: &amp;quot;SEMI_ROUNDED&amp;quot;,
                  padding: &amp;quot;STANDARD&amp;quot;
                )
              },
              marginBelow: &amp;quot;MORE&amp;quot;
            ),
            a!sectionLayout(
              label: &amp;quot;W1731sa Maintenance&amp;quot;,
              labelSize: &amp;quot;MEDIUM&amp;quot;,
              labelColor: &amp;quot;STANDARD&amp;quot;,
              contents: {
                a!cardLayout(
                  contents: {
                    a!gridField(
                      label: &amp;quot;W1731sa Maintenance&amp;quot;,
                      labelPosition: &amp;quot;COLLAPSED&amp;quot;,
                      data: a!recordData(
                        recordType: &amp;#39;recordType!{0af82f56-04cc-4f39-afab-6dd334c09858}W1731SA Maintenance&amp;#39;,
                        filters: a!queryLogicalExpression(
                          operator: &amp;quot;AND&amp;quot;,
                          filters: {
                            a!queryFilter(
                              field: &amp;#39;recordType!{0af82f56-04cc-4f39-afab-6dd334c09858}W1731SA Maintenance.fields.{0a9a64a2-3a36-4054-b5de-b506150265f6}vehicleId&amp;#39;,
                              operator: &amp;quot;=&amp;quot;,
                              value: ri!record[&amp;#39;recordType!{a4feb9b1-4e07-45c1-8802-e7fe88b94dc7}W1731SA Vehicle.fields.{47c10c8b-83f1-49d0-9c36-ab4d9c912573}id&amp;#39;]
                            )
                          },
                          ignoreFiltersWithEmptyValues: true
                        )
                      ),
                      columns: {
                        a!gridColumn(
                          label: &amp;quot;Id&amp;quot;,
                          sortField: &amp;#39;recordType!{0af82f56-04cc-4f39-afab-6dd334c09858}W1731SA Maintenance.fields.{62a14481-de90-4aa7-88fd-b42d781de2a3}id&amp;#39;,
                          value: a!richTextDisplayField(
                            value: {
                              a!richTextItem(
                                text: if(
                                  fv!row[&amp;#39;recordType!{0af82f56-04cc-4f39-afab-6dd334c09858}W1731SA Maintenance.fields.{62a14481-de90-4aa7-88fd-b42d781de2a3}id&amp;#39;] &amp;lt; 100000,
                                  text(
                                    fv!row[&amp;#39;recordType!{0af82f56-04cc-4f39-afab-6dd334c09858}W1731SA Maintenance.fields.{62a14481-de90-4aa7-88fd-b42d781de2a3}id&amp;#39;],
                                    &amp;quot;#00000&amp;quot;
                                  ),
                                  fv!row[&amp;#39;recordType!{0af82f56-04cc-4f39-afab-6dd334c09858}W1731SA Maintenance.fields.{62a14481-de90-4aa7-88fd-b42d781de2a3}id&amp;#39;]
                                ),
                                link: a!recordLink(
                                  recordType: &amp;#39;recordType!{0af82f56-04cc-4f39-afab-6dd334c09858}W1731SA Maintenance&amp;#39;,
                                  identifier: fv!identifier
                                ),
                                linkStyle: &amp;quot;STANDALONE&amp;quot;
                              )
                            }
                          )
                        ),
                        a!gridColumn(
                          label: &amp;quot;Vehicle Id&amp;quot;,
                          sortField: &amp;#39;recordType!{0af82f56-04cc-4f39-afab-6dd334c09858}W1731SA Maintenance.fields.{0a9a64a2-3a36-4054-b5de-b506150265f6}vehicleId&amp;#39;,
                          value: a!defaultValue(fv!row[&amp;#39;recordType!{0af82f56-04cc-4f39-afab-6dd334c09858}W1731SA Maintenance.fields.{0a9a64a2-3a36-4054-b5de-b506150265f6}vehicleId&amp;#39;], &amp;quot;–&amp;quot;),
                          align: &amp;quot;END&amp;quot;
                        ),
                        a!gridColumn(
                          label: &amp;quot;Issue&amp;quot;,
                          sortField: &amp;#39;recordType!{0af82f56-04cc-4f39-afab-6dd334c09858}W1731SA Maintenance.fields.{f3b22a51-4b64-48bf-aa57-3134702b055c}issue&amp;#39;,
                          value: a!defaultValue(fv!row[&amp;#39;recordType!{0af82f56-04cc-4f39-afab-6dd334c09858}W1731SA Maintenance.fields.{f3b22a51-4b64-48bf-aa57-3134702b055c}issue&amp;#39;], &amp;quot;–&amp;quot;)
                        ),
                        a!gridColumn(
                          label: &amp;quot;Is Scheduled&amp;quot;,
                          sortField: &amp;#39;recordType!{0af82f56-04cc-4f39-afab-6dd334c09858}W1731SA Maintenance.fields.{9c49aa56-97aa-4e11-96ac-80ef17385ee2}isScheduled&amp;#39;,
                          value: if(
                            isnull(fv!row[&amp;#39;recordType!{0af82f56-04cc-4f39-afab-6dd334c09858}W1731SA Maintenance.fields.{9c49aa56-97aa-4e11-96ac-80ef17385ee2}isScheduled&amp;#39;]),
                            &amp;quot;–&amp;quot;,
                            a!richTextDisplayField(
                              value: if(
                                fv!row[&amp;#39;recordType!{0af82f56-04cc-4f39-afab-6dd334c09858}W1731SA Maintenance.fields.{9c49aa56-97aa-4e11-96ac-80ef17385ee2}isScheduled&amp;#39;],
                                a!richTextIcon(
                                  icon: &amp;quot;check&amp;quot;,
                                  altText: &amp;quot;Yes&amp;quot;,
                                  color: &amp;quot;#138901&amp;quot;
                                ),
                                a!richTextIcon(
                                  icon: &amp;quot;times&amp;quot;,
                                  altText: &amp;quot;No&amp;quot;,
                                  color: &amp;quot;SECONDARY&amp;quot;
                                )
                              )
                            )
                          ),
                          align: &amp;quot;CENTER&amp;quot;
                        ),
                        a!gridColumn(
                          label: &amp;quot;Status&amp;quot;,
                          sortField: &amp;#39;recordType!{0af82f56-04cc-4f39-afab-6dd334c09858}W1731SA Maintenance.fields.{d1c52fb0-da04-4b7c-8fe3-f59cd65524d9}status&amp;#39;,
                          value: a!defaultValue(fv!row[&amp;#39;recordType!{0af82f56-04cc-4f39-afab-6dd334c09858}W1731SA Maintenance.fields.{d1c52fb0-da04-4b7c-8fe3-f59cd65524d9}status&amp;#39;], &amp;quot;–&amp;quot;)
                        ),
                        a!gridColumn(
                          label: &amp;quot;Start Date&amp;quot;,
                          sortField: &amp;#39;recordType!{0af82f56-04cc-4f39-afab-6dd334c09858}W1731SA Maintenance.fields.{6b6bcef1-b65c-482a-997e-071af005b00b}startDate&amp;#39;,
                          value: a!defaultValue(fv!row[&amp;#39;recordType!{0af82f56-04cc-4f39-afab-6dd334c09858}W1731SA Maintenance.fields.{6b6bcef1-b65c-482a-997e-071af005b00b}startDate&amp;#39;], &amp;quot;–&amp;quot;),
                          align: &amp;quot;END&amp;quot;
                        ),
                        a!gridColumn(
                          label: &amp;quot;End Date&amp;quot;,
                          sortField: &amp;#39;recordType!{0af82f56-04cc-4f39-afab-6dd334c09858}W1731SA Maintenance.fields.{cf0609f3-864d-4c77-89e4-2390f35a8935}endDate&amp;#39;,
                          value: a!defaultValue(fv!row[&amp;#39;recordType!{0af82f56-04cc-4f39-afab-6dd334c09858}W1731SA Maintenance.fields.{cf0609f3-864d-4c77-89e4-2390f35a8935}endDate&amp;#39;], &amp;quot;–&amp;quot;),
                          align: &amp;quot;END&amp;quot;
                        ),
                        a!gridColumn(
                          label: &amp;quot;Cost&amp;quot;,
                          sortField: &amp;#39;recordType!{0af82f56-04cc-4f39-afab-6dd334c09858}W1731SA Maintenance.fields.{40d53887-e373-4186-b112-1a815e99057f}cost&amp;#39;,
                          value: a!defaultValue(fv!row[&amp;#39;recordType!{0af82f56-04cc-4f39-afab-6dd334c09858}W1731SA Maintenance.fields.{40d53887-e373-4186-b112-1a815e99057f}cost&amp;#39;], &amp;quot;–&amp;quot;),
                          align: &amp;quot;END&amp;quot;
                        ),
                        a!gridColumn(
                          label: &amp;quot;Assigned Mechanic&amp;quot;,
                          sortField: &amp;#39;recordType!{0af82f56-04cc-4f39-afab-6dd334c09858}W1731SA Maintenance.fields.{1fd4d92c-1f95-4d1f-8a09-884f2a2f333e}assignedMechanic&amp;#39;,
                          value: a!defaultValue(fv!row[&amp;#39;recordType!{0af82f56-04cc-4f39-afab-6dd334c09858}W1731SA Maintenance.fields.{1fd4d92c-1f95-4d1f-8a09-884f2a2f333e}assignedMechanic&amp;#39;], &amp;quot;–&amp;quot;)
                        ),
                        a!gridColumn(
                          label: &amp;quot;Created By&amp;quot;,
                          sortField: &amp;#39;recordType!{0af82f56-04cc-4f39-afab-6dd334c09858}W1731SA Maintenance.fields.{8f9bee44-7d9b-4947-b421-81e073962194}createdBy&amp;#39;,
                          value: a!defaultValue(fv!row[&amp;#39;recordType!{0af82f56-04cc-4f39-afab-6dd334c09858}W1731SA Maintenance.fields.{8f9bee44-7d9b-4947-b421-81e073962194}createdBy&amp;#39;], &amp;quot;–&amp;quot;)
                        ),
                        a!gridColumn(
                          label: &amp;quot;Created On&amp;quot;,
                          sortField: &amp;#39;recordType!{0af82f56-04cc-4f39-afab-6dd334c09858}W1731SA Maintenance.fields.{d534c9d1-2285-45fc-8f0d-82468e635195}createdOn&amp;#39;,
                          value: a!defaultValue(fv!row[&amp;#39;recordType!{0af82f56-04cc-4f39-afab-6dd334c09858}W1731SA Maintenance.fields.{d534c9d1-2285-45fc-8f0d-82468e635195}createdOn&amp;#39;], &amp;quot;–&amp;quot;),
                          align: &amp;quot;END&amp;quot;
                        ),
                        a!gridColumn(
                          label: &amp;quot;Modified&amp;quot;,
                          sortField: &amp;#39;recordType!{0af82f56-04cc-4f39-afab-6dd334c09858}W1731SA Maintenance.fields.{0273b8c2-f4bd-404f-badf-1fc34bf13300}modifiedOn&amp;#39;,
                          value: a!richTextDisplayField(
                            value: a!localVariables(
                              local!isUserValueBlank: isnull(fv!row[&amp;#39;recordType!{0af82f56-04cc-4f39-afab-6dd334c09858}W1731SA Maintenance.fields.{f07dd2a8-11a8-4619-8b67-05011e1a3ede}modifiedBy&amp;#39;]),
                              local!isTimeValueBlank: isnull(fv!row[&amp;#39;recordType!{0af82f56-04cc-4f39-afab-6dd334c09858}W1731SA Maintenance.fields.{0273b8c2-f4bd-404f-badf-1fc34bf13300}modifiedOn&amp;#39;]),
                              if(
                                and(
                                  local!isUserValueBlank,
                                  local!isTimeValueBlank
                                ),
                                &amp;quot;–&amp;quot;,
                                {
                                  if(
                                    local!isTimeValueBlank,
                                    &amp;quot;–&amp;quot;,
                                    datetext(fv!row[&amp;#39;recordType!{0af82f56-04cc-4f39-afab-6dd334c09858}W1731SA Maintenance.fields.{0273b8c2-f4bd-404f-badf-1fc34bf13300}modifiedOn&amp;#39;], &amp;quot;default&amp;quot;)
                                  ),
                                  char(10),
                                  a!richTextItem(
                                    text: if(
                                      local!isUserValueBlank,
                                      &amp;quot;–&amp;quot;,
                                      user(fv!row[&amp;#39;recordType!{0af82f56-04cc-4f39-afab-6dd334c09858}W1731SA Maintenance.fields.{f07dd2a8-11a8-4619-8b67-05011e1a3ede}modifiedBy&amp;#39;], &amp;quot;firstName&amp;quot;) &amp;amp; &amp;quot; &amp;quot; &amp;amp; user(fv!row[&amp;#39;recordType!{0af82f56-04cc-4f39-afab-6dd334c09858}W1731SA Maintenance.fields.{f07dd2a8-11a8-4619-8b67-05011e1a3ede}modifiedBy&amp;#39;], &amp;quot;lastName&amp;quot;)
                                    ),
                                    color: &amp;quot;SECONDARY&amp;quot;
                                  )
                                }
                              )
                            )
                          ),
                          align: &amp;quot;START&amp;quot;,
                          width: &amp;quot;NARROW_PLUS&amp;quot;
                        )
                      },
                      pageSize: 5,
                      rowHeader: 1,
                      showSearchBox: true,
                      showRefreshButton: true,
                      borderStyle: &amp;quot;LIGHT&amp;quot;,
                      shadeAlternateRows: false,
                      refreshAfter: &amp;quot;RECORD_ACTION&amp;quot;
                    )
                  },
                  shape: &amp;quot;SEMI_ROUNDED&amp;quot;,
                  padding: &amp;quot;STANDARD&amp;quot;
                )
              },
              marginBelow: &amp;quot;MORE&amp;quot;
            )
          }
        ),
        a!columnLayout(
          width: &amp;quot;MEDIUM&amp;quot;,
          contents: {
            a!sectionLayout(
              label: &amp;quot;Contacts&amp;quot;,
              labelSize: &amp;quot;MEDIUM&amp;quot;,
              labelColor: &amp;quot;STANDARD&amp;quot;,
              contents: {
                a!cardLayout(
                  contents: {
                    a!sideBySideLayout(
                      items: {
                        a!sideBySideItem(
                          width: &amp;quot;MINIMIZE&amp;quot;,
                          item: a!imageField(
                            labelPosition: &amp;quot;COLLAPSED&amp;quot;,
                            size: &amp;quot;EXTRA_SMALL&amp;quot;,
                            style: &amp;quot;AVATAR&amp;quot;,
                            images: a!userImage(
                              user: ri!record[&amp;#39;recordType!{a4feb9b1-4e07-45c1-8802-e7fe88b94dc7}W1731SA Vehicle.fields.{17d2f292-fe43-4f50-bb89-9944bf24daf3}addedBy&amp;#39;]
                            )
                          )
                        ),
                        a!sideBySideItem(
                          item: a!richTextDisplayField(
                            labelPosition: &amp;quot;COLLAPSED&amp;quot;,
                            value: {
                              if(
                                a!isNullOrEmpty(ri!record[&amp;#39;recordType!{a4feb9b1-4e07-45c1-8802-e7fe88b94dc7}W1731SA Vehicle.fields.{17d2f292-fe43-4f50-bb89-9944bf24daf3}addedBy&amp;#39;]),
                                a!richTextItem(
                                  text: {
                                    &amp;quot;-&amp;quot;
                                  }
                                ),
                                a!richTextItem(
                                  text: {
                                    user(
                                      ri!record[&amp;#39;recordType!{a4feb9b1-4e07-45c1-8802-e7fe88b94dc7}W1731SA Vehicle.fields.{17d2f292-fe43-4f50-bb89-9944bf24daf3}addedBy&amp;#39;],
                                      &amp;quot;firstName&amp;quot;
                                    ) &amp;amp; &amp;quot; &amp;quot; &amp;amp; user(
                                      ri!record[&amp;#39;recordType!{a4feb9b1-4e07-45c1-8802-e7fe88b94dc7}W1731SA Vehicle.fields.{17d2f292-fe43-4f50-bb89-9944bf24daf3}addedBy&amp;#39;],
                                      &amp;quot;lastName&amp;quot;
                                    )
                                  },
                                  color: &amp;quot;ACCENT&amp;quot;,
                                  style: {
                                    &amp;quot;STRONG&amp;quot;
                                  }
                                )
                              ),
                              char(10),
                              a!richTextItem(
                                text: {
                                  &amp;quot;Added By&amp;quot;
                                },
                                color: &amp;quot;SECONDARY&amp;quot;
                              )
                            }
                          )
                        )
                      },
                      alignVertical: &amp;quot;MIDDLE&amp;quot;
                    )
                  },
                  shape: &amp;quot;SEMI_ROUNDED&amp;quot;,
                  padding: &amp;quot;LESS&amp;quot;,
                  marginBelow: &amp;quot;STANDARD&amp;quot;,
                  link: if(
                    a!isNullOrEmpty(ri!record[&amp;#39;recordType!{a4feb9b1-4e07-45c1-8802-e7fe88b94dc7}W1731SA Vehicle.fields.{17d2f292-fe43-4f50-bb89-9944bf24daf3}addedBy&amp;#39;]),
                    null,
                    a!userRecordLink(
                      user: ri!record[&amp;#39;recordType!{a4feb9b1-4e07-45c1-8802-e7fe88b94dc7}W1731SA Vehicle.fields.{17d2f292-fe43-4f50-bb89-9944bf24daf3}addedBy&amp;#39;]
                    )
                  )
                ),
                a!cardLayout(
                  contents: {
                    a!sideBySideLayout(
                      items: {
                        a!sideBySideItem(
                          width: &amp;quot;MINIMIZE&amp;quot;,
                          item: a!imageField(
                            labelPosition: &amp;quot;COLLAPSED&amp;quot;,
                            size: &amp;quot;EXTRA_SMALL&amp;quot;,
                            style: &amp;quot;AVATAR&amp;quot;,
                            images: a!userImage(
                              user: ri!record[&amp;#39;recordType!{a4feb9b1-4e07-45c1-8802-e7fe88b94dc7}W1731SA Vehicle.fields.{069662ad-d53c-41ea-87d0-eeb15ab6b455}modifiedBy&amp;#39;]
                            )
                          )
                        ),
                        a!sideBySideItem(
                          item: a!richTextDisplayField(
                            labelPosition: &amp;quot;COLLAPSED&amp;quot;,
                            value: {
                              if(
                                a!isNullOrEmpty(ri!record[&amp;#39;recordType!{a4feb9b1-4e07-45c1-8802-e7fe88b94dc7}W1731SA Vehicle.fields.{069662ad-d53c-41ea-87d0-eeb15ab6b455}modifiedBy&amp;#39;]),
                                a!richTextItem(
                                  text: {
                                    &amp;quot;-&amp;quot;
                                  }
                                ),
                                a!richTextItem(
                                  text: {
                                    user(
                                      ri!record[&amp;#39;recordType!{a4feb9b1-4e07-45c1-8802-e7fe88b94dc7}W1731SA Vehicle.fields.{069662ad-d53c-41ea-87d0-eeb15ab6b455}modifiedBy&amp;#39;],
                                      &amp;quot;firstName&amp;quot;
                                    ) &amp;amp; &amp;quot; &amp;quot; &amp;amp; user(
                                      ri!record[&amp;#39;recordType!{a4feb9b1-4e07-45c1-8802-e7fe88b94dc7}W1731SA Vehicle.fields.{069662ad-d53c-41ea-87d0-eeb15ab6b455}modifiedBy&amp;#39;],
                                      &amp;quot;lastName&amp;quot;
                                    )
                                  },
                                  color: &amp;quot;ACCENT&amp;quot;,
                                  style: {
                                    &amp;quot;STRONG&amp;quot;
                                  }
                                )
                              ),
                              char(10),
                              a!richTextItem(
                                text: {
                                  &amp;quot;Modified By&amp;quot;
                                },
                                color: &amp;quot;SECONDARY&amp;quot;
                              )
                            }
                          )
                        )
                      },
                      alignVertical: &amp;quot;MIDDLE&amp;quot;
                    )
                  },
                  shape: &amp;quot;SEMI_ROUNDED&amp;quot;,
                  padding: &amp;quot;LESS&amp;quot;,
                  marginBelow: &amp;quot;STANDARD&amp;quot;,
                  link: if(
                    a!isNullOrEmpty(ri!record[&amp;#39;recordType!{a4feb9b1-4e07-45c1-8802-e7fe88b94dc7}W1731SA Vehicle.fields.{069662ad-d53c-41ea-87d0-eeb15ab6b455}modifiedBy&amp;#39;]),
                    null,
                    a!userRecordLink(
                      user: ri!record[&amp;#39;recordType!{a4feb9b1-4e07-45c1-8802-e7fe88b94dc7}W1731SA Vehicle.fields.{069662ad-d53c-41ea-87d0-eeb15ab6b455}modifiedBy&amp;#39;]
                    )
                  )
                )
              },
              marginBelow: &amp;quot;MORE&amp;quot;
            ),
            a!sectionLayout(
              label: &amp;quot;Event History&amp;quot;,
              labelSize: &amp;quot;MEDIUM&amp;quot;,
              labelColor: &amp;quot;STANDARD&amp;quot;,
              contents: {
                a!cardLayout(
                  contents: {
                    a!eventHistoryListField(
                      eventStyle: &amp;quot;LIST_WITH_COMMENTS&amp;quot;,
                      labelPosition: &amp;quot;COLLAPSED&amp;quot;,
                      refreshAfter: &amp;quot;RECORD_ACTION&amp;quot;,
                      commentLayout: &amp;quot;LIST&amp;quot;,
                      commentCardColor: &amp;quot;TRANSPARENT&amp;quot;,
                      pageSize: 3,
                      displayUser: &amp;quot;IMAGE&amp;quot;,
                      showSearchBox: false,
                      showReverseSortButton: false,
                      eventData: a!eventData(
                        recordType: &amp;#39;recordType!{456287ee-e90f-431a-80f0-a0437dfb0db7}W W1731SA Vehicle Event History&amp;#39;,
                        user: &amp;#39;recordType!{456287ee-e90f-431a-80f0-a0437dfb0db7}W W1731SA Vehicle Event History.fields.{b5046fbd-a861-4317-8ba3-6e9512cdb491}user&amp;#39;,
                        timestamp: &amp;#39;recordType!{456287ee-e90f-431a-80f0-a0437dfb0db7}W W1731SA Vehicle Event History.fields.{c86c70ee-4047-4e2e-90dd-8237dce71e89}timestamp&amp;#39;,
                        comment: &amp;#39;recordType!{456287ee-e90f-431a-80f0-a0437dfb0db7}W W1731SA Vehicle Event History.fields.{17b5adf5-217c-4857-823a-569be37dc5bd}comment&amp;#39;,
                        allowUsersToComment: true,
                        allowUsersToReply: false,
                        baseRecordIdForComment: ri!record[&amp;#39;recordType!{a4feb9b1-4e07-45c1-8802-e7fe88b94dc7}W1731SA Vehicle.fields.{47c10c8b-83f1-49d0-9c36-ab4d9c912573}id&amp;#39;],
                        eventTypeName: fv!data[&amp;#39;recordType!{456287ee-e90f-431a-80f0-a0437dfb0db7}W W1731SA Vehicle Event History.relationships.{445ca83a-a801-4f9d-8da3-2e092b36b06a}eventType.fields.{be45591f-4ad6-448f-8a1c-6fca1134da80}eventName&amp;#39;],
                        filters: a!queryFilter(
                          field: &amp;#39;recordType!{456287ee-e90f-431a-80f0-a0437dfb0db7}W W1731SA Vehicle Event History.fields.{49d152bb-27da-459b-8faf-a5c67ad01f16}recordId&amp;#39;,
                          operator: &amp;quot;=&amp;quot;,
                          value: ri!record[&amp;#39;recordType!{a4feb9b1-4e07-45c1-8802-e7fe88b94dc7}W1731SA Vehicle.fields.{47c10c8b-83f1-49d0-9c36-ab4d9c912573}id&amp;#39;]
                        )
                      )
                    )
                  },
                  shape: &amp;quot;SEMI_ROUNDED&amp;quot;,
                  padding: &amp;quot;LESS&amp;quot;
                )
              },
              marginBelow: &amp;quot;MORE&amp;quot;
            )
          }
        ),
        a!columnLayout(
          showWhen: a!isPageWidth({ &amp;quot;DESKTOP&amp;quot;, &amp;quot;DESKTOP_WIDE&amp;quot; }),
          contents: {}
        )
      },
      marginAbove: &amp;quot;MORE&amp;quot;,
      spacing: &amp;quot;SPARSE&amp;quot;,
      stackWhen: {
        &amp;quot;TABLET_PORTRAIT&amp;quot;,
        &amp;quot;PHONE&amp;quot;
      }
    )
  },
  backgroundColor: &amp;quot;#fbfbfb&amp;quot;
)&lt;/pre&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre id="tw-target-text" class="tw-data-text tw-text-large tw-ta" dir="ltr" data-placeholder="Tradu&amp;ccedil;&amp;atilde;o" data-ved="2ahUKEwiY-Me82beMAxUwBLkGHby5CT0Q3ewLegQICBAV"&gt;&lt;span class="Y2IQFc" lang="en"&gt;&lt;/span&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Build an Application: Step-by-Step #8 Exercise to Accompany Interfaces 101</title><link>https://community.appian.com/thread/146669?ContentTypeID=1</link><pubDate>Fri, 28 Mar 2025 02:45:38 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:881a2568-f212-431b-a1f1-364348e24e51</guid><dc:creator>Vyshnavi Naripeddi</dc:creator><description>&lt;p class="" data-start="0" data-end="246"&gt;Based on the &lt;code data-start="13" data-end="37"&gt;[InvalidUserException]&lt;/code&gt; error, it seems that the provided username is &lt;code data-start="88" data-end="94"&gt;NOT NULL&lt;/code&gt;, but the specified user does not exist in Appian. If the username is&amp;nbsp;&lt;code data-start="178" data-end="184"&gt;NULL&lt;/code&gt;, the error would have been &lt;strong data-start="212" data-end="244"&gt;&amp;quot;&lt;span&gt;Expression evaluation error at function &amp;#39;user&amp;#39;: Null argument not allowed&lt;/span&gt;&amp;quot;&lt;/strong&gt;&lt;/p&gt;
&lt;p class="" data-start="248" data-end="477"&gt;To prevent this issue, you can use the &lt;code data-start="287" data-end="306"&gt;a!usernametaken()&lt;/code&gt; function to verify if the username exists before calling the &lt;code data-start="373" data-end="381"&gt;user()&lt;/code&gt; function.&lt;/p&gt;
&lt;p class="" data-start="248" data-end="477"&gt;Could you share the code snippet of the &lt;code data-start="40" data-end="56"&gt;a!gridColumn()&lt;/code&gt; configuration where you&amp;#39;re facing the issue?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>