Loading

Salesforce Billing Revenue Recognition Service API: Flow Limitation

Udgivelsesdato: Aug 14, 2026
Beskrivelse

This article answers why the Salesforce Billing Revenue Recognition Service API does not work when called from a Flow in Salesforce Billing. Developers and admins who attempt to invoke the Revenue Recognition Service (RRS) API through a Flow automation will find the integration is unsupported.

The Revenue Recognition Service API is a Salesforce Billing feature that automates the creation and management of revenue recognition schedules. This limitation affects any Flow type (Screen Flows, Auto-launched Flows, etc.) that attempts to call the RRS API as an action or invocable method.

Løsning

The Revenue Recognition Service API is incompatible with Flows because of a data type constraint. The API uses a variable of type List<List<String>> — a nested list structure — as part of its core logic. Salesforce Flows do not support nested list variable types, so any Flow that attempts to call this API will fail to execute correctly.

Use one of the following supported automation methods instead:

1. Process Builder — Build a process that invokes the Revenue Recognition Service API as an invocable action. Process Builder supports the required variable types and is documented in the official RRS developer guide.
2. Apex Trigger — Write an Apex Trigger on the relevant object (for example, Order, OrderItem, or Invoice) that calls the Revenue Recognition Service API class directly. This approach supports the full List<List<String>> parameter structure.
3. Apex Class — Create a standalone Apex Class or utility method that invokes the Revenue Recognition Service API. This can be called from a Trigger, a scheduled job, or a REST endpoint.
4. REST Services — Call the Revenue Recognition Service API externally via a REST API request. This is suitable for integrations with external systems that need to trigger revenue recognition programmatically.

Important: The Salesforce Billing developer documentation for Revenue Recognition Service use cases explicitly lists only these four supported methods. Do not use Flows to invoke this API, as the required nested list variable type (List<List<String>>) is not available in the Flow variable palette.

Vidensartikelnummer

000393537

 
Indlæser
Salesforce Help | Article