GM - Bulk Action Monitor
(gmpkg:bulkActionMonitorLWC)
Documentation
GM - Bulk Action Monitor component is a utility bar item that lists the bulk action jobs started by the current user from a grid (bulk mass update, bulk mass assign and bulk quick action). For each job, the monitor shows the grid, the action, the progress and the state. The user can cancel a job in progress, download the errors of a job completed with failures as a CSV file, and remove a finished job from the list. A toast is displayed when a job completes.
Use case: Add the monitor to the utility bar of a Lightning app to follow the progress of mass updates launched on large volumes of records. See Grid Bulk Action.
Specification
Cleanup Delay
Integer
Delay in seconds before a successfully completed job is automatically removed from the list. Only jobs without failures are removed. Set to -1 to keep the jobs until the user removes them.
The default value is -1.
API Reference
<?xml version="1.0" encoding="UTF-8"?>
<LightningComponentBundle xmlns="http://soap.sforce.com/2006/04/metadata">
<apiVersion>65.0</apiVersion>
<isExposed>true</isExposed>
<masterLabel>GM - Bulk Action Monitor</masterLabel>
<description>Bulk Action Monitor</description>
<targets>
<target>lightning__UtilityBar</target>
</targets>
<targetConfigs>
<targetConfig targets="lightning__UtilityBar">
<property
name="cleanupDelay"
type="Integer"
label="Cleanup Delay"
description="Cleanup delay before removing a successfully completed job. Set to -1 for no cleanup"
/>
</targetConfig>
</targetConfigs>
</LightningComponentBundle>Last updated
Was this helpful?