getAlertsByWhatIdAndParentId(var1, var2)

Retrieve record alerts by both the Salesforce record ID and the related parent ID.

This method aggregates alerts associated with PersonAccount and FinancialAccount. For example, getRecordByWhatId on PersonAccount returns all alerts related to the person account, all alerts related to the person’s financial accounts, and all alerts related to financial account transactions for each financial account.

It returns alerts in the following basic structure for whatId and parentId.

What IdParent IdSubjectDescription
Person AccountIdnullText1Text2
Financial AccountIdnullText3Text4
Financial TransactionIdFinancial AccountIdText5Text6

public List<fscwmgen.RecordAlertInfo> getAlertsByWhatIdAndParentId(String var1, String var2)

var1

Type: String

Specify the related parent ID.

var2

Type: String

Specify the Salesforce record ID.

Type: List<fscwmgen.RecordAlertInfo>