Appian Community and Appian Academy are being upgraded. From July 24–August 3, the Appian Community will be in read-only mode. During this time, the site will be read-only and user registration will be disabled. We apologize for any inconvenience this may cause, but a more secure, stable, and performant Community experience is coming soon!

The new Appian Community launches August 3, followed by Appian Academy on August 7. During the migration, Appian Community Edition, Appian Academy, Documentation, Certifications, Instructor-led Customer Training, Partner Sales Training & Accreditation, and Forum (for Appian Partners and Customers only) will remain available.

views and action security refresh

Certified Senior Developer

Hello Everyone,

In my record view interface, I have a child interface that contains a related action. I recently added another related action whose only purpose is to refresh the data. In the parent interface, I’m using a!refreshVariable() so that local variables are refreshed after a record action completes.

The related action in the child interface has visibility logic defined both:

in the record type (Views and Actions → action security/visibility), and
inside the child interface itself.
When I click my refresh-related action, all the data and components in the interface are refreshed, but the visibility condition defined in Views and Actions is not re-evaluated. As a result, when I refresh to load the latest data, the related action does not appear on the screen unless I do a full browser refresh.

i tried to have a start form in my related action's process model even at that time screen was not refreshed. Pretty much tried everything still record level security was not evaluated without manual browser refresh

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Lead Developer

    Record action visibility defined in Views & Actions is evaluated at page load time, not on a!refreshVariable(). Even with a start form or refresh action, Appian does not re-evaluate action-level security mid-session without a full page reload.
    You can try to move the visibility logic entirely into the child interface using a local variable that refreshes with your data. Remove it from Views & Actions.

Reply
  • 0
    Certified Lead Developer

    Record action visibility defined in Views & Actions is evaluated at page load time, not on a!refreshVariable(). Even with a start form or refresh action, Appian does not re-evaluate action-level security mid-session without a full page reload.
    You can try to move the visibility logic entirely into the child interface using a local variable that refreshes with your data. Remove it from Views & Actions.

Children
No Data