<?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>updating data</title><link>https://community.appian.com/discussions/f/general/34725/updating-data</link><description>Hello devs, I need your help. I have two records: &amp;#39;account&amp;#39; and &amp;#39;transaction&amp;#39;, and the &amp;#39;balance&amp;#39; field of &amp;#39;account&amp;#39; varies based on the value of the &amp;#39;Amount&amp;#39; field of &amp;#39;Transaction&amp;#39;. I&amp;#39;ve added conditions to update the &amp;#39;Balance&amp;#39; (in the saveInto function</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: updating data</title><link>https://community.appian.com/thread/135238?ContentTypeID=1</link><pubDate>Mon, 13 May 2024 13:50:15 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:efb6a0a4-7da9-42d0-be31-8edd6316ce44</guid><dc:creator>MelissaClanton</dc:creator><description>&lt;p&gt;Thank you so much for the solution.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: updating data</title><link>https://community.appian.com/thread/133868?ContentTypeID=1</link><pubDate>Fri, 19 Apr 2024 12:38:57 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:cd3456bd-f27e-4642-90a5-63ce6ff6f1fb</guid><dc:creator>Shubham Aware</dc:creator><description>&lt;p&gt;That shouldn&amp;#39;t happen. Check your code properly.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: updating data</title><link>https://community.appian.com/thread/133844?ContentTypeID=1</link><pubDate>Fri, 19 Apr 2024 10:25:28 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:782dc6ee-741f-4286-971d-c0a4dca6c45b</guid><dc:creator>hrshkar</dc:creator><description>&lt;p&gt;thanks alot for your help yes i use writeRecord() but it update the field only&amp;nbsp; if i test it in the interface , if i do the test in my site the update is not working&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: updating data</title><link>https://community.appian.com/thread/133840?ContentTypeID=1</link><pubDate>Fri, 19 Apr 2024 10:10:16 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:cfc7885b-260e-444f-a815-ceb93c2d337f</guid><dc:creator>Shubham Aware</dc:creator><description>&lt;p&gt;&lt;a href="/members/yasminea4528"&gt;hrshkar&lt;/a&gt;&amp;nbsp; I would advice you to go through this&amp;nbsp;documentation.&lt;br /&gt;&lt;br /&gt;&lt;a href="https://docs.appian.com/suite/help/24.1/recipe-use-the-write-records-smart-service-function-on-an-interface.html#:~:text=trigger%20the%20a!-,writeRecords()%20smart%20service%20function.,application%2C%20click%20NEW%20%3E%20Interface."&gt;https://docs.appian.com/suite/help/24.1/recipe-use-the-write-records-smart-service-function-on-an-interface.html#:~:text=trigger%20the%20a!-,writeRecords()%20smart%20service%20function.,application%2C%20click%20NEW%20%3E%20Interface.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;You have several ways of doing this but I would suggest you to use &lt;a href="https://docs.appian.com/suite/help/24.1/Write_Records_Smart_Service.html#:~:text=writeRecords()%20function%20to%20create,function%20in%20the%20submit%20button.&amp;amp;text=Let&amp;#39;s%20say%20you%20want%20to,new%20status%20option%20for%20orders."&gt;writeRecord().&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: updating data</title><link>https://community.appian.com/thread/133839?ContentTypeID=1</link><pubDate>Fri, 19 Apr 2024 10:03:42 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:373da75f-e5c6-4546-a1be-02fad0c59081</guid><dc:creator>hrshkar</dc:creator><description>&lt;p&gt;&amp;nbsp;thank&amp;nbsp; you ! But i want the data to be updated in my record base too&lt;/p&gt;
&lt;p&gt;So that the &amp;quot;solde&amp;quot; displayed in my interface is the&amp;nbsp; correct solde&amp;nbsp;after creating a transaction&amp;nbsp; &amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: updating data</title><link>https://community.appian.com/thread/133838?ContentTypeID=1</link><pubDate>Fri, 19 Apr 2024 10:01:09 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a9ba13bd-68a5-4c8d-8dc5-855d009ae81b</guid><dc:creator>Shubham Aware</dc:creator><description>&lt;p&gt;Perfect! Happy to hear that &lt;a href="/members/yasminea4528"&gt;hrshkar&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: updating data</title><link>https://community.appian.com/thread/133836?ContentTypeID=1</link><pubDate>Fri, 19 Apr 2024 10:00:04 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bd968b17-ef7a-42b5-aeae-5d564b422819</guid><dc:creator>hrshkar</dc:creator><description>&lt;p&gt;Thank you ! it works when i test&amp;nbsp; the interface&amp;nbsp;&lt;img style="height:auto;max-width:320px;" alt=" " src="/resized-image/__size/640x0/__key/communityserver-discussions-components-files/11/pastedimage1713520767416v1.png" /&gt;&amp;nbsp;but not in the dataBase and the record&amp;nbsp;&lt;img style="max-height:240px;width:auto;" alt=" " src="/resized-image/__size/0x480/__key/communityserver-discussions-components-files/11/pastedimage1713520792844v2.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: updating data</title><link>https://community.appian.com/thread/133833?ContentTypeID=1</link><pubDate>Fri, 19 Apr 2024 09:51:26 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9635fac0-2a6d-4f3d-8f9d-54b5e8d63bcb</guid><dc:creator>Shubham Aware</dc:creator><description>&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!localVariables(
  local!currentUserAccount : rule!PBY_getaccountbyid(&amp;quot;test&amp;quot;),
  local!newBalance : 
  if(
    and(
      a!isNotNullOrEmpty(
        ri!record[&amp;#39;recordType!{ad2b45c4-cbc3-4de4-a189-c5593ad5032b}.fields.{e57ce205-d18d-4eb2-83ee-f669e5c56ab1}&amp;#39;]
      ),
      a!isNotNullOrEmpty(
        local!currentUserAccount
      ),
      ri!record[&amp;#39;recordType!{ad2b45c4-cbc3-4de4-a189-c5593ad5032b}.fields.{e57ce205-d18d-4eb2-83ee-f669e5c56ab1}&amp;#39;] &amp;gt;= 0
    ),
    local!currentUserAccount + ri!record[&amp;#39;recordType!{ad2b45c4-cbc3-4de4-a189-c5593ad5032b}.fields.{e57ce205-d18d-4eb2-83ee-f669e5c56ab1}&amp;#39;],
    0
  ),

  local!typeValue: if(
    ri!record[&amp;#39;recordType!{ad2b45c4-cbc3-4de4-a189-c5593ad5032b}.fields.{7c7b6fd3-57be-4b83-8c0e-4e9ac46f0ed3}&amp;#39;] = &amp;quot;Virement interne&amp;quot;,
    &amp;quot;Virement interne&amp;quot;,
    if(
      ri!record[&amp;#39;recordType!{ad2b45c4-cbc3-4de4-a189-c5593ad5032b}.fields.{7c7b6fd3-57be-4b83-8c0e-4e9ac46f0ed3}&amp;#39;] = &amp;quot;Virement externe&amp;quot;,
      &amp;quot;Virement externe&amp;quot;,
      null()
    )
  ),
  a!formLayout(
    label: if(
      ri!isUpdate,
      &amp;quot;Update transaction&amp;quot;,
      &amp;quot;Create transaction&amp;quot;
    ),
    contents: {
      a!columnsLayout(
        columns: {
          a!columnLayout(
            contents: {
              a!dropdownField(
                choiceLabels: {&amp;quot;Virement interne&amp;quot;,&amp;quot;Virement externe&amp;quot;,},
                choiceValues: {&amp;quot;Virement interne&amp;quot;,&amp;quot;Virement externe&amp;quot;,},
                label: &amp;quot;Type transaction&amp;quot;,
                labelPosition: &amp;quot;ABOVE&amp;quot;,
                placeholder: &amp;quot;Selectionner le type de virement&amp;quot;,
                saveInto: ri!record[&amp;#39;recordType!{ad2b45c4-cbc3-4de4-a189-c5593ad5032b}.fields.{7c7b6fd3-57be-4b83-8c0e-4e9ac46f0ed3}&amp;#39;],
                value : local!typeValue,
                searchDisplay: &amp;quot;AUTO&amp;quot;,
                validations: {}
              ),
              /*a!textField(*/
              /*label: &amp;quot;Type Transaction&amp;quot;,*/
              /*labelPosition: &amp;quot;ABOVE&amp;quot;,*/
              /*value: ri!record[&amp;#39;recordType!{ad2b45c4-cbc3-4de4-a189-c5593ad5032b}PBY transaction.fields.{7c7b6fd3-57be-4b83-8c0e-4e9ac46f0ed3}TypeTransaction&amp;#39;],*/
              /*saveInto: ri!record[&amp;#39;recordType!{ad2b45c4-cbc3-4de4-a189-c5593ad5032b}PBY transaction.fields.{7c7b6fd3-57be-4b83-8c0e-4e9ac46f0ed3}TypeTransaction&amp;#39;],*/
              /*characterLimit: 255,*/
              /*required: false*/
              /*),*/
              a!integerField(
                label: &amp;quot;Somme&amp;quot;,
                labelPosition: &amp;quot;ABOVE&amp;quot;,
                value: ri!record[&amp;#39;recordType!{ad2b45c4-cbc3-4de4-a189-c5593ad5032b}.fields.{e57ce205-d18d-4eb2-83ee-f669e5c56ab1}&amp;#39;],
                saveInto: ri!record[&amp;#39;recordType!{ad2b45c4-cbc3-4de4-a189-c5593ad5032b}.fields.{e57ce205-d18d-4eb2-83ee-f669e5c56ab1}&amp;#39;],
                required: false
              ),
              a!textField(
                label: &amp;quot;Discription&amp;quot;,
                labelPosition: &amp;quot;ABOVE&amp;quot;,
                value: ri!record[&amp;#39;recordType!{ad2b45c4-cbc3-4de4-a189-c5593ad5032b}.fields.{ab543c07-1cb7-49d8-84a7-f62d36e9b438}&amp;#39;],
                saveInto: ri!record[&amp;#39;recordType!{ad2b45c4-cbc3-4de4-a189-c5593ad5032b}.fields.{ab543c07-1cb7-49d8-84a7-f62d36e9b438}&amp;#39;],
                characterLimit: 255,
                required: false
              )
            }
          ),
          a!columnLayout(
            contents: {
              a!pickerFieldRecords(
                label: &amp;quot;Compte Utilisateur&amp;quot;,
                labelPosition: &amp;quot;ABOVE&amp;quot;,
                placeholder: &amp;quot;Select a Account&amp;quot;,
                maxSelections: 1,
                recordType: &amp;#39;recordType!{b37748b2-8103-41ea-8028-2b358e4f229c}&amp;#39;,
                value: ri!record[&amp;#39;recordType!{ad2b45c4-cbc3-4de4-a189-c5593ad5032b}.fields.{30901144-d5a7-4d96-8411-68ef7cef8a04}&amp;#39;],
                saveInto: ri!record[&amp;#39;recordType!{ad2b45c4-cbc3-4de4-a189-c5593ad5032b}.fields.{30901144-d5a7-4d96-8411-68ef7cef8a04}&amp;#39;]
              ),
              a!dateTimeField(
                label: &amp;quot;Date&amp;quot;,
                labelPosition: &amp;quot;ABOVE&amp;quot;,
                value: ri!record[&amp;#39;recordType!{ad2b45c4-cbc3-4de4-a189-c5593ad5032b}.fields.{2f45e501-55aa-4cda-907f-cd99cf82e7cc}&amp;#39;],
                saveInto: ri!record[&amp;#39;recordType!{ad2b45c4-cbc3-4de4-a189-c5593ad5032b}.fields.{2f45e501-55aa-4cda-907f-cd99cf82e7cc}&amp;#39;],
                required: false
              ),
              /*a!pickerFieldRecords(*/
              /*label: &amp;quot;&amp;quot;,*/
              /*labelPosition: &amp;quot;ABOVE&amp;quot;,*/
              /*placeholder: &amp;quot;Select a User&amp;quot;,*/
              /*maxSelections: 1,*/
              /*recordType: &amp;#39;recordType!{4fd8023a-5200-4bb0-af2d-7bed73fb330b}PBY user&amp;#39;,*/
              /*value: ri!record[&amp;#39;recordType!{ad2b45c4-cbc3-4de4-a189-c5593ad5032b}PBY transaction.fields.{692a0a51-d46d-4fee-a10e-aad2f90cb201}userId&amp;#39;],*/
              /*saveInto: ri!record[&amp;#39;recordType!{ad2b45c4-cbc3-4de4-a189-c5593ad5032b}PBY transaction.fields.{692a0a51-d46d-4fee-a10e-aad2f90cb201}userId&amp;#39;]*/
              /*)*/
            }
          )
        }
      )
    },
    buttons: a!buttonLayout(
      primaryButtons: {
        a!buttonWidget(
          saveInto: {
            a!save(
              target: local!currentUserAccount,
              value: a!update(local!currentUserAccount , &amp;#39;recordType!{b37748b2-8103-41ea-8028-2b358e4f229c}.fields.{4a9de4b2-f127-44f1-86d2-21c2a6b2ee2d}&amp;#39;, local!newBalance), 
            ),
          },
          label: if(ri!isUpdate, &amp;quot;Save&amp;quot;, &amp;quot;Create&amp;quot;),
          submit: true,
          style: &amp;quot;SOLID&amp;quot;,
          validate: true
        )
      },
      secondaryButtons: {
        a!buttonWidget(
          label: &amp;quot;Cancel&amp;quot;,
          value: true,
          saveInto: ri!cancel,
          submit: true,
          style: &amp;quot;OUTLINE&amp;quot;,
          validate: false
        )
      }
    )
  )
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: updating data</title><link>https://community.appian.com/thread/133832?ContentTypeID=1</link><pubDate>Fri, 19 Apr 2024 09:47:49 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b55d8602-287f-4ffc-a137-2f56c9fdfe9e</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;You need to use a!save() inside a saveInto to manipulate data.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: updating data</title><link>https://community.appian.com/thread/133831?ContentTypeID=1</link><pubDate>Fri, 19 Apr 2024 09:46:29 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f10ee3d2-d854-4f23-a53e-46f85f310c65</guid><dc:creator>hrshkar</dc:creator><description>&lt;p&gt;It gives me this error :&amp;nbsp;&lt;strong class="StrongText---richtext_strong StrongText---inMessageLayout StrongText---error"&gt;Could not display interface. Please check definition and inputs.&lt;/strong&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;Interface Definition: Expression evaluation error [evaluation ID = 60b37:5d843] : An error occurred while executing a save: Expression evaluation error: You must specify a variable to save into, such as ri!name &amp;lt;&amp;lt; fn!sum. Received: b37748b2-8103-41ea-8028-2b358e4f229c.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: updating data</title><link>https://community.appian.com/thread/133828?ContentTypeID=1</link><pubDate>Fri, 19 Apr 2024 09:43:28 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1ac73358-0615-46d6-9e4d-c79aa838a03f</guid><dc:creator>Shubham Aware</dc:creator><description>&lt;p&gt;&lt;br /&gt;Check below code.&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!localVariables(
  local!currentUserAccount : rule!PBY_getaccountbyid(&amp;quot;test&amp;quot;),
  local!newBalance : 
  if(
    and(
      a!isNotNullOrEmpty(
        ri!record[&amp;#39;recordType!{ad2b45c4-cbc3-4de4-a189-c5593ad5032b}.fields.{e57ce205-d18d-4eb2-83ee-f669e5c56ab1}&amp;#39;]
      ),
      a!isNotNullOrEmpty(
        local!currentUserAccount
      ),
      ri!record[&amp;#39;recordType!{ad2b45c4-cbc3-4de4-a189-c5593ad5032b}.fields.{e57ce205-d18d-4eb2-83ee-f669e5c56ab1}&amp;#39;] &amp;gt;= 0
    ),
    local!currentUserAccount + ri!record[&amp;#39;recordType!{ad2b45c4-cbc3-4de4-a189-c5593ad5032b}.fields.{e57ce205-d18d-4eb2-83ee-f669e5c56ab1}&amp;#39;],
    0
  ),

  local!typeValue: if(
    ri!record[&amp;#39;recordType!{ad2b45c4-cbc3-4de4-a189-c5593ad5032b}.fields.{7c7b6fd3-57be-4b83-8c0e-4e9ac46f0ed3}&amp;#39;] = &amp;quot;Virement interne&amp;quot;,
    &amp;quot;Virement interne&amp;quot;,
    if(
      ri!record[&amp;#39;recordType!{ad2b45c4-cbc3-4de4-a189-c5593ad5032b}.fields.{7c7b6fd3-57be-4b83-8c0e-4e9ac46f0ed3}&amp;#39;] = &amp;quot;Virement externe&amp;quot;,
      &amp;quot;Virement externe&amp;quot;,
      null()
    )
  ),
  a!formLayout(
    label: if(
      ri!isUpdate,
      &amp;quot;Update transaction&amp;quot;,
      &amp;quot;Create transaction&amp;quot;
    ),
    contents: {
      a!columnsLayout(
        columns: {
          a!columnLayout(
            contents: {
              a!dropdownField(
                choiceLabels: {&amp;quot;Virement interne&amp;quot;,&amp;quot;Virement externe&amp;quot;,},
                choiceValues: {&amp;quot;Virement interne&amp;quot;,&amp;quot;Virement externe&amp;quot;,},
                label: &amp;quot;Type transaction&amp;quot;,
                labelPosition: &amp;quot;ABOVE&amp;quot;,
                placeholder: &amp;quot;Selectionner le type de virement&amp;quot;,
                saveInto: ri!record[&amp;#39;recordType!{ad2b45c4-cbc3-4de4-a189-c5593ad5032b}.fields.{7c7b6fd3-57be-4b83-8c0e-4e9ac46f0ed3}&amp;#39;],
                value : local!typeValue,
                searchDisplay: &amp;quot;AUTO&amp;quot;,
                validations: {}
              ),
              /*a!textField(*/
              /*label: &amp;quot;Type Transaction&amp;quot;,*/
              /*labelPosition: &amp;quot;ABOVE&amp;quot;,*/
              /*value: ri!record[&amp;#39;recordType!{ad2b45c4-cbc3-4de4-a189-c5593ad5032b}PBY transaction.fields.{7c7b6fd3-57be-4b83-8c0e-4e9ac46f0ed3}TypeTransaction&amp;#39;],*/
              /*saveInto: ri!record[&amp;#39;recordType!{ad2b45c4-cbc3-4de4-a189-c5593ad5032b}PBY transaction.fields.{7c7b6fd3-57be-4b83-8c0e-4e9ac46f0ed3}TypeTransaction&amp;#39;],*/
              /*characterLimit: 255,*/
              /*required: false*/
              /*),*/
              a!integerField(
                label: &amp;quot;Somme&amp;quot;,
                labelPosition: &amp;quot;ABOVE&amp;quot;,
                value: ri!record[&amp;#39;recordType!{ad2b45c4-cbc3-4de4-a189-c5593ad5032b}.fields.{e57ce205-d18d-4eb2-83ee-f669e5c56ab1}&amp;#39;],
                saveInto: ri!record[&amp;#39;recordType!{ad2b45c4-cbc3-4de4-a189-c5593ad5032b}.fields.{e57ce205-d18d-4eb2-83ee-f669e5c56ab1}&amp;#39;],
                required: false
              ),
              a!textField(
                label: &amp;quot;Discription&amp;quot;,
                labelPosition: &amp;quot;ABOVE&amp;quot;,
                value: ri!record[&amp;#39;recordType!{ad2b45c4-cbc3-4de4-a189-c5593ad5032b}.fields.{ab543c07-1cb7-49d8-84a7-f62d36e9b438}&amp;#39;],
                saveInto: ri!record[&amp;#39;recordType!{ad2b45c4-cbc3-4de4-a189-c5593ad5032b}.fields.{ab543c07-1cb7-49d8-84a7-f62d36e9b438}&amp;#39;],
                characterLimit: 255,
                required: false
              )
            }
          ),
          a!columnLayout(
            contents: {
              a!pickerFieldRecords(
                label: &amp;quot;Compte Utilisateur&amp;quot;,
                labelPosition: &amp;quot;ABOVE&amp;quot;,
                placeholder: &amp;quot;Select a Account&amp;quot;,
                maxSelections: 1,
                recordType: &amp;#39;recordType!{b37748b2-8103-41ea-8028-2b358e4f229c}&amp;#39;,
                value: ri!record[&amp;#39;recordType!{ad2b45c4-cbc3-4de4-a189-c5593ad5032b}.fields.{30901144-d5a7-4d96-8411-68ef7cef8a04}&amp;#39;],
                saveInto: ri!record[&amp;#39;recordType!{ad2b45c4-cbc3-4de4-a189-c5593ad5032b}.fields.{30901144-d5a7-4d96-8411-68ef7cef8a04}&amp;#39;]
              ),
              a!dateTimeField(
                label: &amp;quot;Date&amp;quot;,
                labelPosition: &amp;quot;ABOVE&amp;quot;,
                value: ri!record[&amp;#39;recordType!{ad2b45c4-cbc3-4de4-a189-c5593ad5032b}.fields.{2f45e501-55aa-4cda-907f-cd99cf82e7cc}&amp;#39;],
                saveInto: ri!record[&amp;#39;recordType!{ad2b45c4-cbc3-4de4-a189-c5593ad5032b}.fields.{2f45e501-55aa-4cda-907f-cd99cf82e7cc}&amp;#39;],
                required: false
              ),
              /*a!pickerFieldRecords(*/
              /*label: &amp;quot;&amp;quot;,*/
              /*labelPosition: &amp;quot;ABOVE&amp;quot;,*/
              /*placeholder: &amp;quot;Select a User&amp;quot;,*/
              /*maxSelections: 1,*/
              /*recordType: &amp;#39;recordType!{4fd8023a-5200-4bb0-af2d-7bed73fb330b}PBY user&amp;#39;,*/
              /*value: ri!record[&amp;#39;recordType!{ad2b45c4-cbc3-4de4-a189-c5593ad5032b}PBY transaction.fields.{692a0a51-d46d-4fee-a10e-aad2f90cb201}userId&amp;#39;],*/
              /*saveInto: ri!record[&amp;#39;recordType!{ad2b45c4-cbc3-4de4-a189-c5593ad5032b}PBY transaction.fields.{692a0a51-d46d-4fee-a10e-aad2f90cb201}userId&amp;#39;]*/
              /*)*/
            }
          )
        }
      )
    },
    buttons: a!buttonLayout(
      primaryButtons: {
        a!buttonWidget(
          saveInto: {
            a!save(
              target: local!currentUserAccount,
              value: a!update(local!currentUserAccount , &amp;#39;recordType!{b37748b2-8103-41ea-8028-2b358e4f229c}.fields.{4a9de4b2-f127-44f1-86d2-21c2a6b2ee2d}&amp;#39;, local!newBalance), 
            ),
          },
          label: if(ri!isUpdate, &amp;quot;Save&amp;quot;, &amp;quot;Create&amp;quot;),
          submit: true,
          style: &amp;quot;SOLID&amp;quot;,
          validate: true
        )
      },
      secondaryButtons: {
        a!buttonWidget(
          label: &amp;quot;Cancel&amp;quot;,
          value: true,
          saveInto: ri!cancel,
          submit: true,
          style: &amp;quot;OUTLINE&amp;quot;,
          validate: false
        )
      }
    )
  )
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: updating data</title><link>https://community.appian.com/thread/133823?ContentTypeID=1</link><pubDate>Fri, 19 Apr 2024 09:30:04 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:24764c68-f543-4829-9def-2ebd0a9a414b</guid><dc:creator>hrshkar</dc:creator><description>&lt;p&gt;Thanks alot for you answers , when i try to give a value to my &amp;quot;somme&amp;quot; field i got this error :&amp;nbsp;&lt;strong class="StrongText---richtext_strong StrongText---inMessageLayout StrongText---error"&gt;Could not display interface. Please check definition and inputs.&lt;/strong&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;Interface Definition: Expression evaluation error : Cannot add incompatible operands of type b37748b2-8103-41ea-8028-2b358e4f229c and type Number (Integer).&amp;nbsp;&amp;nbsp;&lt;img style="height:auto;max-width:320px;" alt=" " src="/resized-image/__size/640x0/__key/communityserver-discussions-components-files/11/pastedimage1713519116490v1.png" /&gt;&amp;nbsp;eventhougth &amp;quot;Solde&amp;quot; is equal to 1000 in the local!UserAccount record&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: updating data</title><link>https://community.appian.com/thread/133820?ContentTypeID=1</link><pubDate>Fri, 19 Apr 2024 09:25:04 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bd17de21-1e20-4335-ba4a-3259d35dd286</guid><dc:creator>Shubham Aware</dc:creator><description>&lt;p&gt;&lt;span&gt;local!currentUserAccount that&amp;#39;s not defined properly.&lt;br /&gt;&lt;br /&gt;Check this code.&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!localVariables(
  local!currentUserAccount : rule!PBY_getaccountbyid(&amp;quot;test&amp;quot;),
  local!newBalance : 
  if(
    and(
      a!isNotNullOrEmpty(
        ri!record[&amp;#39;recordType!{ad2b45c4-cbc3-4de4-a189-c5593ad5032b}.fields.{e57ce205-d18d-4eb2-83ee-f669e5c56ab1}&amp;#39;]
      ),
      a!isNotNullOrEmpty(
        local!currentUserAccount
      ),
      ri!record[&amp;#39;recordType!{ad2b45c4-cbc3-4de4-a189-c5593ad5032b}.fields.{e57ce205-d18d-4eb2-83ee-f669e5c56ab1}&amp;#39;] &amp;gt;= 0
    ),
    local!currentUserAccount + ri!record[&amp;#39;recordType!{ad2b45c4-cbc3-4de4-a189-c5593ad5032b}.fields.{e57ce205-d18d-4eb2-83ee-f669e5c56ab1}&amp;#39;],
    0
  ),

  local!typeValue: if(
    ri!record[&amp;#39;recordType!{ad2b45c4-cbc3-4de4-a189-c5593ad5032b}.fields.{7c7b6fd3-57be-4b83-8c0e-4e9ac46f0ed3}&amp;#39;] = &amp;quot;Virement interne&amp;quot;,
    &amp;quot;Virement interne&amp;quot;,
    if(
      ri!record[&amp;#39;recordType!{ad2b45c4-cbc3-4de4-a189-c5593ad5032b}.fields.{7c7b6fd3-57be-4b83-8c0e-4e9ac46f0ed3}&amp;#39;] = &amp;quot;Virement externe&amp;quot;,
      &amp;quot;Virement externe&amp;quot;,
      null()
    )
  ),
  a!formLayout(
    label: if(
      ri!isUpdate,
      &amp;quot;Update transaction&amp;quot;,
      &amp;quot;Create transaction&amp;quot;
    ),
    contents: {
      a!columnsLayout(
        columns: {
          a!columnLayout(
            contents: {
              a!dropdownField(
                choiceLabels: {&amp;quot;Virement interne&amp;quot;,&amp;quot;Virement externe&amp;quot;,},
                choiceValues: {&amp;quot;Virement interne&amp;quot;,&amp;quot;Virement externe&amp;quot;,},
                label: &amp;quot;Type transaction&amp;quot;,
                labelPosition: &amp;quot;ABOVE&amp;quot;,
                placeholder: &amp;quot;Selectionner le type de virement&amp;quot;,
                saveInto: ri!record[&amp;#39;recordType!{ad2b45c4-cbc3-4de4-a189-c5593ad5032b}.fields.{7c7b6fd3-57be-4b83-8c0e-4e9ac46f0ed3}&amp;#39;],
                value : local!typeValue,
                searchDisplay: &amp;quot;AUTO&amp;quot;,
                validations: {}
              ),
              /*a!textField(*/
              /*label: &amp;quot;Type Transaction&amp;quot;,*/
              /*labelPosition: &amp;quot;ABOVE&amp;quot;,*/
              /*value: ri!record[&amp;#39;recordType!{ad2b45c4-cbc3-4de4-a189-c5593ad5032b}PBY transaction.fields.{7c7b6fd3-57be-4b83-8c0e-4e9ac46f0ed3}TypeTransaction&amp;#39;],*/
              /*saveInto: ri!record[&amp;#39;recordType!{ad2b45c4-cbc3-4de4-a189-c5593ad5032b}PBY transaction.fields.{7c7b6fd3-57be-4b83-8c0e-4e9ac46f0ed3}TypeTransaction&amp;#39;],*/
              /*characterLimit: 255,*/
              /*required: false*/
              /*),*/
              a!integerField(
                label: &amp;quot;Somme&amp;quot;,
                labelPosition: &amp;quot;ABOVE&amp;quot;,
                value: ri!record[&amp;#39;recordType!{ad2b45c4-cbc3-4de4-a189-c5593ad5032b}.fields.{e57ce205-d18d-4eb2-83ee-f669e5c56ab1}&amp;#39;],
                saveInto: ri!record[&amp;#39;recordType!{ad2b45c4-cbc3-4de4-a189-c5593ad5032b}.fields.{e57ce205-d18d-4eb2-83ee-f669e5c56ab1}&amp;#39;],
                required: false
              ),
              a!textField(
                label: &amp;quot;Discription&amp;quot;,
                labelPosition: &amp;quot;ABOVE&amp;quot;,
                value: ri!record[&amp;#39;recordType!{ad2b45c4-cbc3-4de4-a189-c5593ad5032b}.fields.{ab543c07-1cb7-49d8-84a7-f62d36e9b438}&amp;#39;],
                saveInto: ri!record[&amp;#39;recordType!{ad2b45c4-cbc3-4de4-a189-c5593ad5032b}.fields.{ab543c07-1cb7-49d8-84a7-f62d36e9b438}&amp;#39;],
                characterLimit: 255,
                required: false
              )
            }
          ),
          a!columnLayout(
            contents: {
              a!pickerFieldRecords(
                label: &amp;quot;Compte Utilisateur&amp;quot;,
                labelPosition: &amp;quot;ABOVE&amp;quot;,
                placeholder: &amp;quot;Select a Account&amp;quot;,
                maxSelections: 1,
                recordType: &amp;#39;recordType!{b37748b2-8103-41ea-8028-2b358e4f229c}&amp;#39;,
                value: ri!record[&amp;#39;recordType!{ad2b45c4-cbc3-4de4-a189-c5593ad5032b}.fields.{30901144-d5a7-4d96-8411-68ef7cef8a04}&amp;#39;],
                saveInto: ri!record[&amp;#39;recordType!{ad2b45c4-cbc3-4de4-a189-c5593ad5032b}.fields.{30901144-d5a7-4d96-8411-68ef7cef8a04}&amp;#39;]
              ),
              a!dateTimeField(
                label: &amp;quot;Date&amp;quot;,
                labelPosition: &amp;quot;ABOVE&amp;quot;,
                value: ri!record[&amp;#39;recordType!{ad2b45c4-cbc3-4de4-a189-c5593ad5032b}.fields.{2f45e501-55aa-4cda-907f-cd99cf82e7cc}&amp;#39;],
                saveInto: ri!record[&amp;#39;recordType!{ad2b45c4-cbc3-4de4-a189-c5593ad5032b}.fields.{2f45e501-55aa-4cda-907f-cd99cf82e7cc}&amp;#39;],
                required: false
              ),
              /*a!pickerFieldRecords(*/
              /*label: &amp;quot;&amp;quot;,*/
              /*labelPosition: &amp;quot;ABOVE&amp;quot;,*/
              /*placeholder: &amp;quot;Select a User&amp;quot;,*/
              /*maxSelections: 1,*/
              /*recordType: &amp;#39;recordType!{4fd8023a-5200-4bb0-af2d-7bed73fb330b}PBY user&amp;#39;,*/
              /*value: ri!record[&amp;#39;recordType!{ad2b45c4-cbc3-4de4-a189-c5593ad5032b}PBY transaction.fields.{692a0a51-d46d-4fee-a10e-aad2f90cb201}userId&amp;#39;],*/
              /*saveInto: ri!record[&amp;#39;recordType!{ad2b45c4-cbc3-4de4-a189-c5593ad5032b}PBY transaction.fields.{692a0a51-d46d-4fee-a10e-aad2f90cb201}userId&amp;#39;]*/
              /*)*/
            }
          )
        }
      )
    },
    buttons: a!buttonLayout(
      primaryButtons: {
        a!buttonWidget(
          saveInto: {
            a!save(
              target: local!currentUserAccount[&amp;#39;recordType!{b37748b2-8103-41ea-8028-2b358e4f229c}.fields.{4a9de4b2-f127-44f1-86d2-21c2a6b2ee2d}&amp;#39;],
              value: a!update(local!currentUserAccount , &amp;#39;recordType!{b37748b2-8103-41ea-8028-2b358e4f229c}.fields.{4a9de4b2-f127-44f1-86d2-21c2a6b2ee2d}&amp;#39; , local!newBalance), 
            ),
          },
          label: if(ri!isUpdate, &amp;quot;Save&amp;quot;, &amp;quot;Create&amp;quot;),
          submit: true,
          style: &amp;quot;SOLID&amp;quot;,
          validate: true
        )
      },
      secondaryButtons: {
        a!buttonWidget(
          label: &amp;quot;Cancel&amp;quot;,
          value: true,
          saveInto: ri!cancel,
          submit: true,
          style: &amp;quot;OUTLINE&amp;quot;,
          validate: false
        )
      }
    )
  )
)&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: updating data</title><link>https://community.appian.com/thread/133819?ContentTypeID=1</link><pubDate>Fri, 19 Apr 2024 09:18:12 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:79fc2b80-e882-4b46-908b-87dd7ed1a08b</guid><dc:creator>hrshkar</dc:creator><description>&lt;p&gt;im new to appian and i don&amp;#39;t know why it gives me this error when i try to correct my code and impliment what you have said this is my code : &amp;quot;&lt;strong class="StrongText---richtext_strong StrongText---inMessageLayout StrongText---error"&gt;Could not display interface. Please check definition and inputs.&lt;/strong&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;Interface Definition: Expression evaluation error : Could not find variable &amp;#39;local!currentUserAccount&amp;#39;&lt;/span&gt;&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!localVariables(
  local!newBalance : 
  if(
    and(
      a!isNotNullOrEmpty(
        ri!record[&amp;#39;recordType!{ad2b45c4-cbc3-4de4-a189-c5593ad5032b}PBY transaction.fields.{e57ce205-d18d-4eb2-83ee-f669e5c56ab1}somme&amp;#39;]
      ),
      a!isNotNullOrEmpty(
        local!currentUserAccount
      ),
      ri!record[&amp;#39;recordType!{ad2b45c4-cbc3-4de4-a189-c5593ad5032b}PBY transaction.fields.{e57ce205-d18d-4eb2-83ee-f669e5c56ab1}somme&amp;#39;] &amp;gt;= 0
    ),
    local!currentUserAccount + ri!record[&amp;#39;recordType!{ad2b45c4-cbc3-4de4-a189-c5593ad5032b}PBY transaction.fields.{e57ce205-d18d-4eb2-83ee-f669e5c56ab1}somme&amp;#39;],
    0
  ),
local!currentUserAccount : rule!PBY_getaccountbyid(&amp;quot;test&amp;quot;),
  local!typeValue: if(
    ri!record[&amp;#39;recordType!{ad2b45c4-cbc3-4de4-a189-c5593ad5032b}PBY transaction.fields.{7c7b6fd3-57be-4b83-8c0e-4e9ac46f0ed3}TypeTransaction&amp;#39;] = &amp;quot;Virement interne&amp;quot;,
    &amp;quot;Virement interne&amp;quot;,
    if(
      ri!record[&amp;#39;recordType!{ad2b45c4-cbc3-4de4-a189-c5593ad5032b}PBY transaction.fields.{7c7b6fd3-57be-4b83-8c0e-4e9ac46f0ed3}TypeTransaction&amp;#39;] = &amp;quot;Virement externe&amp;quot;,
      &amp;quot;Virement externe&amp;quot;,
      null()
    )
  ),
a!formLayout(
  label: if(
    ri!isUpdate,
    &amp;quot;Update transaction&amp;quot;,
    &amp;quot;Create transaction&amp;quot;
  ),
  contents: {
    a!columnsLayout(
      columns: {
        a!columnLayout(
          contents: {
            a!dropdownField(
              choiceLabels: {&amp;quot;Virement interne&amp;quot;,&amp;quot;Virement externe&amp;quot;,},
              choiceValues: {&amp;quot;Virement interne&amp;quot;,&amp;quot;Virement externe&amp;quot;,},
              label: &amp;quot;Type transaction&amp;quot;,
              labelPosition: &amp;quot;ABOVE&amp;quot;,
              placeholder: &amp;quot;Selectionner le type de virement&amp;quot;,
              saveInto: ri!record[&amp;#39;recordType!{ad2b45c4-cbc3-4de4-a189-c5593ad5032b}PBY transaction.fields.{7c7b6fd3-57be-4b83-8c0e-4e9ac46f0ed3}TypeTransaction&amp;#39;],
              value : local!typeValue,
              searchDisplay: &amp;quot;AUTO&amp;quot;,
              validations: {}
            ),
            /*a!textField(*/
              /*label: &amp;quot;Type Transaction&amp;quot;,*/
              /*labelPosition: &amp;quot;ABOVE&amp;quot;,*/
              /*value: ri!record[&amp;#39;recordType!{ad2b45c4-cbc3-4de4-a189-c5593ad5032b}PBY transaction.fields.{7c7b6fd3-57be-4b83-8c0e-4e9ac46f0ed3}TypeTransaction&amp;#39;],*/
              /*saveInto: ri!record[&amp;#39;recordType!{ad2b45c4-cbc3-4de4-a189-c5593ad5032b}PBY transaction.fields.{7c7b6fd3-57be-4b83-8c0e-4e9ac46f0ed3}TypeTransaction&amp;#39;],*/
              /*characterLimit: 255,*/
              /*required: false*/
            /*),*/
            a!integerField(
              label: &amp;quot;Somme&amp;quot;,
              labelPosition: &amp;quot;ABOVE&amp;quot;,
              value: ri!record[&amp;#39;recordType!{ad2b45c4-cbc3-4de4-a189-c5593ad5032b}PBY transaction.fields.{e57ce205-d18d-4eb2-83ee-f669e5c56ab1}somme&amp;#39;],
              saveInto: ri!record[&amp;#39;recordType!{ad2b45c4-cbc3-4de4-a189-c5593ad5032b}PBY transaction.fields.{e57ce205-d18d-4eb2-83ee-f669e5c56ab1}somme&amp;#39;],
              required: false
            ),
            a!textField(
              label: &amp;quot;Discription&amp;quot;,
              labelPosition: &amp;quot;ABOVE&amp;quot;,
              value: ri!record[&amp;#39;recordType!{ad2b45c4-cbc3-4de4-a189-c5593ad5032b}PBY transaction.fields.{ab543c07-1cb7-49d8-84a7-f62d36e9b438}disc&amp;#39;],
              saveInto: ri!record[&amp;#39;recordType!{ad2b45c4-cbc3-4de4-a189-c5593ad5032b}PBY transaction.fields.{ab543c07-1cb7-49d8-84a7-f62d36e9b438}disc&amp;#39;],
              characterLimit: 255,
              required: false
            )
          }
        ),
        a!columnLayout(
          contents: {
            a!pickerFieldRecords(
              label: &amp;quot;Compte Utilisateur&amp;quot;,
              labelPosition: &amp;quot;ABOVE&amp;quot;,
              placeholder: &amp;quot;Select a Account&amp;quot;,
              maxSelections: 1,
              recordType: &amp;#39;recordType!{b37748b2-8103-41ea-8028-2b358e4f229c}PBY account&amp;#39;,
              value: ri!record[&amp;#39;recordType!{ad2b45c4-cbc3-4de4-a189-c5593ad5032b}PBY transaction.fields.{30901144-d5a7-4d96-8411-68ef7cef8a04}accountId&amp;#39;],
              saveInto: ri!record[&amp;#39;recordType!{ad2b45c4-cbc3-4de4-a189-c5593ad5032b}PBY transaction.fields.{30901144-d5a7-4d96-8411-68ef7cef8a04}accountId&amp;#39;]
            ),
            a!dateTimeField(
              label: &amp;quot;Date&amp;quot;,
              labelPosition: &amp;quot;ABOVE&amp;quot;,
              value: ri!record[&amp;#39;recordType!{ad2b45c4-cbc3-4de4-a189-c5593ad5032b}PBY transaction.fields.{2f45e501-55aa-4cda-907f-cd99cf82e7cc}date&amp;#39;],
              saveInto: ri!record[&amp;#39;recordType!{ad2b45c4-cbc3-4de4-a189-c5593ad5032b}PBY transaction.fields.{2f45e501-55aa-4cda-907f-cd99cf82e7cc}date&amp;#39;],
              required: false
            ),
            /*a!pickerFieldRecords(*/
              /*label: &amp;quot;&amp;quot;,*/
              /*labelPosition: &amp;quot;ABOVE&amp;quot;,*/
              /*placeholder: &amp;quot;Select a User&amp;quot;,*/
              /*maxSelections: 1,*/
              /*recordType: &amp;#39;recordType!{4fd8023a-5200-4bb0-af2d-7bed73fb330b}PBY user&amp;#39;,*/
              /*value: ri!record[&amp;#39;recordType!{ad2b45c4-cbc3-4de4-a189-c5593ad5032b}PBY transaction.fields.{692a0a51-d46d-4fee-a10e-aad2f90cb201}userId&amp;#39;],*/
              /*saveInto: ri!record[&amp;#39;recordType!{ad2b45c4-cbc3-4de4-a189-c5593ad5032b}PBY transaction.fields.{692a0a51-d46d-4fee-a10e-aad2f90cb201}userId&amp;#39;]*/
            /*)*/
          }
        )
      }
    )
  },
  buttons: a!buttonLayout(
    primaryButtons: {
      a!buttonWidget(
        saveInto: {
          a!save(
            target: local!currentUserAccount[&amp;#39;recordType!{b37748b2-8103-41ea-8028-2b358e4f229c}PBY account.fields.{4a9de4b2-f127-44f1-86d2-21c2a6b2ee2d}Solde&amp;#39;],
            value: a!update(local!currentUserAccount , &amp;#39;recordType!{b37748b2-8103-41ea-8028-2b358e4f229c}PBY account.fields.{4a9de4b2-f127-44f1-86d2-21c2a6b2ee2d}Solde&amp;#39; , local!newBalance), 
          ),
        },
        label: if(ri!isUpdate, &amp;quot;Save&amp;quot;, &amp;quot;Create&amp;quot;),
        submit: true,
        style: &amp;quot;SOLID&amp;quot;,
        validate: true
      )
    },
    secondaryButtons: {
      a!buttonWidget(
        label: &amp;quot;Cancel&amp;quot;,
        value: true,
        saveInto: ri!cancel,
        submit: true,
        style: &amp;quot;OUTLINE&amp;quot;,
        validate: false
      )
    }
  )
)
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: updating data</title><link>https://community.appian.com/thread/133813?ContentTypeID=1</link><pubDate>Fri, 19 Apr 2024 08:56:35 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8a1c8ca5-73fa-4761-bc67-9a10060fad50</guid><dc:creator>Shubham Aware</dc:creator><description>&lt;p&gt;Yes! As per my understanding from your issue mentioned.&lt;br /&gt;Try doing it what i suggested once.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: updating data</title><link>https://community.appian.com/thread/133808?ContentTypeID=1</link><pubDate>Fri, 19 Apr 2024 08:45:48 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6052b8f6-508a-45d0-bcc6-a08a3f6d08b2</guid><dc:creator>hrshkar</dc:creator><description>&lt;p&gt;the &amp;quot;Account&amp;quot; record shouldn&amp;#39;t be passed to my interface as a ri ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: updating data</title><link>https://community.appian.com/thread/133806?ContentTypeID=1</link><pubDate>Fri, 19 Apr 2024 08:40:26 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:72a39518-908a-4cc6-b778-28c369997fb5</guid><dc:creator>Shubham Aware</dc:creator><description>&lt;p&gt;In saveInto, update the real account, not rule!Input. Use queryRecord to get from Account record(transaction.accountId) to fetch it. Calculate new balance based on transaction type and amount. Simply update the account&amp;#39;s Balance with &lt;a href="https://docs.appian.com/suite/help/24.1/fnc_array_a_update.html"&gt;update&lt;/a&gt;(account, Balance, newBalance). Save the transaction record as usual.&lt;br /&gt;Let me know if that works for you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: updating data</title><link>https://community.appian.com/thread/133805?ContentTypeID=1</link><pubDate>Fri, 19 Apr 2024 08:38:32 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8fefe07f-1b1a-4ede-b486-f44f25bbb255</guid><dc:creator>hrshkar</dc:creator><description>&lt;p&gt;&lt;span&gt;Thanks for answering me ! Yes, how do I update the record field if I test it in the process model or in the Site&lt;/span&gt;&lt;span&gt;? Because in my case, the record balance is updated only if I test the interface that contains the &amp;#39;Create Transaction&amp;#39; button ( if i do a test in the interface that contain the code) .&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: updating data</title><link>https://community.appian.com/thread/133804?ContentTypeID=1</link><pubDate>Fri, 19 Apr 2024 08:34:09 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:92b86e63-a03c-4f5d-a039-d1d9f65f1234</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;How do you implement&amp;nbsp;the update to the DB?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>