<?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>Page refresh or redirect on after button press</title><link>https://community.appian.com/discussions/f/new-to-appian/25654/page-refresh-or-redirect-on-after-button-press</link><description>Hi! 
 I have an issue with refreshing a page. I&amp;#39;ve got a read-only grid and a delete button. After I choose some of the rows a press delete, which launches &amp;quot;a!startProcess&amp;quot; function; the problem is that I don&amp;#39;t know how to refresh or redirect in that</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Page refresh or redirect on after button press</title><link>https://community.appian.com/thread/100309?ContentTypeID=1</link><pubDate>Mon, 29 Aug 2022 14:42:43 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b93c8b5c-2ae9-483c-adff-d118857c8e4d</guid><dc:creator>Mike Schmitt</dc:creator><description>[quote userid="59361" url="~/discussions/f/new-to-appian/25654/page-refresh-or-redirect-on-after-button-press/100307#100307"]OK. Your a!queryEntity does not know that it should refresh. [/quote]
&lt;p&gt;I&amp;#39;m a little fuzzy on this too, though I assumed since a!gridField() has its own &amp;quot;refresh on var change&amp;quot; then it might &amp;quot;know&amp;quot; how to force the queryEntity to refresh, similarly to having a queryEntity in a refreshVariable (the other primary thing that contains a &amp;quot;refresh on var change&amp;quot; parameter).&lt;/p&gt;
&lt;p&gt;My current guess is that his process is not configured correctly - since if it doesn&amp;#39;t chain all the way to the WTDS / DFDSE node that handles the &amp;quot;delete item&amp;quot; functionality (regardless of whichever method is being used), the data won&amp;#39;t refresh from the StartProcess completion either way.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Page refresh or redirect on after button press</title><link>https://community.appian.com/thread/100308?ContentTypeID=1</link><pubDate>Mon, 29 Aug 2022 14:41:18 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b2fc08f1-0962-4226-9b93-b008b055eead</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;That&amp;#39;s better of course, though what I was really hoping was that you might edit the original comment to move the code into a code box..&lt;br /&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/62/pastedimage1661784059511v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;That said - I&amp;#39;d have to guess that what you have here should work, provided your process is configured correctly.&amp;nbsp; What change is happening in the process that you&amp;#39;d expect to see reflected in the grid upon completion?&amp;nbsp; And can you post a screenshot of your completed process instance?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Page refresh or redirect on after button press</title><link>https://community.appian.com/thread/100307?ContentTypeID=1</link><pubDate>Mon, 29 Aug 2022 14:41:09 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7f8c0abe-1149-4bae-a40f-32b9cd1fa75d</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;OK. Your a!queryEntity does not know that it should refresh. I suggest to fetch the data in a global a!localVariables, add local!refreshCounter and a refreshOnVarChange on the local variables holding the data. Then increase that counter as Mike suggested.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Page refresh or redirect on after button press</title><link>https://community.appian.com/thread/100306?ContentTypeID=1</link><pubDate>Mon, 29 Aug 2022 14:37:44 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a4e349cd-98f2-4ed2-b483-2fde683e4b1a</guid><dc:creator>Vladislav Morozov</dc:creator><description>&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!localVariables(
  local!searchProvince: null,
  local!searchLastName: null,
  local!searchPhoneNumber: null,
  local!customerIDs: null,
  {
    a!columnsLayout(
      columns: {
        a!columnLayout(
          contents: {
            a!textField(
              label: &amp;quot;Filter province&amp;quot;,
              labelPosition: &amp;quot;ABOVE&amp;quot;,
              placeholder: &amp;quot;-- Enter a province--&amp;quot;,
              value: local!searchProvince,
              saveInto: local!searchProvince,
              refreshAfter: &amp;quot;UNFOCUS&amp;quot;,
              validations: {}
            )
          }
        ),
        a!columnLayout(
          contents: {
            a!textField(
              label: &amp;quot;Filter Last Name&amp;quot;,
              labelPosition: &amp;quot;ABOVE&amp;quot;,
              placeholder: &amp;quot;-- Enter a last name --&amp;quot;,
              value: local!searchLastName,
              saveInto: local!searchLastName,
              refreshAfter: &amp;quot;UNFOCUS&amp;quot;,
              validations: {}
            )
          }
        ),
        a!columnLayout(
          contents: {
            a!textField(
              label: &amp;quot;Filter Phone Number&amp;quot;,
              labelPosition: &amp;quot;ABOVE&amp;quot;,
              placeholder: &amp;quot;-- Enter a phone number --&amp;quot;,
              value: local!searchPhoneNumber,
              saveInto: local!searchPhoneNumber,
              refreshAfter: &amp;quot;UNFOCUS&amp;quot;,
              validations: {}
            )
          }
        )
      }
    ),
  a!gridField(
    label: &amp;quot;Customer Details&amp;quot;,
    labelPosition: &amp;quot;ABOVE&amp;quot;,
    data: a!queryEntity(
      entity: cons!CD_CUSTOMERDETAILS_DSE,
      query: a!query(
        logicalExpression: a!queryLogicalExpression(
          operator: &amp;quot;AND&amp;quot;,
          filters: {
            a!queryFilter(
              field: &amp;quot;province&amp;quot;,
              operator: &amp;quot;includes&amp;quot;,
              value: local!searchProvince
            ),
            a!queryFilter(
              field: &amp;quot;lastName&amp;quot;,
              operator: &amp;quot;includes&amp;quot;,
              value: local!searchLastName
            ),
            a!queryFilter(
              field: &amp;quot;phoneNumber&amp;quot;,
              operator: &amp;quot;=&amp;quot;,
              value: local!searchPhoneNumber
            )
          },
          ignoreFiltersWithEmptyValues: true
        ),
        pagingInfo: fv!pagingInfo
      ),
      fetchTotalCount: true
    ),
    columns: {
      a!gridColumn(
        label: &amp;quot;Customer ID&amp;quot;,
        sortField: &amp;quot;customerID&amp;quot;,
        value: fv!row.customerID,
        align: &amp;quot;END&amp;quot;
      ),
      a!gridColumn(
        label: &amp;quot;First Name&amp;quot;,
        sortField: &amp;quot;firstName&amp;quot;,
        value: fv!row.firstName
      ),
      a!gridColumn(
        label: &amp;quot;Last Name&amp;quot;,
        sortField: &amp;quot;lastName&amp;quot;,
        value: fv!row.lastName
      ),
      a!gridColumn(
        label: &amp;quot;Street Address&amp;quot;,
        sortField: &amp;quot;streetAddress&amp;quot;,
        value: fv!row.streetAddress
      ),
      a!gridColumn(
        label: &amp;quot;City&amp;quot;,
        sortField: &amp;quot;city&amp;quot;,
        value: fv!row.city
      ),
      a!gridColumn(
        label: &amp;quot;Province&amp;quot;,
        sortField: &amp;quot;province&amp;quot;,
        value: fv!row.province
      ),
      a!gridColumn(
        label: &amp;quot;Zip Code&amp;quot;,
        sortField: &amp;quot;zipCode&amp;quot;,
        value: fv!row.zipCode
      ),
      a!gridColumn(
        label: &amp;quot;Phone Number&amp;quot;,
        sortField: &amp;quot;phoneNumber&amp;quot;,
        value: fv!row.phoneNumber
      ),
      a!gridColumn(
        label: &amp;quot;Email&amp;quot;,
        sortField: &amp;quot;email&amp;quot;,
        value: fv!row.email
      ),
      a!gridColumn(
        label: &amp;quot;Heard About Us From&amp;quot;,
        sortField: &amp;quot;heardAboutUsFrom&amp;quot;,
        value: fv!row.heardAboutUsFrom
      ),
      a!gridColumn(
        label: &amp;quot;Feedback&amp;quot;,
        sortField: &amp;quot;feedback&amp;quot;,
        value: fv!row.feedback
      ),
      a!gridColumn(
        label: &amp;quot;Suggestions&amp;quot;,
        sortField: &amp;quot;suggestions&amp;quot;,
        value: fv!row.suggestions
      ),
      a!gridColumn(
        label: &amp;quot;Would Recommend Us&amp;quot;,
        sortField: &amp;quot;wouldRecommendUs&amp;quot;,
        value: fv!row.wouldRecommendUs
      )
    },
    initialSorts: a!sortInfo(
      field: &amp;quot;lastName&amp;quot;,
      ascending: true
    ),
    selectable: true,
    selectionValue: local!customerIDs,
    selectionSaveInto: local!customerIDs,
    validations: {},
    refreshOnVarChange: local!customerIDs
  ),
    a!buttonArrayLayout(
      buttons: {
        a!buttonWidget(
          label: &amp;quot;Delete&amp;quot;,
          saveInto: a!startProcess(
            processModel: cons!CD_DELETE_CUSTOMER_DETAILS,
            processParameters: {customerIDs: local!customerIDs},
            onSuccess: a!save(local!customerIDs, null)
          ),
          submit: true,
          style: &amp;quot;DESTRUCTIVE&amp;quot;,
          validate: true
        )
      },
      align: &amp;quot;END&amp;quot;
    )
}
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Page refresh or redirect on after button press</title><link>https://community.appian.com/thread/100305?ContentTypeID=1</link><pubDate>Mon, 29 Aug 2022 14:35:57 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:fa7ef34b-8150-4685-ab2b-70cee2c634f2</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;FYI when posting any code like this (especially anything longer than &lt;em&gt;&lt;strong&gt;maybe&lt;/strong&gt;&lt;/em&gt;&lt;strong&gt;&lt;/strong&gt; 5 lines or so), it&amp;#39;d be helpful from both a readability perspective (as well as a &amp;quot;not making the post impossible to scroll&amp;quot; perspective) to use a Code Box, right there in the &amp;quot;Insert&amp;quot; menu - such maintains indentation and constrains space-wasted.&lt;br /&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/62/pastedimage1661783556583v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Page refresh or redirect on after button press</title><link>https://community.appian.com/thread/100304?ContentTypeID=1</link><pubDate>Mon, 29 Aug 2022 14:35:34 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8b71ded2-b9ee-4b58-b25c-aa2a81887c6e</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/62/pastedimage1661783761501v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Page refresh or redirect on after button press</title><link>https://community.appian.com/thread/100303?ContentTypeID=1</link><pubDate>Mon, 29 Aug 2022 14:22:05 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:27738194-469b-4f27-8c93-884cedb592e8</guid><dc:creator>Vladislav Morozov</dc:creator><description>&lt;p&gt;But it&amp;#39;s already in &amp;quot;onSuccess&amp;quot;, I just skipped the parameter name. Adding the parameter names didn&amp;#39;t change anything, I still get only checkboxes refreshed.&lt;/p&gt;
&lt;p&gt;I tried to sutitute it with refreshcounter, but it still won&amp;#39;t succeed...&lt;/p&gt;
&lt;p&gt;I&amp;#39;ll show all the code if needed:&lt;/p&gt;
&lt;p&gt;a!localVariables(&lt;br /&gt; local!searchProvince: null,&lt;br /&gt; local!searchLastName: null,&lt;br /&gt; local!searchPhoneNumber: null,&lt;br /&gt; local!customerIDs: null,&lt;br /&gt; {&lt;br /&gt; a!columnsLayout(&lt;br /&gt; columns: {&lt;br /&gt; a!columnLayout(&lt;br /&gt; contents: {&lt;br /&gt; a!textField(&lt;br /&gt; label: &amp;quot;Filter province&amp;quot;,&lt;br /&gt; labelPosition: &amp;quot;ABOVE&amp;quot;,&lt;br /&gt; placeholder: &amp;quot;-- Enter a province--&amp;quot;,&lt;br /&gt; value: local!searchProvince,&lt;br /&gt; saveInto: local!searchProvince,&lt;br /&gt; refreshAfter: &amp;quot;UNFOCUS&amp;quot;,&lt;br /&gt; validations: {}&lt;br /&gt; )&lt;br /&gt; }&lt;br /&gt; ),&lt;br /&gt; a!columnLayout(&lt;br /&gt; contents: {&lt;br /&gt; a!textField(&lt;br /&gt; label: &amp;quot;Filter Last Name&amp;quot;,&lt;br /&gt; labelPosition: &amp;quot;ABOVE&amp;quot;,&lt;br /&gt; placeholder: &amp;quot;-- Enter a last name --&amp;quot;,&lt;br /&gt; value: local!searchLastName,&lt;br /&gt; saveInto: local!searchLastName,&lt;br /&gt; refreshAfter: &amp;quot;UNFOCUS&amp;quot;,&lt;br /&gt; validations: {}&lt;br /&gt; )&lt;br /&gt; }&lt;br /&gt; ),&lt;br /&gt; a!columnLayout(&lt;br /&gt; contents: {&lt;br /&gt; a!textField(&lt;br /&gt; label: &amp;quot;Filter Phone Number&amp;quot;,&lt;br /&gt; labelPosition: &amp;quot;ABOVE&amp;quot;,&lt;br /&gt; placeholder: &amp;quot;-- Enter a phone number --&amp;quot;,&lt;br /&gt; value: local!searchPhoneNumber,&lt;br /&gt; saveInto: local!searchPhoneNumber,&lt;br /&gt; refreshAfter: &amp;quot;UNFOCUS&amp;quot;,&lt;br /&gt; validations: {}&lt;br /&gt; )&lt;br /&gt; }&lt;br /&gt; )&lt;br /&gt; }&lt;br /&gt; ),&lt;br /&gt; a!gridField(&lt;br /&gt; label: &amp;quot;Customer Details&amp;quot;,&lt;br /&gt; labelPosition: &amp;quot;ABOVE&amp;quot;,&lt;br /&gt; data: a!queryEntity(&lt;br /&gt; entity: cons!CD_CUSTOMERDETAILS_DSE,&lt;br /&gt; query: a!query(&lt;br /&gt; logicalExpression: a!queryLogicalExpression(&lt;br /&gt; operator: &amp;quot;AND&amp;quot;,&lt;br /&gt; filters: {&lt;br /&gt; a!queryFilter(&lt;br /&gt; field: &amp;quot;province&amp;quot;,&lt;br /&gt; operator: &amp;quot;includes&amp;quot;,&lt;br /&gt; value: local!searchProvince&lt;br /&gt; ),&lt;br /&gt; a!queryFilter(&lt;br /&gt; field: &amp;quot;lastName&amp;quot;,&lt;br /&gt; operator: &amp;quot;includes&amp;quot;,&lt;br /&gt; value: local!searchLastName&lt;br /&gt; ),&lt;br /&gt; a!queryFilter(&lt;br /&gt; field: &amp;quot;phoneNumber&amp;quot;,&lt;br /&gt; operator: &amp;quot;=&amp;quot;,&lt;br /&gt; value: local!searchPhoneNumber&lt;br /&gt; )&lt;br /&gt; },&lt;br /&gt; ignoreFiltersWithEmptyValues: true&lt;br /&gt; ),&lt;br /&gt; pagingInfo: fv!pagingInfo&lt;br /&gt; ),&lt;br /&gt; fetchTotalCount: true&lt;br /&gt; ),&lt;br /&gt; columns: {&lt;br /&gt; a!gridColumn(&lt;br /&gt; label: &amp;quot;Customer ID&amp;quot;,&lt;br /&gt; sortField: &amp;quot;customerID&amp;quot;,&lt;br /&gt; value: fv!row.customerID,&lt;br /&gt; align: &amp;quot;END&amp;quot;&lt;br /&gt; ),&lt;br /&gt; a!gridColumn(&lt;br /&gt; label: &amp;quot;First Name&amp;quot;,&lt;br /&gt; sortField: &amp;quot;firstName&amp;quot;,&lt;br /&gt; value: fv!row.firstName&lt;br /&gt; ),&lt;br /&gt; a!gridColumn(&lt;br /&gt; label: &amp;quot;Last Name&amp;quot;,&lt;br /&gt; sortField: &amp;quot;lastName&amp;quot;,&lt;br /&gt; value: fv!row.lastName&lt;br /&gt; ),&lt;br /&gt; a!gridColumn(&lt;br /&gt; label: &amp;quot;Street Address&amp;quot;,&lt;br /&gt; sortField: &amp;quot;streetAddress&amp;quot;,&lt;br /&gt; value: fv!row.streetAddress&lt;br /&gt; ),&lt;br /&gt; a!gridColumn(&lt;br /&gt; label: &amp;quot;City&amp;quot;,&lt;br /&gt; sortField: &amp;quot;city&amp;quot;,&lt;br /&gt; value: fv!row.city&lt;br /&gt; ),&lt;br /&gt; a!gridColumn(&lt;br /&gt; label: &amp;quot;Province&amp;quot;,&lt;br /&gt; sortField: &amp;quot;province&amp;quot;,&lt;br /&gt; value: fv!row.province&lt;br /&gt; ),&lt;br /&gt; a!gridColumn(&lt;br /&gt; label: &amp;quot;Zip Code&amp;quot;,&lt;br /&gt; sortField: &amp;quot;zipCode&amp;quot;,&lt;br /&gt; value: fv!row.zipCode&lt;br /&gt; ),&lt;br /&gt; a!gridColumn(&lt;br /&gt; label: &amp;quot;Phone Number&amp;quot;,&lt;br /&gt; sortField: &amp;quot;phoneNumber&amp;quot;,&lt;br /&gt; value: fv!row.phoneNumber&lt;br /&gt; ),&lt;br /&gt; a!gridColumn(&lt;br /&gt; label: &amp;quot;Email&amp;quot;,&lt;br /&gt; sortField: &amp;quot;email&amp;quot;,&lt;br /&gt; value: fv!row.email&lt;br /&gt; ),&lt;br /&gt; a!gridColumn(&lt;br /&gt; label: &amp;quot;Heard About Us From&amp;quot;,&lt;br /&gt; sortField: &amp;quot;heardAboutUsFrom&amp;quot;,&lt;br /&gt; value: fv!row.heardAboutUsFrom&lt;br /&gt; ),&lt;br /&gt; a!gridColumn(&lt;br /&gt; label: &amp;quot;Feedback&amp;quot;,&lt;br /&gt; sortField: &amp;quot;feedback&amp;quot;,&lt;br /&gt; value: fv!row.feedback&lt;br /&gt; ),&lt;br /&gt; a!gridColumn(&lt;br /&gt; label: &amp;quot;Suggestions&amp;quot;,&lt;br /&gt; sortField: &amp;quot;suggestions&amp;quot;,&lt;br /&gt; value: fv!row.suggestions&lt;br /&gt; ),&lt;br /&gt; a!gridColumn(&lt;br /&gt; label: &amp;quot;Would Recommend Us&amp;quot;,&lt;br /&gt; sortField: &amp;quot;wouldRecommendUs&amp;quot;,&lt;br /&gt; value: fv!row.wouldRecommendUs&lt;br /&gt; )&lt;br /&gt; },&lt;br /&gt; initialSorts: a!sortInfo(&lt;br /&gt; field: &amp;quot;lastName&amp;quot;,&lt;br /&gt; ascending: true&lt;br /&gt; ),&lt;br /&gt; selectable: true,&lt;br /&gt; selectionValue: local!customerIDs,&lt;br /&gt; selectionSaveInto: local!customerIDs,&lt;br /&gt; validations: {},&lt;br /&gt; refreshOnVarChange: local!customerIDs&lt;br /&gt; ),&lt;br /&gt; a!buttonArrayLayout(&lt;br /&gt; buttons: {&lt;br /&gt; a!buttonWidget(&lt;br /&gt; label: &amp;quot;Delete&amp;quot;,&lt;br /&gt; saveInto: a!startProcess(&lt;br /&gt; processModel: cons!CD_DELETE_CUSTOMER_DETAILS,&lt;br /&gt; processParameters: {customerIDs: local!customerIDs},&lt;br /&gt; onSuccess: a!save(local!customerIDs, null)&lt;br /&gt; ),&lt;br /&gt; submit: true,&lt;br /&gt; style: &amp;quot;DESTRUCTIVE&amp;quot;,&lt;br /&gt; validate: true&lt;br /&gt; )&lt;br /&gt; },&lt;br /&gt; align: &amp;quot;END&amp;quot;&lt;br /&gt; )&lt;br /&gt;}&lt;br /&gt;)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Page refresh or redirect on after button press</title><link>https://community.appian.com/thread/100301?ContentTypeID=1</link><pubDate>Mon, 29 Aug 2022 14:11:57 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bd57c49d-566b-479e-b31e-45d9ee28c466</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;I also use a&amp;nbsp;&lt;span&gt;local!refreshCounter in these cases. The alternative is, to repeat the query inside of onSuccess. But this is duplicate code ...&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Page refresh or redirect on after button press</title><link>https://community.appian.com/thread/100300?ContentTypeID=1</link><pubDate>Mon, 29 Aug 2022 14:10:37 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:06007434-e807-4558-9c3d-2ef2196aa99f</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;As Stefan mentioned, you need to be using the onSuccess parameter of the startProcess() call to do that save - the way you have it set up now, you&amp;#39;re nulling out the customerIds too early, and any refresh that may have happened due to that change will have already happened before any changes caused by the process which you might want refreshed in your local data.&lt;/p&gt;
&lt;p&gt;Moving the &amp;quot;a!save(local!customerIDs, null())&amp;quot; to &amp;quot;onSuccess&amp;quot; might work just on its own.&amp;nbsp; But for code clarity, one trick I usually do is to delcare a separate variable i.e. &amp;quot;local!refreshCounter: 0&amp;quot;, and then in my &amp;quot;onSuccess&amp;quot;, i&amp;#39;ll overwrite it with &amp;quot;local!refreshCounter + 1&amp;quot;.&amp;nbsp; Then just add that to the &amp;quot;refershOnVarChanged&amp;quot; list wherever needed.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Page refresh or redirect on after button press</title><link>https://community.appian.com/thread/100298?ContentTypeID=1</link><pubDate>Mon, 29 Aug 2022 14:05:15 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2da6bf50-f10b-40c0-9198-2e2e63db7841</guid><dc:creator>Vladislav Morozov</dc:creator><description>&lt;p&gt;The problem is that the data from the grid is obtained via a query. I tried to set parameter &amp;quot;refreshOnVarChanged&amp;quot; to local!customerIDs (which contains an array of ids of all selected rows). When I press the button I trigger the following function:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;saveInto: a!startProcess(&lt;br /&gt; cons!CD_DELETE_CUSTOMER_DETAILS,&lt;br /&gt; {customerIDs: local!customerIDs},&lt;br /&gt; a!save(local!customerIDs, null)&lt;br /&gt; )&lt;/p&gt;
&lt;p&gt;but it won&amp;#39;t reload the data in the grid, it only unchecks the checkboxes near the deleted rows.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Page refresh or redirect on after button press</title><link>https://community.appian.com/thread/100291?ContentTypeID=1</link><pubDate>Mon, 29 Aug 2022 13:18:58 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:62e4d554-12f1-49c2-91ae-efad7ef8e5ad</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;a!startProcess has the onSuccess parameter. This is evaluated as the process is started, or, when activity chaining is enabled, at the end of that chain. Now you can&amp;nbsp;refresh the data in a a!save(), added to onSuccess.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>