Closed
Solved
Refresh harness from activity
Is there a way to do Refresh current harness from activity?
This is 7.2.2.
This content is closed to future replies and is no longer being maintained or updated.
Links may no longer function. If you have a similar request, please write a new post.
Is there a way to do Refresh current harness from activity?
This is 7.2.2.
Accepted Solution
function refreshCurrentHarness() {
var param = {event: [], dataTransform:[], activity:[], submitOnRefresh:true};
pega.api.ui.actions.refreshHarness(param);
}
= = =
We used this Javascript function and Pega API to solve our problem.
On click of a button, call Run Script (refreshCurrentHarness).
We can define the JS function in a non-auto generated section, which we included in UI where we are clicking the button.
I would check out these related threads.
https://collaborate.pega.com/question/how-refresh-harness-activity
https://community1.pega.com/community/pega-product-support/question/refresh-harness-within-activity
There is an OOTB activity @baseclass.ReloadHarness that you can use.
This is the same activity that PRPC trigger based on UI event when you choose UI event action as 'Refresh current Harness'
Accepted Solution
function refreshCurrentHarness() {
var param = {event: [], dataTransform:[], activity:[], submitOnRefresh:true};
pega.api.ui.actions.refreshHarness(param);
}
= = =
We used this Javascript function and Pega API to solve our problem.
On click of a button, call Run Script (refreshCurrentHarness).
We can define the JS function in a non-auto generated section, which we included in UI where we are clicking the button.
Question Solved
Question
Question
Question Solved
Question
Question Solved
Discussion
Question
Question Solved
Question
Pega Collaboration Center 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.