---
schema_version: "1"
id: e17477336c630b2a45b439fdfebe17a4ea73a6cef17603f04b41b6a8fcee1293
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_fschousehold_FSCGoalService_call.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.financial_services_cloud_object_reference.meta/financial_services_cloud_object_reference/apex_fschousehold_FSCGoalService_call.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: fd5a88beec1c627592ae260b864fae629abd00a9f537687451479f12fbb215cd
description: This method calls one of the available FSCGoalService actions and passes arguments to that action.
---
# call(action, args)

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

## API Version

59.0

## 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 value must be one of the following action names:

- FinancialGoalPriority — Returns the Priority picklist values of a Financial Goal.
- FinancialGoalStatus — Returns the Status picklist values of a Financial Goal.
- FinancialGoalFrequency (API version 60.0) — Returns the Frequency picklist values of a Financial Goal.
- hasCreateAccessFinancialGoal (API version 60.0) — Returns true if the user has Create access to the FinancialGoal object in their User Profile Standard Object Permissions.
- hasEditAccessFinancialGoal (API version 60.0) — Returns true if the user has Edit access to the FinancialGoal object in their User Profile Standard Object Permissions.
- hasDeleteAccessFinancialGoal (API version 60.0) — Returns true if the user has Delete access to the FinancialGoal object in their User Profile Standard Object Permissions.

args

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

The first three keys must be input, output, and options. The required keys under input depend on the method the action invokes. None of the actions require input, so for all actions, provide empty input, output, and options keys.

## Return Value

Type: Map<String, Object>

The return values of the corresponding action. See the parameter descriptions.

## 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.