Skip to main content
New Participant
September 9, 2026
Question

Record Action Refresh issue

  • September 9, 2026
  • 11 replies
  • 94 views

 We have a form called in the record action , a new row is added when the form is submitted in a grid. Based on the grid values we are displaying a card for above the grid for achievement rate. 

But card is refreshing with the current achievement rate only after manually refreshing page or switching tabs,its not updating immediately after this record action is completed.

Where as for editing grid values and saving we are using a save button which is updating immediately after the process completion.

How to solve this issue? 

 

11 replies

stefanhelzle0001
Brainy
September 9, 2026

I assume you manage displayed data in local variables. Did you make these refresh on record action?

New Participant
September 10, 2026

local!expiredSoftwareNormScores: a!refreshVariable(
    value: rule!HGP_ER_GetUseCaseNormScores(
      organizationId: local!organizationId,
      useCaseName: local!useCaseName
    ),
    refreshAfter: "RECORD_ACTION"
  ) ,
this is local variable im currently using

mathieud0001
Brainy
September 9, 2026

Whatever expression you use to calculate the achievement rate (for the card) should sit in a local variable using a!refreshVariable(), with refreshAfter: "RECORD_ACTION":

a!localVariables(
  local!data: a!refreshVariable(
    value: a!queryRecordType(...),
    refreshAfter: "RECORD_ACTION"
  )
)

 

New Participant
September 10, 2026

local!expiredSoftwareNormScores: a!refreshVariable(
    value: rule!HGP_ER_GetUseCaseNormScores(
      organizationId: local!organizationId,
      useCaseName: "Expired Software"
    ),
    refreshAfter: "RECORD_ACTION"
  ) ,
Im calling this way

mathieud0001
Brainy
September 10, 2026

What’s in this sub process? Is it chained as well?
 

 

New Participant
September 10, 2026

@vamshik839265 - I am suspecting local!organizationId is not refreshing with updated values . May be you can check that as well . Try refreshing that local variable - local!organizationId

Inspiring
September 14, 2026

@vamshik839265 If you already verified the process activity chaining and still does works.. try passing a random value (rand()) to the query rule for refresh.