Skip to main content

I have completed this flow exactly as per the requirements of this challenge. I checked all the conditions, names of the variable and tried all possible solutions. But this challenge is not getting completed. Please guide and help how to proceed? 

#Trailhead Support #Trailhead Challenges

 

Unable to complete the Module:  Create the Opportunity from Engagement flowimage.pngimage.png

 

 

2 件の回答
  1. 今日、2:40

    Hi Deepayan, 

     

    The flow structure itself looks reasonable, but "Whoops, looks like there was a problem" is Trailhead's generic checker failure — it doesn't tell you which specific requirement is unmet, so the fastest way to actually find the mismatch is the Debug tool you already have open, not guessing from the builder. 

     

    Use Debug directly (you're already on this screen): 

    1. Set "Run the Flow As If the Record Is: Created" (since this flow is meant to fire on new Engagements) 

    2. Search for and select a real Engagement__c record in the Engagement_c field that has Potential Donation = True 

    3. Click Run, then step through each element in the debug trace — it'll show you exactly what value each field resolved to at the Create Opportunity step, and whether the Opportunity actually got created with the right values 

     

    A few specific things worth double-checking against the exact wording in the unit instructions, since these are the most common reasons this exact flow type fails silently: 

     

    1. Trigger type — your flow triggers on "A record is created or updated." If the instructions specifically say the Opportunity should only be created once, when the Engagement is first created (not on every subsequent update), having "or updated" active could cause duplicate Opportunity creation, which can fail the checker even if the create logic itself is correct. Re-check whether the unit wants Created only. 

     

    2. Stage value — "Prospecting" needs to match the exact picklist API value/label required by the instructions, character-for-character. If the unit specifies a different starting stage, this silently creates a technically-valid Opportunity that just doesn't match what's being checked. 

     

    3. Record Type ID — this is pulled from your "Get Record type" Get Records element. Open that element and confirm the filter criteria is pulling the exact Record Type the instructions specify (by DeveloperName, not just Label — labels can look right but not match the underlying API name the checker verifies against). 

     

    4. Entry condition scope — Potential Donation = True as the only condition is fine if that matches the instructions exactly, but if there's a second required condition (e.g., a specific Engagement Type or Status) that's missing, the flow would still "work" for your test case but fail the checker's own test record, which may have different field values than what you're testing locally. 

     

    Run the Debug trace against a record matching the checker's likely test scenario, and check field-by-field which value doesn't match what's expected — that'll pinpoint it faster than re-reading the builder config.

0/9000