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
Christopher Dugan 20Christopher Dugan 20 

Recieved Error Message from Process Builder

Hi all,

  Created a process where when a lead enters a new "lead status" it ticks the appropriate checkbox.  Pretty simple stuff (or so I thought).  Recieved an email with a number of (a lot) of messages similar to the below.  I don't have a developer background.... Could anyone parse out what's going on here?  Any help is greatly appreciated!

 

An error occurred at element myRule_13_A1 (FlowRecordUpdate).
UPDATE --- UPDATE FAILED --- ERRORS : (CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY) Deskcom.LeadConversionDeskCaseUpdate: System.LimitException: Apex CPU time limit exceeded, 

This report lists the elements that the flow interview executed. The report is a beta feature.
We welcome your feedback on IdeaExchange.

Flow Details
Flow Name: New_Lead_Status_Stages_Update_Checkboxes
Type: Workflow
Version: 1
Status: Active

Flow Interview Details
Interview Label: 
Current User: John Levitt (00560000002sLhx)
Start time: 8/11/2016 12:00 AM
Duration: 13 seconds

How the Interview Started
John Levitt (00560000002sLhx) started the flow interview.
Some of this flow's variables were set when the interview started.
myVariable_old = 00Q3200001BIRNcEAP
myVariable_current = 00Q3200001BIRNcEAP

ASSIGNMENT: myVariable_waitStartTimeAssignment
{!myVariable_waitStartTimeVariable} Equals {!Flow.CurrentDateTime}
Result
{!myVariable_waitStartTimeVariable} = "8/11/2016 12:00 AM"

DECISION: myDecision

DECISION: myDecision2

DECISION: myDecision4

DECISION: myDecision6

DECISION: myDecision8

DECISION: myDecision10

DECISION: myDecision12
Executed this outcome: myRule_13
Outcome conditions: and
1. {!myVariable_current.New_Lead_Status__c} (S Accepted L - Contacted/Working) Equals S Accepted L - Contacted/Working
Logic: All conditions must be true (AND)

RECORD UPDATE: myRule_13_A1
Find all Lead records where:
Id Equals {!myVariable_current.Id} (00Q3200001BIRNcEAP)
Update the records’ field values.
NLS_Stage_SAL_C__c = true
Result
Failed to update records that meet the filter criteria.

Best Answer chosen by Christopher Dugan 20
Fabio PalladinoFabio Palladino
Hi Christopher,
if the entry criteria for process builder is "Record is Created or Edit" you must enter a couple of condition in every decision point.
For example:
New_Lead_Status__c --> Is changed --> true
New_Lead_Status__c --> Equals --> S Accepted L - Contacted/Working


Try and let me know
 

All Answers

Fabio PalladinoFabio Palladino
Hi Christopher,
if the entry criteria for process builder is "Record is Created or Edit" you must enter a couple of condition in every decision point.
For example:
New_Lead_Status__c --> Is changed --> true
New_Lead_Status__c --> Equals --> S Accepted L - Contacted/Working


Try and let me know
 
This was selected as the best answer
Christopher Dugan 20Christopher Dugan 20
Hi Fabio,  so I added an is changed = condition on all the decision points.  Hopefully that works!  Thanks a ton for your help!