Skip to main content

Hi Trailhead team, 

 

I'm working on the

Advanced Agentforce Flow Administration superbadge. The step "Update a Prompt Template with Recent Cases" keeps failing, even though the template works as specified.

 

I keep getting this checker error: "

The prompt template ‘Equipment Repair or Replace Recommendation’ isn’t configured with a dynamic resource for Store name and Equipment asset name. Review the 'Update a Prompt Template with Recent Cases' scenario and related Help article section for flow configuration requirements."

 

Current configuration

 

Flow: Gather 5 Most Recent Cases

(Template-Triggered Prompt Flow, active).  

It passed "Create a Flow That Gathers Recent Cases".

  - Inputs: accountInfo (Account record), assetName (Text), and assetInfo (Asset

    record, added while troubleshooting)

  - Get Asset: AccountId = accountInfo.Id AND Name = assetName

  - Get recent 5 cases related to the store: AccountId = accountInfo.Id, AssetId

    = Get_Asset.Id, Type = Equipment Malfunction, sorted by CreatedDate

    descending, limit 5

  - It loops over the cases and adds Case Subject: {Subject} / Case Description:

    {Description} as prompt instructions

 

Prompt template: Equipment Repair or Replace Recommendation 

  - Template inputs: Store (Account) and Asset (Asset), both required

  - Body: Store: {{Input.Store.Name}}, Equipment: {{Input.Asset.Name}}, and

    {{Flow.Gather_5_Most_Recent_Cases.Prompt}}

  - Flow input mapping: accountInfo ← Input.Store, assetName ← Input.Asset.Name,

    assetInfo ← Input.Asset

 

  It works: for CCC Toronto 325 with "Grandioso 7 - Toronto 325", the Resolved

  Prompt shows the store name, the asset name and the 4 expected malfunction

  cases

. The flow debug log returns the same 4 cases. 

 

I am out of ideas and would appreciate some help

 

#Trailhead Challenges  #Trailhead Superbadges

2 answers
0/9000