<?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>Validation not refreshing when navigating interfaces</title><link>https://community.appian.com/discussions/f/user-interface/21138/validation-not-refreshing-when-navigating-interfaces</link><description>Hello All, 
 I have an issue wherein my validationMessage is not removing after clicking cancel button. My scenario is I have a User Form that whenever I click submit it will show a message &amp;quot;All fields are required&amp;quot;. After that I will now click the Cancel</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Validation not refreshing when navigating interfaces</title><link>https://community.appian.com/thread/82410?ContentTypeID=1</link><pubDate>Mon, 07 Jun 2021 15:22:22 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e74362f1-b324-4873-884e-49607b88222b</guid><dc:creator>rainier_albario</dc:creator><description>&lt;p&gt;Yeah, I thought it only revolves in the interface section since its mostly a design and validation handling, never knew process model is also connected to this. Again, thank you for the insight.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Validation not refreshing when navigating interfaces</title><link>https://community.appian.com/thread/82409?ContentTypeID=1</link><pubDate>Mon, 07 Jun 2021 14:55:56 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0252bdc5-6255-4b83-b3fb-bc1451e06c30</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;A process model is required for most processing beyond simple database writes.&amp;nbsp; And it&amp;#39;s often a good idea to use one anyway (unless you have specific reasons to avoid doing so) since it makes for easier debugging and troubleshooting.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Validation not refreshing when navigating interfaces</title><link>https://community.appian.com/thread/82408?ContentTypeID=1</link><pubDate>Mon, 07 Jun 2021 14:32:19 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:96faed56-ef43-4977-8ba1-933f49bcbc3d</guid><dc:creator>rainier_albario</dc:creator><description>&lt;p&gt;This issue has been resolved using this method. Thank you!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Validation not refreshing when navigating interfaces</title><link>https://community.appian.com/thread/82395?ContentTypeID=1</link><pubDate>Mon, 07 Jun 2021 06:50:36 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c4bac580-960f-4782-917d-25b4a4373f9c</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;A note here: This is not &amp;quot;go back&amp;quot;. You have a global scope defined by that main interface and validation happens in this scope. Showing or hiding any parts does not change that global scope nor validation. Once triggered it stays triggered as long as you submit the form.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Validation not refreshing when navigating interfaces</title><link>https://community.appian.com/thread/82394?ContentTypeID=1</link><pubDate>Mon, 07 Jun 2021 06:46:44 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:fa6870cc-870c-427c-b6e3-62ada17183dd</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Yes.&lt;/p&gt;
