Skip to main content
June 30, 2025
Solved

After Record action existing page does not refresh the Interface or grid

  • June 30, 2025
  • 24 replies
  • 0 views

Hello,

I have a record action which shows "Add comment" and after completing/adding the comment details the record action should get updated to database or record. But it is not refreshing dashboard or interface. Only after page refresh page only it's refreshing but not immediately after the action submission. 

a!columnLayout(
contents: {
a!recordActionField(
actions: a!recordActionItem(
action: 'recordType!{6d2a7f52-9952-4737-bb95-d3f3a29c06ac}PIMS Project Details.actions.{4e341a40-54be-42c6-ac1e-7e52004c1fca}comment',
identifier: ri!projectDetails['recordType!{6d2a7f52-9952-4737-bb95-d3f3a29c06ac}PIMS Project Details.fields.{dedeac6d-7da7-4635-82db-b4816e2daa36}projectId']
),
style: "SIDEBAR_PRIMARY",
display: "LABEL"
),

},

Thanks,

Chiranjeevi

Best answer by mikes0011

Are you using any local variables within "rule!xxxxx(" (your query for local!commentsHistory)?

24 replies

mikes0011
Brainy
June 30, 2025

Please show the definition(s) for any relevant local variable(s). 

And as always, please insert any code longer than 1 or 2 lines into a Code Box, making sure it retains its indentation as might be seen in the Interface Editor.

mageshwarang0609
June 30, 2025

[mention:71679a8a6a6e48579ac8f3c6180dabfe:e9ed411860ed4f2ba0265705b8793d05]

Use refreshVariable for the local variable where you query the comments, setting the parameter refreshAfter: "RECORD_ACTION". And, ensure that the process model nodes are activity chained up to the write comment node.

July 1, 2025

 [mention:05befd3fbd1e412b8ec5795ae283766c:e9ed411860ed4f2ba0265705b8793d05] 

I am provided the activity changing till end

harshas2775
June 30, 2025

Can you confirm if the process has activity chaining till the write records node?

June 30, 2025

Yes, I am using the activity changing as well as. still not refreshing the dashboard.

mikes0011
Brainy
June 30, 2025

This looks correct - but we still need to see the relevant local variable definition(s) on your dashboard interface to see whether they're configured properly to refresh after a record action.