---
schema_version: "1"
id: ed58d89b6fd5735fb9826bc83c3ed221d3b0028f9943a66c62f65946ffcbf1df
title: call(action, args)
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/financial_services_cloud_object_reference/apex_fsccomplaintmanagement_AssessmentHelperFunction_call.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.financial_services_cloud_object_reference.meta/financial_services_cloud_object_reference/apex_fsccomplaintmanagement_AssessmentHelperFunction_call.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 2de5e2876dd85541e66004e2219e1137ef3a0758b24c7b4d5e23e995fdc511b1
description: This method calls one of the available AssessmentHelperFunction actions and passes arguments to that action.
---
# call(action, args)

This method calls one of the available AssessmentHelperFunction actions and passes arguments to that action.

## Signature

public Object call(String action, Map<String, Object\> args)

## Parameters

action

Type: [String](https://developer.salesforce.com/docs/atlas.en-us.264.0.apexref.meta/apexref/apex_methods_system_string.htm)

The action to call. The only action is deleteAssessmentResponses.

- deleteAssessmentResponses — Deletes the Assessment object with the specified Assessment ID along with all the related assessment responses.

args

Type: Map<[String](https://developer.salesforce.com/docs/atlas.en-us.264.0.apexref.meta/apexref/apex_methods_system_string.htm), Object>

The arguments passed to the corresponding action. All actions require input, output, and options arguments, but these arguments can be empty if the action doesn’t use them. Values listed here are for the input argument.

- deleteAssessmentResponses — Accepts an AssessmentId.

## Return Value

Type: Map<String, Object>

The return values of the corresponding action, returned in the output argument.

- deleteAssessmentResponses — Returns null.

## Usage

To use this method 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.