&lt;p&gt;Have a look at&amp;nbsp;&lt;a href="https://docs.appian.com/suite/help/21.2/record-actions.html"&gt;https://docs.appian.com/suite/help/21.2/record-actions.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Basically it is: &amp;quot;Use a process for user actions.&amp;quot;&lt;/p&gt;
&lt;p&gt;I know there is always a way to not need a process model and I do that myself if, and only if, there is a benefit. But this is a topic for later in your learning path.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Validation not refreshing when navigating interfaces</title><link>https://community.appian.com/thread/82393?ContentTypeID=1</link><pubDate>Mon, 07 Jun 2021 06:44:08 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b641af88-819c-441e-98f5-5a258f43cbab</guid><dc:creator>rainier_albario</dc:creator><description>&lt;p&gt;I have two interface I have ri!action on both interface. I&amp;#39;ll show the userManagement if the value of ri!action is &amp;quot;userManagement&amp;quot; and &amp;quot;add&amp;quot; for userRegistration. so when I clicked cancel i change the ri!action value to &amp;quot;userManagement&amp;quot; to go back to the previous interface.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Validation not refreshing when navigating interfaces</title><link>https://community.appian.com/thread/82392?ContentTypeID=1</link><pubDate>Mon, 07 Jun 2021 06:37:02 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a886f704-4870-4712-a838-d9b36377e340</guid><dc:creator>vamsi krishna</dc:creator><description>&lt;p&gt;You are using same showWhen parameter for &amp;quot;Create User&amp;quot; button and &amp;quot;Submit&amp;quot; button?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Validation not refreshing when navigating interfaces</title><link>https://community.appian.com/thread/82391?ContentTypeID=1</link><pubDate>Mon, 07 Jun 2021 06:30:54 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0cfd4fc2-3a38-4672-bee9-e804c32600bf</guid><dc:creator>rainier_albario</dc:creator><description>&lt;p&gt;Hello, Thank you for your response. However, I already tried it changing the showWhen value to false when I click cancel. However, when I go back to userRegistration form the validation will be removed. But when I add ri!ShowWhen then change it back to true after clicking the &amp;quot;Create User&amp;quot; button the validation is still there.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Validation not refreshing when navigating interfaces</title><link>https://community.appian.com/thread/82390?ContentTypeID=1</link><pubDate>Mon, 07 Jun 2021 06:21:17 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c4f52ec8-5ef6-4848-b544-781cdacb474f</guid><dc:creator>vamsi krishna</dc:creator><description>&lt;p&gt;If you are not submitting the form on cancel button, then you can try this&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!localVariables(
  local!amount,
  local!buttonValue,
  local!showWhen:and(local!buttonValue,isnull(local!amount)),
  a!formLayout(
    contents: {
      a!textField(
        label: &amp;quot;Amount&amp;quot;,
        value: local!amount,
        saveInto: local!amount
      )
    },
    buttons: {
      a!buttonArrayLayout(
        buttons: {
          a!buttonWidget(
            label: &amp;quot;Submit&amp;quot;,
            style: &amp;quot;PRIMARY&amp;quot;,
            submit: true,
            saveInto: {
              a!save(local!buttonValue,true)
            }
          ),
          a!buttonWidget(
            label: &amp;quot;cancel&amp;quot;,
            saveInto: {
              a!save(local!buttonValue,false)
            }
          )
        }
      )
    },
    validations: a!validationMessage(
      message: &amp;quot;Is required&amp;quot;,
      validateAfter: &amp;quot;SUBMIT&amp;quot;,
      showWhen: local!showWhen
    )
  )
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Validation not refreshing when navigating interfaces</title><link>https://community.appian.com/thread/82384?ContentTypeID=1</link><pubDate>Mon, 07 Jun 2021 03:30:16 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:93d0096e-d4c9-4b4b-93b4-62eda1d439cc</guid><dc:creator>rainier_albario</dc:creator><description>&lt;p&gt;Hello, sorry I&amp;#39;m not using any process model for navigating interfaces.&lt;/p&gt;
&lt;p&gt;So you&amp;#39;re saying I need to create a process model to do that?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Validation not refreshing when navigating interfaces</title><link>https://community.appian.com/thread/82383?ContentTypeID=1</link><pubDate>Mon, 07 Jun 2021 02:41:45 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0d362885-e2ce-461f-9fed-c09970099cb5</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;After any validation has been triggered for a particular instance of a form, it will stay triggered until the form is exited (like via a submit button click).&amp;nbsp; If you want your user to be able to press &amp;quot;cancel&amp;quot; and go back to a default state, you should have the cancel click submit from the current form and chain the user into a new instance of the same task - to the user this will happen seamlessly.&lt;/p&gt;
&lt;p&gt;If the task in question is a start form, then it&amp;#39;s a little trickier, but should still be possible - i.e. have the &amp;quot;cancel&amp;quot; button start the process then chain the user into a User Input Task that has the same interface set as its form.&amp;nbsp; Honestly though at this point you may as well ditch the Start Form setup and instead just have the process contain that task, and an XOR gateway could check what button was clicked and if it was &amp;quot;cancel&amp;quot;, loop the user back to the same form again, otherwise move on in the process.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Validation not refreshing when navigating interfaces</title><link>https://community.appian.com/thread/82382?ContentTypeID=1</link><pubDate>Mon, 07 Jun 2021 01:24:59 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1aa45b47-373b-402b-aa86-63172d3c8e09</guid><dc:creator>rainier_albario</dc:creator><description>&lt;p&gt;Hello, still not resolve&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Validation not refreshing when navigating interfaces</title><link>https://community.appian.com/thread/82380?ContentTypeID=1</link><pubDate>Sun, 06 Jun 2021 09:04:00 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:cfd890a3-22c0-4285-a4cf-7b4586de9a5d</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;I know that you have two interfaces. The way of how to implement this kind of things is just different with Appian. The basic idea is that you have data (Appian Records), UI to display this data and processes to allow a fine grained interaction with the user. These processes are not meant to be another abstract way of manipulating data in DB but a way to express a functional business process.&lt;/p&gt;
&lt;p&gt;In your case it could be: Create user, send email to user, add user to groups assign task to users supervisor to assign application roles and permissions.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Validation not refreshing when navigating interfaces</title><link>https://community.appian.com/thread/82379?ContentTypeID=1</link><pubDate>Sat, 05 Jun 2021 19:06:22 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b9e210a5-a7af-40d8-830e-015867699717</guid><dc:creator>rainier_albario</dc:creator><description>&lt;p&gt;I&amp;#39;m already using two interface btw. One is user management and one is for the registration form. The user management form has a create user button that will navigate to the user management interface. I just want the navigation dissappear whenever I go back again to the user form &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Validation not refreshing when navigating interfaces</title><link>https://community.appian.com/thread/82378?ContentTypeID=1</link><pubDate>Sat, 05 Jun 2021 18:43:05 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4f998335-2428-4ce6-b423-7183ca85d868</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;I understand. Try to decouple your functionality. Create a separate interface to create a new user. Make it the start form of a process. Then start that process via a startProcessLink.&lt;/p&gt;
&lt;p&gt;I do not know your background, but wrapping your head around Appian might take a bit.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Validation not refreshing when navigating interfaces</title><link>https://community.appian.com/thread/82377?ContentTypeID=1</link><pubDate>Sat, 05 Jun 2021 18:34:14 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7fc52417-eac0-456b-acc6-a6fb7a52144c</guid><dc:creator>rainier_albario</dc:creator><description>&lt;p&gt;I&amp;#39;m using startProcessLink on my submit button. Whenever I try to save data to the database. Can you explain to me how startProcessLink can resolve the issue of removing the validation message when navigating interface? Sorry, I&amp;#39;m fairly new to appian.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Validation not refreshing when navigating interfaces</title><link>https://community.appian.com/thread/82376?ContentTypeID=1</link><pubDate>Sat, 05 Jun 2021 18:29:20 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:60cc7ff1-24c8-4f06-b249-6b348d5bf38c</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Is there a reason for not using a process and a startProcessLink? Doing this kind of things just in an interface can become tricky.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Validation not refreshing when navigating interfaces</title><link>https://community.appian.com/thread/82375?ContentTypeID=1</link><pubDate>Sat, 05 Jun 2021 18:08:18 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:70fcd3af-c1b3-4d48-aff0-54f7fae7c4be</guid><dc:creator>rainier_albario</dc:creator><description>&lt;p&gt;&lt;img alt="Here is the form" src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/13/3021.FORM.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Here the validation message is not removed when I go back to this form after clicking the cancel button.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Validation not refreshing when navigating interfaces</title><link>https://community.appian.com/thread/82374?ContentTypeID=1</link><pubDate>Sat, 05 Jun 2021 17:58:27 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7609cb50-070d-40d9-8ec4-7397987846e3</guid><dc:creator>rainier_albario</dc:creator><description>&lt;p&gt;Hello, thank you for answering.&lt;/p&gt;
&lt;p&gt;Yes, it&amp;#39;s just a sub interface. The way I navigate is by declaring rule input called action. I have a dashboard called &amp;quot;user management&amp;quot; and then I have &amp;quot;user registration&amp;quot;, there is a button under user management called Create User, whenever I clicked that I used the showWhen. I&amp;#39;ll show the user management if the value of ri!action is userManagement and show user form if the value is &amp;quot;addform&amp;quot; that&amp;#39;s how I navigate interfaces.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Validation not refreshing when navigating interfaces</title><link>https://community.appian.com/thread/82373?ContentTypeID=1</link><pubDate>Sat, 05 Jun 2021 17:51:36 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f3b82675-4f5b-47ed-af7a-e43554ec28d5</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Please explain how you are doing this &amp;quot;back to the form&amp;quot; and &amp;quot;click the cancel button&amp;quot; interaction. My any chance, could it be that you embed this as a sub interface into another one?&lt;/p&gt;
&lt;p&gt;With proper usage of related actions or startProcessLink this does not happen.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>