• Mark Graham 3
  • NEWBIE
  • 25 Points
  • Member since 2017

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 9
    Questions
  • 6
    Replies

Can anyone advise on what this means, please?  What could have gone wrong in the process?

It is related to assigning Assets on Work Orders.

 
Error element myRule_1_A1 (FlowRecordUpdate).
The flow tried to update these records: null. This error occurred: PRIVATE_CONTACT_ON_ASSET: Cannot parent an asset to an unparented contact. You can look up ExceptionCode values in the SOAP API Developer Guide.

Flow Details
Flow API Name: WorkOrder_Process
Type: Record Change Process
Version: 8
Status: Active
Org: XXXX

Flow Interview Details
Interview Label: WorkOrder_Process-8_InterviewLabel
Current User: XXXX
Start time: 07/08/2020 23:21
Duration: 0 seconds

How the Interview Started
XXXX started the flow interview.
Some of this flow's variables were set when the interview started.
myVariable_old = WorkOrder (0WO0J000000UsOMWA0)
myVariable_current = WorkOrder (0WO0J000000UsOMWA0)

DECISION: isChangedDecision2_myRule_1_AssetId
Outcome executed: isChangedRule_2_myRule_1_AssetId
Outcome conditions: 
1. {!myVariable_old} (WorkOrder (0WO0J000000UsOMWA0)) Is null false
2. {!myVariable_old.AssetId} (null) Does not equal {!myVariable_current.AssetId} (02i0J00000YtlMAQAZ)
Logic: All conditions must be true (AND)

DECISION: isChangedDecision6_myRule_5_AssetId
Outcome executed: isChangedRule_6_myRule_5_AssetId
Outcome conditions: 
1. {!myVariable_old} (WorkOrder (0WO0J000000UsOMWA0)) Is null false
2. {!myVariable_old.AssetId} (null) Does not equal {!myVariable_current.AssetId} (02i0J00000YtlMAQAZ)
Logic: All conditions must be true (AND)

DECISION: isChangedDecision13_myRule_12_Status
Skipped this outcome because its conditions weren't met: isChangedRule_13_myRule_12_Status
Outcome conditions: 
1. {!myVariable_old} (WorkOrder (0WO0J000000UsOMWA0)) Is null false
2. {!myVariable_old.Status} (Installation) Does not equal {!myVariable_current.Status} (Installation)
Logic: All conditions must be true (AND)

Default outcome executed.

DECISION: isChangedDecision24_myRule_23_Status
Skipped this outcome because its conditions weren't met: isChangedRule_24_myRule_23_Status
Outcome conditions: 
1. {!myVariable_old} (WorkOrder (0WO0J000000UsOMWA0)) Is null false
2. {!myVariable_old.Status} (Installation) Does not equal {!myVariable_current.Status} (Installation)
Logic: All conditions must be true (AND)

Default outcome executed.

DECISION: isChangedDecision27_myRule_26_Status
Skipped this outcome because its conditions weren't met: isChangedRule_27_myRule_26_Status
Outcome conditions: 
1. {!myVariable_old} (WorkOrder (0WO0J000000UsOMWA0)) Is null false
2. {!myVariable_old.Status} (Installation) Does not equal {!myVariable_current.Status} (Installation)
Logic: All conditions must be true (AND)

Default outcome executed.

DECISION: isChangedDecision32_myRule_31_Status
Skipped this outcome because its conditions weren't met: isChangedRule_32_myRule_31_Status
Outcome conditions: 
1. {!myVariable_old} (WorkOrder (0WO0J000000UsOMWA0)) Is null false
2. {!myVariable_old.Status} (Installation) Does not equal {!myVariable_current.Status} (Installation)
Logic: All conditions must be true (AND)

Default outcome executed.

DECISION: isChangedDecision36_myRule_35_Status
Skipped this outcome because its conditions weren't met: isChangedRule_36_myRule_35_Status
Outcome conditions: 
1. {!myVariable_old} (WorkOrder (0WO0J000000UsOMWA0)) Is null false
2. {!myVariable_old.Status} (Installation) Does not equal {!myVariable_current.Status} (Installation)
Logic: All conditions must be true (AND)

Default outcome executed.

DECISION: isChangedDecision43_myRule_42_WorkTypeId
Skipped this outcome because its conditions weren't met: isChangedRule_43_myRule_42_WorkTypeId
Outcome conditions: 
1. {!myVariable_old} (WorkOrder (0WO0J000000UsOMWA0)) Is null false
2. {!myVariable_old.WorkTypeId} (08q0J0000008PHYQA2) Does not equal {!myVariable_current.WorkTypeId} (08q0J0000008PHYQA2)
Logic: All conditions must be true (AND)

Default outcome executed.

