Loading
Slack 관련 문의처가 Salesforce Help로 통합 및 변경됩니다.더 많이 읽기

Einstein Next Best Action: Cannot get Recommendation ID from "Recommendation Strategy" Flow

게시 일자: Aug 27, 2025
상세 설명
This article explains why the Record ID of an approved recommendation cannot be retrieved via the recommendationId variable in an Einstein Next Best Action Strategy Flow, and how to correctly pass the ID to a subsequent flow using an input variable.
솔루션

This article explains why the Record ID of an approved recommendation cannot be retrieved via a recommendationId variable in an Einstein Next Best Action Recommendation Strategy flow, and how to correctly pass the ID to the flow that runs on acceptance.

Root Cause

When using a Recommendation Strategy flow, the approved recommendation's record information is passed to a record variable named inputRecommendation, not a text variable named recommendationId. Therefore, the flow that is invoked upon approval must be configured to receive this record variable.

Configuration Steps

  1. Open the flow that is invoked when the recommendation is accepted in Flow Builder.
  2. From the Toolbox, click New Resource and create a variable with the following settings:
    • Resource Type: Variable
    • API Name: inputRecommendation
    • Data Type: Record
    • Object: Recommendation
    • Availability Outside the Flow: Check Available for input.
  3. Click Done to save.
  4. Within the flow, you can now retrieve the ID of the accepted recommendation from the inputRecommendation record variable (e.g., `{!inputRecommendation.Id}`).

With this configuration, the flow correctly receives the recommendation record on acceptance, giving you access to its ID and other fields.

Knowledge 기사 번호

005132979

 
로드 중
Salesforce Help | Article