Get Started
call(action, args)
Custom Triggers
Custom Validation Rules
DPE and Monitor Workflow Services
API End-of-Life Policy
Previous Versions
call(action, args)This method calls one of the available RecordAlertsWrapper actions and passes arguments to that action.
public Object call(String action, Map<String, Object> args)
Type: String
The action to call. The value must be one of the following:
Type: Map<String, Object>
The arguments passed to the corresponding action:
The data returned by getAlertsByWhatId and getAlertsByWhatIdBatch looks like this:
1{
2 "numAlerts": 2,
3 "groupedAlerts": [
4 {
5 "Subject": "Sample Alert",
6 "Description": "Sample Description",
7 "WhatId": "0x0000002c4d4eM",
8 "StartDate": "2022-11-30T15:05:47",
9 "ValidUntilDate": "2023-11-30T15:05:47",
10 "SnoozeUntilDate": "2022-12-05T15:05:47"
11 }
12 ],
13 "alerts": [
14 {
15 "Subject": "Sample Alert",
16 "Description": "Sample Description",
17 "WhatId": "0x0000002c4d4eM",
18 "StartDate": "2022-11-30T15:05:47",
19 "ValidUntilDate": "2023-11-30T15:05:47",
20 "SnoozeUntilDate": "2022-12-05T15:05:47"
21 }
22 ]
23}To use this class in an Integration Procedure, specify the class in the Remote Class property, the action in the Remote Method property, and the arguments in the Additional Input property.