DECISION: isChangedDecision46_myRule_45_Bespoke_HW_available_c
Skipped this outcome because its conditions weren't met: isChangedRule_46_myRule_45_Bespoke_HW_available_c
Outcome conditions: 
1. {!myVariable_old} (WorkOrder (0WO0J000000UsOMWA0)) Is null false
2. {!myVariable_old.Bespoke_HW_available__c} (null) Does not equal {!myVariable_current.Bespoke_HW_available__c} (null)
Logic: All conditions must be true (AND)

Default outcome executed.

DECISION: isChangedDecision51_myRule_50_Status
Skipped this outcome because its conditions weren't met: isChangedRule_51_myRule_50_Status
Outcome conditions: 
1. {!myVariable_old} (WorkOrder (0WO0J000000UsOMWA0)) Is null false
2. {!myVariable_old.Status} (Installation) Does not equal {!myVariable_current.Status} (Installation)
Logic: All conditions must be true (AND)

Default outcome executed.

DECISION: isChangedDecision54_myRule_53_Site_Survey_c
Skipped this outcome because its conditions weren't met: isChangedRule_54_myRule_53_Site_Survey_c
Outcome conditions: 
1. {!myVariable_old} (WorkOrder (0WO0J000000UsOMWA0)) Is null false
2. {!myVariable_old.Site_Survey__c} (null) Does not equal {!myVariable_current.Site_Survey__c} (null)
Logic: All conditions must be true (AND)

Default outcome executed.

DECISION: isChangedDecision57_myRule_56_Status
Skipped this outcome because its conditions weren't met: isChangedRule_57_myRule_56_Status
Outcome conditions: 
1. {!myVariable_old} (WorkOrder (0WO0J000000UsOMWA0)) Is null false
2. {!myVariable_old.Status} (Installation) Does not equal {!myVariable_current.Status} (Installation)
Logic: All conditions must be true (AND)

Default outcome executed.

DECISION: isChangedDecision61_myRule_60_IsClosed
Skipped this outcome because its conditions weren't met: isChangedRule_61_myRule_60_IsClosed
Outcome conditions: 
1. {!myVariable_old} (WorkOrder (0WO0J000000UsOMWA0)) Is null false
2. {!myVariable_old.IsClosed} (false) Does not equal {!myVariable_current.IsClosed} (false)
Logic: All conditions must be true (AND)

Default outcome executed.

DECISION: isChangedDecision68_myRule_67_Status
Skipped this outcome because its conditions weren't met: isChangedRule_68_myRule_67_Status
Outcome conditions: 
1. {!myVariable_old} (WorkOrder (0WO0J000000UsOMWA0)) Is null false
2. {!myVariable_old.Status} (Installation) Does not equal {!myVariable_current.Status} (Installation)
Logic: All conditions must be true (AND)

Default outcome executed.

DECISION: isChangedDecision72_myRule_71_Status
Skipped this outcome because its conditions weren't met: isChangedRule_72_myRule_71_Status
Outcome conditions: 
1. {!myVariable_old} (WorkOrder (0WO0J000000UsOMWA0)) Is null false
2. {!myVariable_old.Status} (Installation) Does not equal {!myVariable_current.Status} (Installation)
Logic: All conditions must be true (AND)

Default outcome executed.

DECISION: isChangedDecision77_myRule_76_City
Skipped this outcome because its conditions weren't met: isChangedRule_77_myRule_76_City
Outcome conditions: 
1. {!myVariable_old} (WorkOrder (0WO0J000000UsOMWA0)) Is null false
2. {!myVariable_old.City} (Ordos) Does not equal {!myVariable_current.City} (Ordos)
Logic: All conditions must be true (AND)

Default outcome executed.

DECISION: isChangedDecision78_myRule_76_Country
Skipped this outcome because its conditions weren't met: isChangedRule_78_myRule_76_Country
Outcome conditions: 
1. {!myVariable_old} (WorkOrder (0WO0J000000UsOMWA0)) Is null false
2. {!myVariable_old.Country} (China) Does not equal {!myVariable_current.Country} (China)
Logic: All conditions must be true (AND)

Default outcome executed.

DECISION: isChangedDecision79_myRule_76_PostalCode
Skipped this outcome because its conditions weren't met: isChangedRule_79_myRule_76_PostalCode
Outcome conditions: 
1. {!myVariable_old} (WorkOrder (0WO0J000000UsOMWA0)) Is null false
2. {!myVariable_old.PostalCode} (null) Does not equal {!myVariable_current.PostalCode} (null)
Logic: All conditions must be true (AND)

Default outcome executed.

