Discussion
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/2024-12/ef6e8c0e-f700-4d3b-be53-63e7045c2b58.jpg?itok=IFaNuXx5)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/2024-12/ef6e8c0e-f700-4d3b-be53-63e7045c2b58.jpg?itok=IFaNuXx5)
Areteans Technologies
AU
Last activity: 19 Oct 2015 8:13 EDT
Call Harness through activity which will refresh the work area
How to Call Harness through activity which will refresh the work area
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Pegasystems Inc.
IN
I hope the call to activity is onClick of either a button or link similar component ... in such cases could you please try Launch Harness - Replace current option and share your observations...
note: OOTB activity Show-Harness is the API generally referred to replace current harness via Activity rule
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/2024-12/ef6e8c0e-f700-4d3b-be53-63e7045c2b58.jpg?itok=IFaNuXx5)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/2024-12/ef6e8c0e-f700-4d3b-be53-63e7045c2b58.jpg?itok=IFaNuXx5)
Areteans Technologies
AU
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Pegasystems Inc.
IN
could you please refer to function 'pega.desktop.showHarness'
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/2024-12/ef6e8c0e-f700-4d3b-be53-63e7045c2b58.jpg?itok=IFaNuXx5)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/2024-12/ef6e8c0e-f700-4d3b-be53-63e7045c2b58.jpg?itok=IFaNuXx5)
Areteans Technologies
AU
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Pegasystems Inc.
IN
sorry - thats the function used onClick using Run script on click of a button or link...
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Virtusa Corp.
US
hi Dharan,
What is the requirement for you to start an Harness and from there start a flow?
Raghunatha
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/2024-12/ef6e8c0e-f700-4d3b-be53-63e7045c2b58.jpg?itok=IFaNuXx5)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/2024-12/ef6e8c0e-f700-4d3b-be53-63e7045c2b58.jpg?itok=IFaNuXx5)
Areteans Technologies
AU
Based on parameter on URL, different flows should launch without any button or link clicks.
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Pegasystems Inc.
IN
could you please try constructing the URL...
openWorkByURL("pyActivity=Work-.New&InsClass="+currentWorkPool+"&FlowType=<FLOWNAME>&FolderType=pyDefault&HarnessPurpose=New&pyNextURL=", "Work","true");
}
calling this as a script onload may help...
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Pegasystems Inc.
US
Moved this thread to a more appropriate forum section: Pega Platform > Java & Activities.
![](https://accounts.pega.com/sites/default/files/pega-user-image/159/REG-158617.png?source=PUMINIT)
![](https://accounts.pega.com/sites/default/files/pega-user-image/159/REG-158617.png?source=PUMINIT)
Amazon
IN
Call ReloadHarness
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
United Health Group
US
HI All