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.

Note

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

What IdParent IdSubjectDescription
Person AccountIdnullText1Text2
Financial AccountIdnullText3Text4
Financial TransactionIdFinancial AccountIdText5Text6

Signature 

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

Parameters 

var1

Type: String

Specify the related parent ID.

var2

Type: String

Specify the Salesforce record ID.

Return Value 

Type: List<fscwmgen.RecordAlertInfo>