Discussion


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


Pegasystems Inc.
IN


Areteans Technologies
AU
It's like in URL I'll hard code to call a activity based on which I have to call a flow(I used harness to script which calls the flow). There is not button or link click event


Pegasystems Inc.
IN
could you please refer to function 'pega.desktop.showHarness'


Areteans Technologies
AU
My trigger point would be an activity, can you pls explain how shall I use the above function in activity


Pegasystems Inc.
IN
sorry - thats the function used onClick using Run script on click of a button or link...
hi Dharan,
What is the requirement for you to start an Harness and from there start a flow?
Raghunatha


Areteans Technologies
AU
Based on parameter on URL, different flows should launch without any button or link clicks.


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...
Moved this thread to a more appropriate forum section: Pega Platform > Java & Activities.
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