Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
vendors:cisco:wxcc:widgets [2026/02/25 16:57] – [Change RONA V2] gerardorourkevendors:cisco:wxcc:widgets [2026/02/26 11:19] (current) – gerardorourke
Line 155: Line 155:
     }     }
     </code>     </code>
- * The original version attempted to make the agent available after the delaySeconds timer expires - no matter what. i.e. Even if in the mean time, the agent have moved from RONA and back into Idle with manual code. This is not what users would want. This is now prevented by checking, just before moving the agent into available, that the current state is indeed still Idle RONA. +  * The original version attempted to make the agent available after the delaySeconds timer expires - no matter what. i.e. Even if in the mean time, the agent have moved from RONA and back into Idle with manual code. This is not what users would want. This is now prevented by checking, just before moving the agent into available, that the current state is indeed still Idle RONA. Only if its Idle due to RONA will it attempt move the agent back to an Available state. 
-Only if its Idle due to RONA will it attempt move the agent back to an Available state.+
   * Note - As the user logs in the widget the widget loads, it then pauses for 15 seconds before loading the rest of the code. If the agent has NOT completed login by this time (i.e. if the user does not complete login by confirming their team / extension), the events to catch the RONA events do not trigger and the gadget does not work as intended.   * Note - As the user logs in the widget the widget loads, it then pauses for 15 seconds before loading the rest of the code. If the agent has NOT completed login by this time (i.e. if the user does not complete login by confirming their team / extension), the events to catch the RONA events do not trigger and the gadget does not work as intended.
  
-**Package:** {{ :vendors:cisco:wxcc:change-ronav2.7z |}}+**Package:** {{ :vendors:cisco:wxcc:change-rona_20260226.7z |}}
   *download above and to run locally (http://localhost:3001/build/change-rona.js) then run the following (from the project directory):   *download above and to run locally (http://localhost:3001/build/change-rona.js) then run the following (from the project directory):
     *npm install     *npm install
Line 167: Line 167:
  
 <file JavaScript change-rona.js> <file JavaScript change-rona.js>
 +/*
 /* /*
 Update on Sample Gadget provided by Aashish Berry (aaberry) - https://github.com/aashishberry/desktopWidgets/tree/main Update on Sample Gadget provided by Aashish Berry (aaberry) - https://github.com/aashishberry/desktopWidgets/tree/main
Line 209: Line 210:
  
  if (this.delaySeconds) {  if (this.delaySeconds) {
- logger.info('Delay read from layout: ${this.delaySeconds} seconds.');+ logger.info('Delay read from layout: ' + this.delaySeconds + ' seconds.');
  this.delaySeconds = this.delaySeconds * 1000;  this.delaySeconds = this.delaySeconds * 1000;
  }  }
  • vendors/cisco/wxcc/widgets.1772038640.txt.gz
  • Last modified: 2026/02/25 16:57
  • by gerardorourke