DECISION: isChangedDecision80_myRule_76_Street
Skipped this outcome because its conditions weren't met: isChangedRule_80_myRule_76_Street
Outcome conditions: 
1. {!myVariable_old} (WorkOrder (0WO0J000000UsOMWA0)) Is null false
2. {!myVariable_old.Street} (Chaonaogou traction substation) Does not equal {!myVariable_current.Street} (Chaonaogou traction substation)
Logic: All conditions must be true (AND)

Default outcome executed.

DECISION: myPreWaitDecision_myWait_myRule_65
Skipped this outcome because its conditions weren't met: myPreWaitRule_myWait_myRule_65
Outcome conditions: 
{!formula_myRule_65} (false) Equals true

Default outcome executed.

ASSIGNMENT: myWaitAssignment_myWait_myRule_65
{!cancelWaits} Add myWait_myRule_65
Result
{!cancelWaits} = "[myWait_myRule_65]"

DECISION: myDecision
Outcome executed: myRule_1
Outcome conditions: 
1. {!myVariable_current.RecordType.DeveloperName} (Installation) Equals Installation
2. {!isChangedRule_2_myRule_1_AssetId} (true) Equals true
3. {!myVariable_current.AssetId} (02i0J00000YtlMAQAZ) Is null false
Logic: All conditions must be true (AND)

UPDATE RECORDS: myRule_1_A1
Find all Asset records where:
Id Equals {!myVariable_current.AssetId} (02i0J00000YtlMAQAZ)
Update the records’ field values.
AccountId = {!myVariable_current.AccountId} (0010J000025Rq2HQAS)
City__c = {!myVariable_current.City} (Ordos)
ContactId = {!myVariable_current.ContactId} (0032000001dlsm8AAA)
Country__c = {!myVariable_current.Country} (China)
InstallDate = {!formula_3_myRule_1_A1_1882015221} (07 August 2020)
Postcode__c = {!myVariable_current.PostalCode} (null)
Shipped_Date__c = {!myVariable_current.Actual_Shipped_Date__c} (31 July 2020)
Status = Installed
Street__c = {!myVariable_current.Street} (Chaonaogou traction substation)
Result
Failed to update records that meet the filter criteria.

Error Occurred: The flow tried to update these records: null. This error occurred: PRIVATE_CONTACT_ON_ASSET: Cannot parent an asset to an unparented contact. You can look up ExceptionCode values in the SOAP API Developer Guide.

Salesforce Error ID: 1100991645-67271 (-832401321)

 
We have moved to Lightning and all is going ok mostly. We have one key issue though.

We have a custom object (Job), which is related to the Case. The user reads the case and then can create a new 'Job' record and it is automatically linked to the Case. In Classic this works fine. 

When we try to create a new 'Job' record in Lightning from the Case object, the record is not automatically linked. e.g. the Case reference is lost unless they do a lookup, which is terrible from a usability point. 

Can anyone explain why this may be the case?
 
In our org, we have two types of products that require a lot of customisation and assessment before they are sold for compatibility issues.

Often sales guys have picked something incompatible and tried to sell it, resulting in a nightmare for the installation team.

We have two custom objects 'Requirements Assessment' and 'Service Handover'.  The sales guys have to full these out before an opp is closed to make sure its a sellable solution. At the moment thete is no validaiton on this. 

I need to create a validation rule which looks at the line items and says 'Does this opp products X or Y'? If so only let the opp be closed as won if a Requirements Assessment record is filled out for each line item AND a one 'Service Handover' record.

We have about 25 vaiations of the products X and Y.

How should I go about creating this? 


 
I have a picklist called "Delivery_Time__c" which has 3 values.

I need to setup validation so that the user can't select the Quoted stage on the opportunity record unless they select the a delivery picklist value option.

How can I write this? my code is wrong.... I have this error: "Error: Incorrect number of parameters for function 'ISPICKVAL()'. Expected 2, received 4"

my wrong code:

AND( ISPICKVAL ( Delivery_Time__c, "Standard lead time", "Expedited delivery", "Multiple deliveries" ) , ISPICKVAL( StageName , "Opportunity - quoted"))
Any idea what this would be about?

Subject: Email-to-Case: Error(s) encountered while processing
   
The following errors were encountered while processing an incoming email:
   
    CANNOT_EXECUTE_FLOW_TRIGGER : We can't save this record because the “FAC Trigger Create DNO Case on New Standard Case 3” process failed. Give your Salesforce admin these details. This error occurred when the flow tried to create records: STRING_TOO_LONG: DNO Name: data value too large: *company name* (max length=10). You can look up ExceptionCode values in the SOAP API Developer Guide. Error ID: 62114659-2303780 (1875224020)


I looked on the case object but could not see a field called DNO Name. 

Appreciate any help. 
I have been asked to make a custom weighting option for one of the smaller businesses in our org. 

