Change Script Widget execution time and keep data

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Please sign in to see details of an important advisory in our Customer Advisories area.

Change Script Widget execution time and keep data

L4 Transporter

Hello,

We are using a heavy widget to show data to the analysts. This widget calls many api calls and modifies the data. We'd like to execute this widget once each hour and keep it with the data on the dashboard.

 

3 REPLIES 3

L4 Transporter

You could output the data to an XSOAR list, and have the widget retrieve and display the results from the list?

 

use the getList method via the script helper to get the list.  The CaseMgmtAnalystTools automation from the Case Management pack has an example.

 

Maybe have the data generated via a Job that runs every hour and populates the list?

L4 Transporter

Thanks for the response,

That's a really good idea. But when is the dashboard exactly executed? It's supposed to do it when it's opened and every 10 minutes (blue button "Refresh every 10 minutes"). So there is no need to create an alternative to avoid executing if the dashboard is not being used, no?

The dashboard widget executes when a user is viewing it, it doesn't execute on its own.  

 

So if you populate the list once an hour with the heavy calls, then have the automation use the list, it's going to be more efficient.

  • 860 Views
  • 3 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!