function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Albee Dela Cruz 7Albee Dela Cruz 7 

Unknown Flow Error

I'm getting an unknown error when a specific user is running flows: Null. I can't ffigure out what is causing this. The flow errow email doesn't event saying what element is causing the problem.

Any ideas?

"Error Occurred During Flow "XXX": null"

DECISION: CommentsGatekeeper_D
Skipped this outcome because its conditions weren't met: CommentsGatekeeper_D_over10
Outcome conditions:
{!var_casecommentshistorycounter} (4) Greater than 9

Default outcome executed.

LOOP: LoopCaseCommentsHistoryCollection
Loop Through: [00a2H000012frkEQAQ,00a2H000012ewusQAA,00a2H000012e0WmQAI,00a2H000012e02SQAQ,00a2H000012d2uiQAA,00a2H000012cv4QQAQ]
Iteration: 4
Current value of {!var_list_casecommentshistorydetails}: 00a2H000012d2uiQAA

FAST LOOKUP: GetCommentHistoryOwnerDetails
Find all User records where:
Id Equals {!var_list_casecommentshistorydetails.CreatedById} (00580000004UwUxAAK)
Store those records in {!var_user_commenthistoryownerdetails}.
Save these field values in the variable: Id, Full_Name__c
Result
Successfully found records.

ASSIGNMENT: CaseCommentsHistoryListCounter
{!var_casecommentshistorycounter} Add 1
Result
{!var_casecommentshistorycounter} = "5"

Salesforce Error ID: 349092914-4472 (1180936239)


 
bouscalbouscal
Are these the only elements in the flow and is that fast lookup inside your loop?  If so, nested loops might be a better way to go so you don't hit query limits.  I'm not seeing any outcome other than updating a counter, are you passing that off to something else or are you expecting something to happen?
Albee Dela Cruz 7Albee Dela Cruz 7
Yes those are the only elements in the loop. The idea is to create a list of comments and display it in the next screen element after the loop.
The problem just happens at random and only for a specific user.