Loading
Sales Performance Management
Índice
Selecionar filtros

          Sem resultados
          Sem resultados
          Aqui estão algumas dicas de pesquisa

          Verifique a grafia das palavras-chave.
          Tente utilizar termos mais genéricos.
          Selecione menos filtros para ampliar sua pesquisa.

          Pesquisar em toda a Ajuda do Salesforce
          About Data Optimization and Performance in Salesforce Spiff

          About Data Optimization and Performance in Salesforce Spiff

          Designer and the commission engine share the same underlying logic, which means the decisions you make during configuration directly affect statement performance at scale.

          Designer and the Commission Engine

          Designer and the commission engine are foundationally similar but serve different purposes. Designer uses the commission engine to show calculation results in real-time, much like a spreadsheet. The commission engine calculates statements in isolation, with a fixed amount of memory and time allocated to each statement.

          This table shows the key characteristics of each.

          Designer Commission Engine
          Shows calculation results in real-time as you build, similar to a spreadsheet. Generates finalized commission statements, each calculated in isolation from the others.
          Uses the commission engine under the hood, so its behavior reflects what the engine does in production. Processes statements in no guaranteed order — one rep's statement doesn't block or influence another's.
          Timeout errors in Designer signal that the same logic creates performance pressure in production. Each statement receives a fixed allocation of memory and processing time.
          Timeout or memory errors in Designer are a signal to optimize, but they don't always indicate a problem with statement calculation. Because Designer limits are lower, you might see errors in Designer that don't appear when the same logic runs as a statement. If a statement exceeds its allocation, contact Salesforce Support to request an increase to the memory or time limits.
          A good early-stage proxy for production performance — if it times out in Designer, it struggles in the engine. For larger, more complex plans, Designer errors might be unavoidable. In those cases, successful statement calculation is the appropriate target, as Designer success is not always achievable or required. Only the data stored in Capture Trace is available for reporting. Turning off trace on a field removes it from reports and exports.

          Because Designer operates under lower memory and processing limits than the commission engine, a timeout in Designer is a useful signal to investigate and optimize — but it doesn't always mean statement calculation will fail. For smaller configurations, a timeout in Designer often indicates the same logic will struggle at statement scale. For larger or more complex plans, Designer timeouts might occur even when the equivalent statement calculates successfully.

          When a statement exceeds its memory or time allocation, two paths are available: contact Salesforce Support to request a resource increase, or optimize the plan logic and data filters. In practice, a resource increase is often the fastest resolution when the issue is discovered close to a payroll run. Optimization addresses the underlying cause and is the recommended follow-up if a resource increase alone doesn't resolve the issue, or as a longer-term strategy to reduce statement resource consumption.

          For example, consider that you build a calculated field on the Opportunities object that uses a sum() function to aggregate year-to-date annual recurring revenue (ARR) across all closed opportunities for a rep. When you preview a statement in Designer for a single rep with two years of history, the calculation times out. If a timeout happens in Designer, the commission has the same problem — and likely at greater scale — when it processes statements for your entire rep population in a single run. The fix is to optimize the calculation before moving to production: turn off trace on the sum() field, encapsulate it as a separate worksheet calculation, or replace the full-history scan with a filtered data range.

          Tip
          Tip Test complex calculations in Designer before rolling them out to production. Timeouts in Designer are a signal to investigate your logic and data filters, but statement calculation success is the production benchmark. For larger plans, Designer timeouts might persist even when statements calculate correctly.

          Where to Focus Optimization Efforts

          Performance improvements in Spiff come from three areas: how data enters the system, how plan logic processes that data, and which fields are configured to appear on the statement page. Addressing all three together produces the best results.

          Focus your optimization efforts across these three layers.

          Performance Principles

          Keep these guiding principles in mind throughout your implementation.

          • Start optimization on day one, and revisit it regularly. Retrofitting performance improvements into an existing configuration is harder than building them in from the start. Plan logic and data volumes change over time, so build performance review into your regular plan maintenance cycle — not just your initial implementation.
          • Consolidate and aggregate data before it reaches the engine. Structure your data so that reps work with a meaningful, manageable set of obligations — not hundreds or thousands of individual records. Aggregating and consolidating data upstream, before it syncs into Spiff, reduces complexity for both reps and the commission engine. For specific techniques to control what data syncs into Spiff, see Optimize Data Filter Performance in Salesforce Spiff.
          • Understand your data volumes over time. A configuration that performs well at launch can degrade as record counts grow. Plan for archival and review projected volumes with your data team.
          • Limit statement page fields to what reps need. Every field selected on the statement page is run by the engine for every statement, regardless of whether the calculation path would otherwise reach it. Remove intermediate calculations and internal tracking fields from the rep-facing view.
          • Turn on trace only where it serves a purpose. Trace stores data and consumes memory and calculation time. Turn it on for fields that reps need to see on their statements or that Comp Admins require for reporting. Turn it off for intermediate calculations, relationship traversals, and any field that doesn't need to appear in rep views or exports.
          • Avoid hard-coded values. Store variable amounts in worksheet fields and use lookup tables so that the logic stays maintainable as business rules change.
           
          Carregando
          Salesforce Help | Article