Lisha
10-17-2022Cloud Apps
Widget refresh
Hello,
I have added a widget script which performs my required action and at the end I want to refresh the widget.
Everything is working fine but the widget keeps on refreshing again and again. Is there a way to limit this so the widget is refreshed only once after the result is processed.
Below is the structure of the script used :
widget.on('processresult', function(widget, query) {
. .
. .
. .
widget.refresh();
});