Skip to main content
Hi Guys,

 

i'm having problems with my flow. So basically I 'm trying to autocreate a contract for new clients only when an opportunity is closed won. Once the contract has been created I want the contract ID field on the opportunity to be updated 

 

I have used both the process builder & flow to try to achieve that but I'm getting the error message below. Can someone please help?

 

Can’t Save Record

 

We can't save this record because the “Autocreate contract for new clients8” process failed. Give your Salesforce admin these details. <b>An unhandled fault has occurred in this flow</b><br>An unhandled fault has occurred while processing the flow. Please contact your system administrator for more information. Error ID: 1161428725-5692 (-467861607) 

 

I also received a detailed error description below via email:

 

Error element myRule_1_A1 (FlowActionCall).

 

An error occurred when executing a flow interview. 

 

 

Flow Details

 

Flow Name: Autocreate_contract_for_new_clients

 

Type: Record Change Process

 

Version: 9

 

Status: Active

 

Org: Datix (00D180000002KLz)

 

 

Flow Interview Details

 

Interview Label: Autocreate_contract_for_new_clients-9_InterviewLabel

 

Current User: Temitayo Akinnaike (0051B00000CfxDn)

 

Start time: 06/11/2018 11:22

 

Duration: 0 seconds

 

 

How the Interview Started

 

Temitayo Akinnaike (0051B00000CfxDn) started the flow interview.

 

Some of this flow's variables were set when the interview started.

 

myVariable_old = Opportunity (00618000007j4yPAAQ)

 

myVariable_current = Opportunity (00618000007j4yPAAQ)

 

 

ASSIGNMENT: myVariable_waitStartTimeAssignment

 

{!myVariable_waitStartTimeVariable} Equals {!$Flow.CurrentDateTime}

 

Result

 

{!myVariable_waitStartTimeVariable} = "06/11/2018 11:22"

 

 

DECISION: myDecision

 

Executed this outcome: myRule_1

 

Outcome conditions: 

 

1. {!myVariable_current.StageName} (Closed Won) Equals Closed Won

 

2. {!myVariable_current.New_or_existing_client__c} (New) Equals New

 

Logic: All conditions must be true (AND)

 

 

DECISION: myRule_1_pmetdec

 

Skipped this outcome because its conditions weren't met: myRule_1_pmetnullrule

 

Outcome conditions: 

 

{!myVariable_old} (Opportunity (00618000007j4yPAAQ)) Is null true

 

 

Skipped this outcome because its conditions weren't met: myRule_1_pmetrule

 

Outcome conditions: 

 

1. {!myVariable_old.StageName} (Proposal) Equals Closed Won

 

2. {!myVariable_old.New_or_existing_client__c} (New) Equals New

 

Logic: All conditions must be true (AND)

 

 

Executed the default outcome

 

 

CREATE_CONTRACT (FLOWS): myRule_1_A1

 

Inputs:

 

Opportunityid = {!myVariable_current.Id} (00618000007j4yPAAQ)

 

 

Error Occurred: An error occurred when executing a flow interview. 

 

 

 

Salesforce Error ID: 1161428725-5692 (-467861607)

 

 
19 Antworten
  1. 6. Nov. 2018, 15:04
    Okay will implement your suggestion and let you know how I get on. Thank you

     

     
0/9000