Skip to main content
May 8, 2024
Question

Refreshing the data after related record action

  • May 8, 2024
  • 12 replies
  • 1 view

Hi,

I have to update a status value after a related record action but it is not getting updated until unless I refresh the screen manually.

I have used a!refreshvariable() for the local variable where we fetch the status, have given activity chaining in the Process Model and also tried Records sync Smart service.

But none of them works. Can someone help if missing something or is there any other option that causing this.

    12 replies

    harshk1671
    May 8, 2024

    Hi pavitrad2763,

    I recommended to check activity chaining again if it missed in any path or exceeding the allowed limit. Default limit is 50 nodes.

    You can add screenshot of the PM for better clarity.

    May 8, 2024

    Activity chaining is present even in the sub-processes too and it is small PM.

    konduruc733182
    May 8, 2024

    Did you configure the refreshVariable in such a way that it would refresh after the related action is performed? refreshAfter parameter to be configured as "RECORD_ACTION"

    Provide more details from the interface code please.

    karthikk538
    May 8, 2024

    What about the sub process configuration , did you check the enable activity chaining option? or else make the sub process async and give a try.

    May 9, 2024

    the subprocesses as well have the activity chaining enabled