• Hussain Haji
  • NEWBIE
  • 0 Points
  • Member since 2016

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 3
    Questions
  • 3
    Replies
Dears,
please note that we are getting the attached error when creating a pop up for the below case. 
its was working normal and we didnt do any changes now we are getting the below erro .
Help please 

Flow Details
Flow Name: Create_Account_and_Opp_for_converted_Lead
Type: Workflow
Version: 12
Status: Active
Flow Interview Details
Interview Label: Create_Account_and_Opp_for_converted_Lead-12_Lead__c
Current User: Hamad Dashti (005b0000000inTr)
Start time: 01/08/2016 15:40
Duration: 0 seconds
How the Interview Started
Hamad Dashti (005b0000000inTr) started the flow interview.
Some of this flow's variables were set when the interview started.
myVariable_old = a01b000000c4OTaAAM
myVariable_current = a01b000000c4OTaAAM
ASSIGNMENT: myVariable_waitStartTimeAssignment
{!myVariable_waitStartTimeVariable} Equals {!Flow.CurrentDateTime}
Result
{!myVariable_waitStartTimeVariable} = "01/08/2016 15:40"
DECISION: myDecision
Executed this outcome: myRule_1
Outcome conditions: and
1. {!myVariable_current.IsConverted__c} (true) Equals true
Logic: All conditions must be true (AND)
RECORD CREATE: myRule_1_A1
Create one Account record where:
Name = {!myVariable_current.Name} (AlRastam company)
OwnerId = {!myVariable_current.OwnerId} (005b0000000inTrAAI)
Phone = {!myVariable_current.Phone_Number__c} (33136611)
Related_Lead__c = {!myVariable_current.Id} (a01b000000c4OTaAAM)
Result
A record is ready to be created when the next Screen or Wait element is executed or when the interview finishes.
RECORD CREATE: myRule_1_A2
Create one Opportunity record where:
CloseDate = {!formula_2_myRule_1_A2_CloseDate} (15 August 2016)
Customer_Spend_on_IT_Telecom__c = {!myVariable_current.Customer_Spend_on_IT_Telecom__c} (100)
Customer_Type__c = {!myVariable_current.Customer_Type__c} (New Customer)
Details__c = {!myVariable_current.Details__c} (the customer requesting to have pabx,dia 1 or 2 mbps as he will have 4 workers in the location (( full solution)) the address is : office 32 building:2655 road:3953 block:939.)
Expected_Price__c = {!myVariable_current.Expected_Price__c} (150)
Expected_Proposal_Date__c = {!myVariable_current.Expected_Proposal_Date__c} (01 August 2016)
Expected_Service_Delivery_Date__c = {!myVariable_current.Expected_Service_Delivery_Date__c} (18 August 2016)
Interested__c = {!myVariable_current.Interested__c} (Interested)
Name = {!myVariable_current.Name} (AlRastam company)
No_of_Lines__c = {!myVariable_current.No_of_Lines__c} (1)
No_of_Static_IPs__c = {!myVariable_current.No_of_Static_IPs__c} (null)
No_of_Trunks__c = {!myVariable_current.No_of_Trunks__c} (4)
OwnerId = {!myVariable_current.OwnerId} (005b0000000inTrAAI)
Phone_Number__c = {!myVariable_current.Phone_Number__c} (33136611)
Related_Lead__c = {!myVariable_current.Id} (a01b000000c4OTaAAM)
Segment__c = {!myVariable_current.Segment__c} (Small Enterprise)
Service_Product__c = {!myVariable_current.Service_Product__c} (PBX (Presales);DIA (Presales);eFax or Fax)
Service_Type__c = {!myVariable_current.Type__c} (PABX)
Service__c = {!myVariable_current.Service__c} (Other)
Speed__c = {!myVariable_current.Speed__c} (null)
StageName = KYC
Result
Failed to create record.
________________________________________
Error Occurred: INSERT --- INSERT FAILED --- ERRORS : (FIELD_CUSTOM_VALIDATION_EXCEPTION) Enter DIA speed,

again have the same issue with number of lines and Speed find the below error please 
An error occurred at element myRule_3_A1 (FlowRecordUpdate).
UPDATE --- UPDATE FAILED --- ERRORS : (FIELD_CUSTOM_VALIDATION_EXCEPTION) Add Number of lines, 
________________________________________
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: Stage_1_to_2_or_3
Type: Workflow
Version: 3
Status: Active
Flow Interview Details
Interview Label: Stage_1_to_2_or_3-3_Lead__c
Current User: Nevin Hussein (005b0000000inTv)
Start time: 25/08/2016 10:08
Duration: 0 seconds
How the Interview Started
Nevin Hussein (005b0000000inTv) started the flow interview.
Some of this flow's variables were set when the interview started.
myVariable_old = a01b000000aEnWEAA0
myVariable_current = a01b000000aEnWEAA0
ASSIGNMENT: myVariable_waitStartTimeAssignment
{!myVariable_waitStartTimeVariable} Equals {!Flow.CurrentDateTime}
Result
{!myVariable_waitStartTimeVariable} = "25/08/2016 10:08"
DECISION: myDecision
DECISION: myDecision2
Executed this outcome: myRule_3
Outcome conditions: and
1. {!myVariable_current.RecordType.DeveloperName} (Stage_1) Equals Stage_1
2. {!myVariable_current.IsConverted__c} (true) Equals true
3. {!myVariable_current.Interested__c} (Interested) Equals Interested
4. {!myVariable_current.Service_Product__c} (Mobile) Is null false
Logic: All conditions must be true (AND)
RECORD UPDATE: myRule_3_A1
Find all Opportunity records where:
Id Equals {!myVariable_current.ConvertedOpportunityId_del__c} (006b000000HydybAAB)
Update the records’ field values.
RecordTypeId = 012b0000000DpL1
Result
Failed to update records that meet the filter criteria.
________________________________________
Error Occurred: UPDATE --- UPDATE FAILED --- ERRORS : (FIELD_CUSTOM_VALIDATION_EXCEPTION) Add Number of lines,
hi , help please .

am useing the below , i want to remove the weekend from the counting from it , any can help please .

if(not(  OR(ISPICKVAL(StageName , 'Lost'),ISPICKVAL(StageName , 'Won')) ),NOW() -  CreatedDate, CloseDate -DateValue( CreatedDate))
want to create a forumal filed witht the below logicet 

Represents Days,Hours 
Calculates the total duration of time since the record create time till now or till Closed Won/Lost time , with counting the weekend days friday and saturday on working days
want to create a forumal filed witht the below logicet 

Represents Days,Hours 
Calculates the total duration of time since the record create time till now or till Closed Won/Lost time , with counting the weekend days friday and saturday on working days