Change the Refresh Frequency of the Process Viewer in an AgilePoint ASP.NET Web Application

Applies To

Objective

To provide instructions for customizing the refresh rate of the Process Viewer in an AgilePoint ASP.NET Web application.

Summary

The Process Viewer page in an AgilePoint ASP.NET Web application refreshes itself in order to update the displayed content to match any recent changes. The frequency at which this refresh occurs can be customized by changing a value in the code of the ProcessViewer.aspx page.

Depending on your business requirements, server hardware, and end-user usage patterns, increasing the length of this interval (to reduce the frequency at which the Process Viewer refreshes) may help reduce the amount of traffic and/or load for your AgilePoint Web Server(s). In some environments, this change may affect server performance and responsiveness.

Resolution

Change the interval value in the ProcessViewer.aspx page. Look for the init( ) function in that page. The default interval is 1000 milliseconds (i.e. 1 second).

function init()
        {
            window.dialogWidth = "770px";
            window.dialogHeight = "500px";
        
            var piID = ProcessViewer.hiddenProcInstID.value;
            if( piID == null || piID == "" ) return;
            highlightCtrl = document.all("HighlightActivity");
            service.useService("ProcessViewerService.asmx?WSDL","Workflow");
window.setInterval("updateProcessInstance()", 1000);
         
        }