- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
03-14-2023 10:36 AM
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.
03-14-2023 10:52 AM
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?
03-15-2023 01:14 AM
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?
03-15-2023 07:21 AM
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.
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!