If the sales manager picks one of the following picklist options during his opportunity creation, the formula should calculate as appropriate:

Custom Opp Weighting Picklist
Existing client, existing product =  divide opportunity amount by 2
Existing client, new product = divide opportunity amount by 3
New client, existing product = divide opportunity amount by 5
New client, new product = divide opportunity amount by 10

Is there an esy way I can I achive this via a picklist? 

Would really appreciate any help!
 
We have monthly dated exchange rates which we enter each month. Our corporate currency is GBP. However, we have noticed an issue with our Russian price book...

For example, one of our products has a price
UK price - £38,550 GBP
Russia price – 3,115,400 RUB (exch. Rate on Salesforce £1= 86 RUB)

Price in GBP based on Salesforce Exchange rate: £36,225 GBP

Our standard price book is inactive... Are the monthly dated exchange calculations based off the Standard Price book for this? Could that be causing the problem? Or are they calculated from our main corporate currency?

Not sure how there is such a big difference here.  Would appreciate any help.
I need help with creating a validation rule around the opportunity stage please.  We have 4 stages in our org
  • Opportunity
  • Opportunity - quoted
  • In for quarterly target
  • Won
At this moment, sales managers can select 'In for quarterly target'  without the 'Opportunity - quoted' stage being selected, they can skip the quote stage altogether. 

What I need to do is add a rule where the guy cannot jump to 'In for quarterly target' without the opportunity previously having being set as 'Quoted' and ideally have a check for a CPQ record also. 

I have the below, which partially works, although when I save the Opp record as 'Quoted' and then try to save it as in for target, it throws me the same errror. Somethings wrong.... any ideas whats wrong with the below?

AND(
ISCHANGED(StageName),
TEXT(PRIORVALUE(StageName)) <> 'Opportunity - quoted',
TEXT(StageName) = 'In for quarterly target'
)
User-added image

I am getting the above message, I have followed the instrucitons carefully, but it wont lket me pass. I even tried making that custom field and applying it to the layout but it still wont let me pass.

 
I have a picklist called "Delivery_Time__c" which has 3 values.

I need to setup validation so that the user can't select the Quoted stage on the opportunity record unless they select the a delivery picklist value option.

How can I write this? my code is wrong.... I have this error: "Error: Incorrect number of parameters for function 'ISPICKVAL()'. Expected 2, received 4"

my wrong code:

AND( ISPICKVAL ( Delivery_Time__c, "Standard lead time", "Expedited delivery", "Multiple deliveries" ) , ISPICKVAL( StageName , "Opportunity - quoted"))
Any idea what this would be about?

Subject: Email-to-Case: Error(s) encountered while processing
   
The following errors were encountered while processing an incoming email:
   
    CANNOT_EXECUTE_FLOW_TRIGGER : We can't save this record because the “FAC Trigger Create DNO Case on New Standard Case 3” process failed. Give your Salesforce admin these details. This error occurred when the flow tried to create records: STRING_TOO_LONG: DNO Name: data value too large: *company name* (max length=10). You can look up ExceptionCode values in the SOAP API Developer Guide. Error ID: 62114659-2303780 (1875224020)


I looked on the case object but could not see a field called DNO Name. 

Appreciate any help. 
I have been asked to make a custom weighting option for one of the smaller businesses in our org. 

If the sales manager picks one of the following picklist options during his opportunity creation, the formula should calculate as appropriate:

Custom Opp Weighting Picklist
Existing client, existing product =  divide opportunity amount by 2
Existing client, new product = divide opportunity amount by 3
New client, existing product = divide opportunity amount by 5
New client, new product = divide opportunity amount by 10

Is there an esy way I can I achive this via a picklist? 

Would really appreciate any help!
 
I need help with creating a validation rule around the opportunity stage please.  We have 4 stages in our org
  • Opportunity
  • Opportunity - quoted
  • In for quarterly target
  • Won
At this moment, sales managers can select 'In for quarterly target'  without the 'Opportunity - quoted' stage being selected, they can skip the quote stage altogether. 

What I need to do is add a rule where the guy cannot jump to 'In for quarterly target' without the opportunity previously having being set as 'Quoted' and ideally have a check for a CPQ record also. 

I have the below, which partially works, although when I save the Opp record as 'Quoted' and then try to save it as in for target, it throws me the same errror. Somethings wrong.... any ideas whats wrong with the below?

AND(
ISCHANGED(StageName),
TEXT(PRIORVALUE(StageName)) <> 'Opportunity - quoted',
TEXT(StageName) = 'In for quarterly target'
)
User-added image

I am getting the above message, I have followed the instrucitons carefully, but it wont lket me pass. I even tried making that custom field and applying it to the layout but it still wont let me pass.