Skip to main content TDX, the developer conference for the AI agent era is happening now. Watch live on Salesforce+ for exclusive digital content, a revolutionary keynote, and more.
Fred Flinstone (Bedrock) 님이 #Trailhead Challenges에 질문했습니다

 Could not find the required Chatter post when inserting a Communications record with Number__c set to 1;  

 

#Trailhead Challenges

답변 2개
  1. 2월 8일 오후 9:32

    My daughter helped me find the answer. When setting up the Trigger, I had selected under Condition Requirements:

     

    "All Conditions Are Met (AND) instead of

    Any Condition Is Met (OR)

    It was as simple as that. 

  2. 2월 8일 오후 7:43

    please check the link; 

    https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000QN8rWSAT

     

     Check if a trigger, flow, or process is handling the Chatter post creation when Number__c = 1. Verify debug logs to see if FeedItem is being inserted. Ensure the user has Create permissions on FeedItem, and confirm Chatter is enabled with Feed Tracking. If using Apex, make sure the trigger runs

    after insert and assigns ParentId correctly. Test manually via Developer Console or Salesforce Inspector. If still not working, try running the logic in Anonymous Apex or use a Flow instead of a trigger. 

0/9000