Question
Pegasystems Inc.
US
Last activity: 17 Jul 2017 16:25 EDT
Log User Interaction - OOTB Support
Hi,
I am looking to log a CSR's interaction with the application. For example, if a user clicked on a button for submission, or refresh ...for the system to log that interaction. Does PRPC support this OOTB or any existing custom solutions?
Thanks,
Martin
***Updated by moderator: Marissa to close post***
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Pegasystems Inc.
US
It seems the Audit logging for a Flow would have worked; however, because we do no persist the work objects this was not a viable solution. The two alternatives are to attach an activity to perform the logging at each desired element, for say a button. The other solution was to create a jQuery CSS selector binding an even handler function in turn calling a activity server side.
Hope this helps for those in similar scenarios. I have pasted the code for the jQuery CSS Selector. Please keep in mind this was done with IAC so some functions may have to be substituted:
// Referencing the jQuery library from Google CDN
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
// CSS Selectors using jQuery
<script type="text/javascript">
// when the document and all resource finished downloading
$(document).ready(function() {
// select all input elements and attach to the click event handler
$("input").click(function() {
// an AJAX call. These are the call handlers
var pingCallbackObj = {
success: function(d) {
alert("success");
},
failure: function(d) {
It seems the Audit logging for a Flow would have worked; however, because we do no persist the work objects this was not a viable solution. The two alternatives are to attach an activity to perform the logging at each desired element, for say a button. The other solution was to create a jQuery CSS selector binding an even handler function in turn calling a activity server side.
Hope this helps for those in similar scenarios. I have pasted the code for the jQuery CSS Selector. Please keep in mind this was done with IAC so some functions may have to be substituted:
// Referencing the jQuery library from Google CDN
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
// CSS Selectors using jQuery
<script type="text/javascript">
// when the document and all resource finished downloading
$(document).ready(function() {
// select all input elements and attach to the click event handler
$("input").click(function() {
// an AJAX call. These are the call handlers
var pingCallbackObj = {
success: function(d) {
alert("success");
},
failure: function(d) {
alert("failure");
}
};
// the paramater data for the Activty
var outData = "Message=" + encodeURIComponent("Click Event from UI Javascript" + $(this).attr("value"));
// the class.activity
var oSafeUrl = new SafeURL("VZW-FW-SaveSeqFW-Work.UIInteractionLog");
// converting the URL
var strNextUrl = oSafeUrl.toURL();
// and making the call
var request = pega.util.Connect.asyncRequest('POST', strNextUrl, pingCallbackObj, outData);
});
});
</script>
TATA CONSULTANCY SERVICES
IN
Hi Martin,
Last year, Pega had provided to our Customer for a CSR Application - a bunch of HotFixes which has a capability to log - Pega OOTB & Custom - Activities, Flows. Hope that will help to your UseCase.
I can give HFIX/DL#'s but would recommend you to raise an SR for more details on those HFIXES.
DL-25407 to 25413 and DL-23286.
Thanks
Hari
Pegasystems Inc.
IN
Hi Martin, Good Morning!
- Audit can be enabled from Flow Action rule form available under security tab.
- by leveraging OOTB decision tree 'FilterHistory' the audit notes can be customized. (Please see the history tab of the rule form)
- method History-Add can be used in Activity rule forms to log the interaction.
- reports can be created on History-<Work Class> to enable case history information.
- field level auditing or a declare onChange event with a custom audit activity may also work...
- also please refer: https://community.pega.com/sites/default/files/help_v71/procomhelpmain.htm
Please share your thoughts/comments, Thank you!
psahukaru
Pegasystems Inc.
US
Hi,
I will need to audit the screen interactions not at the flow level but per DOM element presented. We need to identify interaction trends. For instance, if there were six buttons on the screen - we need to know they click buttons 1, 2, and 3. But those action may not progress the flow -- just selection.
I hope this clears up the requirement or if I am missing something from what has been responded.
Thank you,
Martin
Pegasystems Inc.
US
Hi Martin,
See if this is what you are looking for i.e by setting a prconfig entry
<env name="browser/interactionTime/enabled" value="true"/>
At the end of each interaction, an entry like below is written to log. You can track the activity being called, requestor ID, Total request time etc
Hi Martin,
See if this is what you are looking for i.e by setting a prconfig entry
<env name="browser/interactionTime/enabled" value="true"/>
At the end of each interaction, an entry like below is written to log. You can track the activity being called, requestor ID, Total request time etc
INFO localhost| Proprietary information hiddenlibj55 -IntEnd,HC5E7118E0B5CDD35EC8808FF67758FB5,4,Activity=GetProcessWindowName,150.20,218.40,pxTotalReqTime=0.15;pxJavaStepElapsed=0.00;pxRuleIOElapsed=0.01;pxInputBytes=68;pxJavaAssembleCount=2;pxDBInputBytes=108802;pxOtherIOCount=6;pxTotalReqCPU=0.09;pxJavaAssembleHLElapsed=0.06;pxOtherCount=6;pxActivityCount=2;pxConnectCount=2;pxRDBRowWithoutStreamCount=2;pxJavaAssembleElapsed=0.05;pxJavaAssembleCPU=0.02;pxInteractions=1;pxJavaStepCount=1;pxJavaCompileCount=2;pxRulesUsed=5;pxRuleBrowseElapsed=0.00;pxOtherIOElapsed=0.02;pxRulesExecuted=2;pxJavaCompileElapsed=0.06;pxRuleCount=3;pxRDBWithoutStreamCount=2;pxConnectElapsed=0.04;,357521,Requestor,pxRequestor=Code-Pega-Requestor=27714;OperatorID=Data-Admin-Operator-ID=95660;OrgDivision=Data-Admin-OrgDivision=3980;Org=Data-Admin-Organization=3485;Broadcast=Data-Broadcast=2646;,133485,STANDARD,pxThread=Code-Pega-Thread=19884;Application=Rule-Application=3334;pyPortal=Data-Portal=34036;AccessGroup=Data-Admin-Operator-AccessGroup=17792;,75046,Developer,myGroupRules=System-User-MyRules=1166;ProcessList=Code-Pega-List=45104;pxThread=Code-Pega-Thread=20824;Application=Rule-Application=3858;pyPortal=Data-Portal=37114;pyCESettings=Data-CESettings=876;AddOnList=Code-Pega-List=21092;myRules=System-User-MyRules=1164;AccessGroup=Data-Admin-Operator-AccessGroup=17792;,148990
BNY Mellon
US
Doesn't look like what Martin's asking. Seems like he'd like to capture each user event, even those that are client level.
Pega PDN is using Mouse Tracking, Website Heatmaps – Mouseflow -- this looks like a general-purpose tool for that need.
Accepted Solution
Pegasystems Inc.
US
It seems the Audit logging for a Flow would have worked; however, because we do no persist the work objects this was not a viable solution. The two alternatives are to attach an activity to perform the logging at each desired element, for say a button. The other solution was to create a jQuery CSS selector binding an even handler function in turn calling a activity server side.
Hope this helps for those in similar scenarios. I have pasted the code for the jQuery CSS Selector. Please keep in mind this was done with IAC so some functions may have to be substituted:
// Referencing the jQuery library from Google CDN
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
// CSS Selectors using jQuery
<script type="text/javascript">
// when the document and all resource finished downloading
$(document).ready(function() {
// select all input elements and attach to the click event handler
$("input").click(function() {
// an AJAX call. These are the call handlers
var pingCallbackObj = {
success: function(d) {
alert("success");
},
failure: function(d) {
It seems the Audit logging for a Flow would have worked; however, because we do no persist the work objects this was not a viable solution. The two alternatives are to attach an activity to perform the logging at each desired element, for say a button. The other solution was to create a jQuery CSS selector binding an even handler function in turn calling a activity server side.
Hope this helps for those in similar scenarios. I have pasted the code for the jQuery CSS Selector. Please keep in mind this was done with IAC so some functions may have to be substituted:
// Referencing the jQuery library from Google CDN
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
// CSS Selectors using jQuery
<script type="text/javascript">
// when the document and all resource finished downloading
$(document).ready(function() {
// select all input elements and attach to the click event handler
$("input").click(function() {
// an AJAX call. These are the call handlers
var pingCallbackObj = {
success: function(d) {
alert("success");
},
failure: function(d) {
alert("failure");
}
};
// the paramater data for the Activty
var outData = "Message=" + encodeURIComponent("Click Event from UI Javascript" + $(this).attr("value"));
// the class.activity
var oSafeUrl = new SafeURL("VZW-FW-SaveSeqFW-Work.UIInteractionLog");
// converting the URL
var strNextUrl = oSafeUrl.toURL();
// and making the call
var request = pega.util.Connect.asyncRequest('POST', strNextUrl, pingCallbackObj, outData);
});
});
</script>