Skip to main content
January 12, 2024
Question

Offline Form data refresh

  • January 12, 2024
  • 5 replies
  • 0 views

  We are using Appian Mobile App for offline form as Action in Site. The main interface has to option 1) Create Data  2) Select Data

    The steps below done when user is online from mobile device:-

   1) user creates data  which gets written to database.

   2) user navigates back to other tab and refresh the page multiple times.

   3)comes back to offline form again and try to select the data which he just now created 

     outcome:- The data is not visible to user even after multiple refreshes but once user logout and login again then only data is showing.

    On contrary if we try this on laptop the user is able to see the data immediately.

 In case we add any interface component like dropdown/grid in the main/parent interface the data is refreshed immediately.

   Screenshots below:-

Main offline interface having two sub interfaces add and check 

   

Once the data is created we are trying to check the same below:-

  

 Need to understand why data is refreshing only after re- login Appian mobile App for Offline form but not when user try to refresh the page or navigates to other page and comes back.

    5 replies

    konduruc733182
    January 12, 2024

    Hello gauravk1693,

    May be raising a support ticket would help? More over i think there might be sync issue when you are using offline, expected behavior I guess.

    for more information on this please refer this:
    How Offline Mobile Works

    January 12, 2024

    Thank you!  [mention:2df2892a4df7486f9775b4d2f0e405fd:e9ed411860ed4f2ba0265705b8793d05]  , will raise the support ticket.  What I am not able to understand is that  the local variable receives the latest pull from db but the rule input which is mapped by the same local variable is not receiving the latest data until we use the same local variable to render any component (eg dropdown for test) in the main interface itself. 

    stefanhelzle0001
    Brainy
    January 12, 2024

    My understanding of "offline", that there is no interaction between the client and the server. As Appian would require a lookup to the backend, I think this behaviour is well within expectations.

    January 12, 2024

      Thank you [mention:126a676c85024855948336691b0a7b92:e9ed411860ed4f2ba0265705b8793d05] for your valuable input. As per the expectation would it be right to say that "Offline Form" may affect data transfer from local variable to rule input?  

    stefanhelzle0001
    Brainy
    January 12, 2024

    I did not create any offline form in recent years. I suggest to have a look at the best practices, and keep that form as simple as possible.

    https://docs.appian.com/suite/help/23.4/offline-mobile-design-best-practices.html