Skip to main content

Hello all!

 

My organization has been getting emails like the example posted below for some time now, and frankly, I cannot make sense of what's going wrong or how to fix the problem from these emails. If anyone can give me some insight into what I can do to better debug these flow processes I'd greatly appreciate it!

Note: I've taken out the org and IDs the emails provide. They are valid IDs.

 

Example 1:

Error element myDecision (FlowDecision). Apex CPU time limit exceeded

 

Flow Details Flow API Name: rF401k_New_Account_in_Asana Type: Record Change Process Version: 5 Status: Active Org: N/A

Flow Interview Details Interview Label: rF401k_New_Account_in_Asana-5_InterviewLabel Current User: TD Ameritrade (ID) Start time: 7/22/2021 4:52 AM Duration: 0 seconds

How the Interview Started TD Ameritrade (ID) started the flow interview. API Version for Running the Flow: 51 Some of this flow's variables were set when the interview started. myVariable_old = Contact (ID) myVariable_current = Contact (ID)

DECISION: myDecision Skipped this outcome because its conditions weren't met: myRule_1 Outcome conditions: 1. {!myVariable_current.Open_New_Acct__c} (null) Does not equal null 2. {!myVariable_current.Open_New_Acct__c} (null) Equals rF401k Logic: All conditions must be true (AND)  Default outcome executed.

 

Salesforce Error ID: 832169146-10452 (-1741830137)

 

Example #2

Error element myDecision (FlowDecision). Apex CPU time limit exceeded

 

Flow Details Flow API Name: TDAI_New_Accounts_in_Asana Type: Record Change Process Version: 10 Status: Active Org: 

Flow Interview Details Interview Label: TDAI_New_Accounts_in_Asana-10_InterviewLabel Current User: TD Ameritrade () Start time: 7/22/2021 4:50 AM Duration: 0 seconds

How the Interview Started TD Ameritrade () started the flow interview. API Version for Running the Flow: 51 Some of this flow's variables were set when the interview started. myVariable_old = Contact () myVariable_current = Contact ()

DECISION: myDecision Skipped this outcome because its conditions weren't met: myRule_1 Outcome conditions: 1. {!myVariable_current.Open_New_Acct__c} (null) Equals TDAI 401k Account 2. {!myVariable_current.Open_New_Acct__c} (null) Does not equal null Logic: All conditions must be true (AND)  Default outcome executed.

 

Salesforce Error ID: 832169146-10424 (-1741830137)

 

Thank you in advance!

 

#Automation  #Integration

 

#Integration

1 个回答
  1. 2021年7月22日 14:58

    Hi Nicholas, Are you using flow to call an invocable Apex method? If so, it sounds like the flow is getting hung up within that Apex as it's taking to long to process the transaction. If that's the case, you might need to make the adjustment within the Apex class to improve performance.