Skip to main content
Inspiring
Mar 19, 2024 2:36 PM UTC
Question

Refresh data after related record action

First, in the project that I am working currently we do not use the record sync, I have a case when I perform an action even though I am using the refreshVariable function and also activity chaining in process models, the interface is not refreshed without refreshing it manually. What can be the problem?

    7 replies

    davidj137213
    Brainy
    Mar 19, 2024 2:51 PM UTC

    How are you refreshinf your interface? COuld you share your code? Appian is a little bit special in this aspect (refresh interfaces)

    Inspiring
    Mar 19, 2024 2:55 PM UTC

    davidj137213
    Brainy
    Mar 19, 2024 3:52 PM UTC

    Is the CMS_qe_getViewallDraftsByCriteria and expression rule or an interface?

    Did you try with refreshInterval in order to check if it works?

    konduruc733182
    Inspiring
    Mar 19, 2024 2:53 PM UTC
    am working currently we do not use the record sync

    What is the Record Source? Or Is the Sync Disabled?

    Inspiring
    Mar 19, 2024 2:56 PM UTC

    The sync is disabled

    konduruc733182
    Inspiring
    Mar 19, 2024 3:00 PM UTC

    Then you will either have to have a separate button on the interface to refresh the local variable by refresh on referenced var change or it would be a screen refresh. Since the feature are disabled. At least this is what I am aware of. Because you are fetching your data in a local variable and it needs to refresh to get the updated data.

    mathieud0001
    Genius
    Mar 19, 2024 9:37 PM UTC

    Would need to see the contents of that query rule as well as the interface calling it.