Skip to main content

#Flow Error0 utenti parlano di questo argomento

Hi,

I'm not able to add/ set a 'get record' elemnt in flow ouside loop. 

Issue: 

The flow is working fine till end but hitting governor limits for 100+ records (soql: 101 limit) for 'Get follow up task' element because its inside a loop. So, how to set those 'Get Records' before a loop to avoid governor error? please suggest flow bulkification?

 

Below is the overview of scheduled triggered flow:

 

 'Get lead' element : lead where country = India 

 

Inside a lead loop -> 

Decisions

Condition 1: Check (If the lead has not been updated for 7 days since creation) If true, then -> task creation on lead.  

Condition 2: Check (if the lead has not been updated for 7 days since creation) and (if a follow-up task is created on that lead) and (if the task status is not completed.) and (if lead is created within 42 days period)

If true -> Go for follow up Task Creation. 

 

  Inner Condition 2.1-> Repeat the Condition 2 for creation of follow up task until the latest task status marked as completed (Within 7 days) or if not completed (Within 7 days), then send follow ups till 42 days from lead creation days.

 

condition 3: If a follow-up task is created on current lead from loop and task status is marked as completed.

If true -> End flow for that lead.

 

Outside lead loop-> 

Create task element. 

 

Thanks!In flow, how to add/set  'Get Record' element outside loop?

 

In get task -> checking  task's whoid = loop current lead's Idflow2.PNG

 

#Flow  #Salesforce Admin  #Flow Error

1 risposta
0/9000

I m doing Data And Action flow challenge 3

When I start Action Post To chatter in messsage I click chatter message but in Target Name or Id I can't seeRecord in global variables.

#Flow #Screen Flow #Scheduled Flow #LeadBeforeSave Flow #Flow Error #Flow Formula #Flownática #Flow User #Schedule Triggered Flow
0/9000

Trailblazer Meetup '24 - 100 Days Challenge, participants will engage in activities focused on Salesforce fundamentals, Apex programming, and Lightning Web Component Training. This includes participating in running challenges and social interactions.

 

Tech Day-11 - Salesforce Lightning Flow  - 6th Apr 2024 (Sat)

https://trailblazercommunitygroups.com/events/details/salesforce-salesforce-user-group-chennai-india-presents-trailblazer-ninjas24-tech-day-11-lighting-flow-part-1/

 

Tech Day-12 - Salesforce Lightning Flow - 7th Apr 2024 (Sun)

https://trailblazercommunitygroups.com/events/details/salesforce-salesforce-user-group-chennai-india-presents-trailblazer-ninjas24-tech-day-12-lighting-flow-part-2/

Trailblazer Meetup '24 - 100 Days Challenge, participants will engage in activities focused on Salesforce fundamentals, Apex programming, and Lightning Web Component Training.

 

Join our 100 Days Challenges - It's 100% Free.

100 Hours of Salesforce Training : https://bit.ly/100HourOfTraining

100 Days of Self-Learning Challenge : https://bit.ly/100DaysOfSelfLearning

100 Days of Running Challenge : https://bit.ly/100DaysOfRunning

 

For Event Updates:

Telegram  : https://bit.ly/TelegramSFUG

YouTube   : https://bit.ly/YouTubeSFUG

LinkedIn    : https://bit.ly/LinkedInSFUG

Whatsapp : https://bit.ly/WhatappSFUG

Twitter       : https://bit.ly/TwitterSFUG

Instagram  : https://bit.ly/InstagramSFUG

 

Note: Share this with your friends, colleagues, and final-year students who are interested in learning Salesforce as a career path. Let's contribute to our community by spreading the word!

 

#Trailhead Challenges

 

#Flows #Screen Flow #Flow Formula #Schedule Triggered Flow #FlowBuilder #Flow Error #FlowCallout #Flow User 

0/9000