'LogoffTimer' of 'pxSessionTimer' will be shown during the approval of bulk entries processing

Hi Pega Support,

The below is the background:

Timeout = 2 minutes

TimeoutWarningCountdown = 1 minute

We actually have implemented a ‘pxSessionTimer’ so that a ‘LogoffTimer’ will be displayed to the users according to the setting above.

Sometimes, our users will have to approve the processing regarding bulk entries.

After the ‘Approve’ button is clicked, the bulk entries processing may take place for at least 1 hour in which the processing time is more than the time defined for the timeout.

So, my question here is that can please help to advise is there a way so that during the processing of the bulk entries, the ‘LogoffTimer’ which contains the countdown will not appear?

Thanks.

@XueWeiL9 - SessionTimer will reset only if we have any calls happening from client side to server side. In background process on screen or portal need to trigger an action in a loop to reset the timer.

One example is - I will add a button with className and on action set i will add a activity which has wait step.Using javascript I will call the button action for every interval to make the timer reset.

Thank you.

Hi @Priyanka Boga,

The ‘SessionTimer’ actually has been implemented as a Section rule.

Understood for a bulk processing, a certain steps in Activity rule will be get executed repeatedly.

So, for this case, can please help to advise is there a possibility that we can reset the timer of ‘SessionTimer’ of Section rule in Activity rule?

@XueWeiL9 - In the activity add Show-HTML step and add below code in that html rule.

<script>

var resetTimer= pega.desktop.support.getDesktopWindow();

resetTimer.desktop_restartTimeoutWarningTimer();

</script>

Thank you.