Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Pega CRM - Refresh Issue with PegaCRM-SFA Product

SA-13311

Summary



In Pega CRM, after creation, the record does not automatically refresh. User has to manually refresh the record.

Steps to Reproduce

1. In Pega CRM - Go to Lead, Create task and come back to Task tab. One cannot see the record until you click on refresh button.
2. Create a related item, and refresh to see the change.

Root Cause



The reported behavior is an intended design in SFA application. Refresh buttons are provided for all such usecases.

Resolution

If any user wants to auto-refresh the task-list, they can perform the below local-change :
Register and throw an event once we click on any of the links and consequently refresh the intended section.

Place the below code in available HTML Fragment UserWorkForm:

<script>
  registerEventListener("EVENTNAME",functionToBeInvoked, null);
  
function functionToBeInvoked ()
  {
    
    pega.u.d.refreshSection("SectionToBeRefreshed",'','');
  }
  
  function runScriptFunction()
  {  
sendEvent("EVENTNAME ", functionToBeInvoked);
    
  }
</script>


In addition, add the runScript event in the link configuration and call function “runScriptFunction”.

 

Published August 31, 2015 - Updated December 2, 2021

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us