Skip to end of banner
Go to start of banner

Queued Tasks (Power Scripts)

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

The Queued Tasks monitoring tool keeps track of individual script executions to help you understand the performance implications associated with running scripts. The chart shows the number of script executions add to the script queue over time. The chart can be found at Power Apps Config → Runtime → Queued Tasks.

If more scripts are executed and are simultaneously running than there are available threads in the thread pool, these script will sit in the queue until additional threads become available. You may want to increase the number of threads by configuring the thread pool size in Power Apps Config → General → Thread Pool. However, there may be additional performance implications. For more information see the Thread Pool documentation page.

If there is a large number of apps running consistently then there may be some configuration issues that need to be addressed:

  • Are scripts scheduled to run at very frequent intervals?

  • Are listener scripts filtered to only run for specific project and issue types?

  • Are scripted custom fields made only to run in specified project and issue type contexts?

The settings and others could dramatically reduce the number of times a script is executed.

Note that the results of the Queued Tasks chart is only for the Data Center node the user is currently on and does not represent performance results from the other nodes. This may be changed in the future.

  • No labels