Question12Replies206Views kimh1 Member since 2016 32 posts PEGA Posted: 1 year agoLast activity: 11 months 1 week ago Call ReloadSection several times on activityHi, I need to call ReloadSection by activity many times. For example I tried to call ReloadSection three times by one activity.1. Wait 5 seconds 2. Updated property 3. Call ReloadSection I looped from step 1 to step 3 for 3 times, but it was only refreshed on the last timing of calling Reload Section.Is there any way to call ReloadSection several times on activity? Data Integration Java and Activities User Interface ×Close popoverFacebookTwitterLinkedinEmail Copy Link Copied! Posted: 1 year agoMarcLasserre_GCS PEGA replied to kimh1Hello, I never seen such configuration calling ReloadSection within the same activity multiple times. Can you explain why you think you should do this exactly? Posted: 1 year agokimh1 PEGA replied to MarcLasserre_GCSThe customer's proxy server returns error if there isn't any actin in defined time.(For example 120 seconds.) But if we refresh every 30 seconds we can avoid the error. In addition we call API of ex system and it needs 3 to 5 minutes to return the response. While calling the API , we want refresh the section automatically. Posted: 1 year agoKrithiga_GCS PEGA replied to kimh1I am not sure if there is any other way to achieve your requirement. On paper the approach you have taken should work. Did you trace the activity with the steps to check if you missed anything ? Posted: 1 year agokimh1 PEGA replied to Krithiga_GCSHi , Krithiga. Sorry late for reply. I thought that only the last loop of calling ReloadSection worked correctly before, but it was wrong. I set refresh action of the button and call the activity, so the section was refreshed only once. It seems that I couldn't call ReloadSection correctly by activity. I made simple PoC to call ReloadSection and it seems that not working. I put my setting as attached file, could you check the file and advise me if there are any wrong? Posted: 1 year agovaspoz BPM Company replied to kimh1Coud you try use Branch method instead of Call? Posted: 11 months agokimh1 PEGA replied to vaspozHi I tried use Branch instead of Call , but nothing has changed. The section was not refreshed by activity. Posted: 1 year agovaspoz BPM Company replied to kimh1Plus, you could assing to the button an action "Reload Section" and trace it to see how Pega does it Posted: 11 months agokimh1 PEGA replied to vaspozI assigned both "Run activity" and "Reload Section" to button action and traced them. It seems that when use "Reload Section" it has AJAXTrackID on Parameter page, on the other hand "Run Activity" doesn't. Could you check the attached "Diff_Run_Action_BW_Refresh_THIS_Section.xlsx" file? Posted: 11 months agovaspoz BPM Company replied to kimh1I reckon the problem is in the StreamClass parameter. You have provided "Rule-HTML-Section" but you must use the section's class, where it belongs to (Work class or Data class fo your application) Posted: 11 months agokimh1 PEGA replied to kimh1I tried to set section's class to StreamClass parameter instead of "Rule-HTML-Section" , but it showed "Missing stream key property pyID" error on step 10 of ReloadSection. So I'm looking for work around for this requirement. Posted: 11 months agovaspoz BPM Company replied to kimh1weird.. does your section contain pyID property? Posted: 11 months agokimh1 PEGA replied to vaspozHi vaspoz Customer withdraw the requirement , so I stopped investigation. Thank you for your cooperation.