Question
Verizon
IN
Last activity: 26 Nov 2018 19:37 EST
How to control refresh other section
Hi ,
I have a requirement to refresh a section conditionally. But Refresh other section with When rule is not working.
It is working only when I use properties of Section's class. Please let me know the RCA and how I can resolve this.
Thanks
Suma
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Pegasystems Inc.
US
Can you try writing an activity and calling a "Call ReloadSection" with a when condition and check if this solves the issue.
Verizon
IN
Hi,
I was getting error
"Missing stream key property pyID" when i called reloadsection in an activity with when condition.
Thanks
Suma
Pegasystems Inc.
US
Hope this video helps in understanding evaluation of when condition on action sets:
Verizon
IN
Thanks! but the video doesnt play.
Pegasystems Inc.
US
Hi, The video describes how the when condition operates with regards to "Refresh" condition. The observation you made is the correct behavior. The property associated with the current section is considered to satisfy the when condition. If you have an activity before the "Refresh-Other section" and set a property according to your requirement on the current section's class and using that property in the when condition of "Refresh-Other section" should do it.
Hope this helps!
Verizon
IN
Immediately after activity run, i have configured reload section with when expression. after running the activity, it is not validating when rule. it is directly refreshing the other section and focus is gone.
-
Alec Shanson
Pegasystems Inc.
US
The refresh section with when condition in the action set works as expected only if you use properties on the primary page.
Pegasystems Inc.
US
Hi @SumaB801,
Here is the link to the video directly. If you are having difficulty getting the video to play. Please try to use your browser in safe-mode. There may be an add-on causing trouble for you. I'm not having any issues playing the video. I'm using Chrome.
Thanks!