Share via


BatchJobAlerts::saveAlerts Method

Saves a batch job alert rule into the BatchJobAlerts table.

Syntax

server public static void saveAlerts(RecId batchJobId, Map alertsData)

Run On

Server

Parameters

  • alertsData
    Type: Map Class
    Contains a list of structs that have alerts subscriptions. See the documentation for the addAlertToMap function in the BatchJobAlerts table.

Remarks

See the documentation for the addAlertToMap function for information about how to construct the input map from the BatchJobAlerts table.

See Also

Reference

BatchJobAlerts Table