From a62f2e58a05e5e454ac219bfdfa1e89205e98ecb Mon Sep 17 00:00:00 2001 From: Dylan Gerow Date: Fri, 23 Jun 2017 14:28:30 -0500 Subject: [PATCH 1/6] add workflow descriptions --- src/workflows/Product2.workflow | 1 + src/workflows/SBQQ__ContractedPrice__c.workflow | 1 + src/workflows/SBQQ__DiscountSchedule__c.workflow | 1 + src/workflows/SBQQ__ErrorCondition__c.workflow | 1 + src/workflows/SBQQ__ImportColumn__c.workflow | 1 + src/workflows/SBQQ__ImportFormat__c.workflow | 1 + src/workflows/SBQQ__LineColumn__c.workflow | 1 + src/workflows/SBQQ__LookupQuery__c.workflow | 1 + src/workflows/SBQQ__OptionConstraint__c.workflow | 1 + src/workflows/SBQQ__PriceAction__c.workflow | 1 + src/workflows/SBQQ__PriceCondition__c.workflow | 1 + src/workflows/SBQQ__PriceRule__c.workflow | 1 + src/workflows/SBQQ__ProcessInput__c.workflow | 1 + src/workflows/SBQQ__ProductAction__c.workflow | 1 + src/workflows/SBQQ__ProductFeature__c.workflow | 1 + src/workflows/SBQQ__ProductOption__c.workflow | 1 + src/workflows/SBQQ__ProductRule__c.workflow | 1 + src/workflows/SBQQ__QuoteProcess__c.workflow | 1 + src/workflows/SBQQ__QuoteTemplate__c.workflow | 1 + src/workflows/SBQQ__QuoteTerm__c.workflow | 1 + src/workflows/SBQQ__SearchFilter__c.workflow | 1 + src/workflows/SBQQ__SummaryVariable__c.workflow | 1 + src/workflows/SBQQ__TemplateContent__c.workflow | 1 + src/workflows/SBQQ__TemplateSection__c.workflow | 1 + 24 files changed, 24 insertions(+) diff --git a/src/workflows/Product2.workflow b/src/workflows/Product2.workflow index d6f0a87..3f59dd6 100644 --- a/src/workflows/Product2.workflow +++ b/src/workflows/Product2.workflow @@ -2,6 +2,7 @@ Set_External_Id + Sets External Id to be the concatenation of the Org Id and the Record Id. ExternalId__c $Organization.Id + ':' + CASESAFEID(Id) Set External Id diff --git a/src/workflows/SBQQ__ContractedPrice__c.workflow b/src/workflows/SBQQ__ContractedPrice__c.workflow index a8f4503..07503f8 100644 --- a/src/workflows/SBQQ__ContractedPrice__c.workflow +++ b/src/workflows/SBQQ__ContractedPrice__c.workflow @@ -2,6 +2,7 @@ Set_External_Id + Sets External Id to be the concatenation of the Org Id and the Record Id. ExternalId__c $Organization.Id + ':' + CASESAFEID(Id) Set External Id diff --git a/src/workflows/SBQQ__DiscountSchedule__c.workflow b/src/workflows/SBQQ__DiscountSchedule__c.workflow index 73d515b..21fdba5 100644 --- a/src/workflows/SBQQ__DiscountSchedule__c.workflow +++ b/src/workflows/SBQQ__DiscountSchedule__c.workflow @@ -2,6 +2,7 @@ Set_External_Id + Sets External Id to be the concatenation of the Org Id and the Record Id. ExternalId__c $Organization.Id + ':' + CASESAFEID(Id) Set External Id diff --git a/src/workflows/SBQQ__ErrorCondition__c.workflow b/src/workflows/SBQQ__ErrorCondition__c.workflow index 6369bca..213b478 100644 --- a/src/workflows/SBQQ__ErrorCondition__c.workflow +++ b/src/workflows/SBQQ__ErrorCondition__c.workflow @@ -2,6 +2,7 @@ Set_External_Id + Sets External Id to be the concatenation of the Org Id and the Record Id. ExternalId__c $Organization.Id + ':' + CASESAFEID(Id) Set External Id diff --git a/src/workflows/SBQQ__ImportColumn__c.workflow b/src/workflows/SBQQ__ImportColumn__c.workflow index 89ec7aa..0686594 100644 --- a/src/workflows/SBQQ__ImportColumn__c.workflow +++ b/src/workflows/SBQQ__ImportColumn__c.workflow @@ -2,6 +2,7 @@ Set_External_Id + Sets External Id to be the concatenation of the Org Id and the Record Id. ExternalId__c $Organization.Id + ":" + CASESAFEID(Id) Set External Id diff --git a/src/workflows/SBQQ__ImportFormat__c.workflow b/src/workflows/SBQQ__ImportFormat__c.workflow index 81674bc..e7d4bb1 100644 --- a/src/workflows/SBQQ__ImportFormat__c.workflow +++ b/src/workflows/SBQQ__ImportFormat__c.workflow @@ -2,6 +2,7 @@ Set_External_Id + Sets External Id to be the concatenation of the Org Id and the Record Id. ExternalId__c $Organization.Id + ":" + CASESAFEID(Id) Set External Id diff --git a/src/workflows/SBQQ__LineColumn__c.workflow b/src/workflows/SBQQ__LineColumn__c.workflow index 7e859eb..2e6c2c7 100644 --- a/src/workflows/SBQQ__LineColumn__c.workflow +++ b/src/workflows/SBQQ__LineColumn__c.workflow @@ -2,6 +2,7 @@ Set_External_Id + Sets External Id to be the concatenation of the Org Id and the Record Id. ExternalId__c $Organization.Id + ':' + CASESAFEID(Id) Set External Id diff --git a/src/workflows/SBQQ__LookupQuery__c.workflow b/src/workflows/SBQQ__LookupQuery__c.workflow index 61aa570..d6b0a8a 100644 --- a/src/workflows/SBQQ__LookupQuery__c.workflow +++ b/src/workflows/SBQQ__LookupQuery__c.workflow @@ -2,6 +2,7 @@ Set_External_Id + Sets External Id to be the concatenation of the Org Id and the Record Id. ExternalId__c $Organization.Id + ':' + CASESAFEID(Id) Set External Id diff --git a/src/workflows/SBQQ__OptionConstraint__c.workflow b/src/workflows/SBQQ__OptionConstraint__c.workflow index a7befb3..4fa4414 100644 --- a/src/workflows/SBQQ__OptionConstraint__c.workflow +++ b/src/workflows/SBQQ__OptionConstraint__c.workflow @@ -2,6 +2,7 @@ Set_External_Id + Sets External Id to be the concatenation of the Org Id and the Record Id. ExternalId__c $Organization.Id + ':' + CASESAFEID(Id) Set External Id diff --git a/src/workflows/SBQQ__PriceAction__c.workflow b/src/workflows/SBQQ__PriceAction__c.workflow index a5cdd5d..859de40 100644 --- a/src/workflows/SBQQ__PriceAction__c.workflow +++ b/src/workflows/SBQQ__PriceAction__c.workflow @@ -2,6 +2,7 @@ Set_External_Id + Sets External Id to be the concatenation of the Org Id and the Record Id. ExternalId__c $Organization.Id + ':' + CASESAFEID(Id) Set External Id diff --git a/src/workflows/SBQQ__PriceCondition__c.workflow b/src/workflows/SBQQ__PriceCondition__c.workflow index e317246..13e9b07 100644 --- a/src/workflows/SBQQ__PriceCondition__c.workflow +++ b/src/workflows/SBQQ__PriceCondition__c.workflow @@ -2,6 +2,7 @@ Set_External_Id + Sets External Id to be the concatenation of the Org Id and the Record Id. ExternalId__c $Organization.Id + ':' + CASESAFEID(Id) Set External Id diff --git a/src/workflows/SBQQ__PriceRule__c.workflow b/src/workflows/SBQQ__PriceRule__c.workflow index 172194f..a8716af 100644 --- a/src/workflows/SBQQ__PriceRule__c.workflow +++ b/src/workflows/SBQQ__PriceRule__c.workflow @@ -2,6 +2,7 @@ Set_External_Id + Sets External Id to be the concatenation of the Org Id and the Record Id. ExternalId__c $Organization.Id + ':' + CASESAFEID(Id) Set External Id diff --git a/src/workflows/SBQQ__ProcessInput__c.workflow b/src/workflows/SBQQ__ProcessInput__c.workflow index 7632760..b8790fd 100644 --- a/src/workflows/SBQQ__ProcessInput__c.workflow +++ b/src/workflows/SBQQ__ProcessInput__c.workflow @@ -2,6 +2,7 @@ Set_External_Id + Sets External Id to be the concatenation of the Org Id and the Record Id. ExternalId__c $Organization.Id + ':' + CASESAFEID(Id) Set External Id diff --git a/src/workflows/SBQQ__ProductAction__c.workflow b/src/workflows/SBQQ__ProductAction__c.workflow index cd91e06..e6de1b8 100644 --- a/src/workflows/SBQQ__ProductAction__c.workflow +++ b/src/workflows/SBQQ__ProductAction__c.workflow @@ -2,6 +2,7 @@ Set_External_Id + Sets External Id to be the concatenation of the Org Id and the Record Id. ExternalId__c $Organization.Id + ':' + CASESAFEID(Id) Set External Id diff --git a/src/workflows/SBQQ__ProductFeature__c.workflow b/src/workflows/SBQQ__ProductFeature__c.workflow index 360892a..3d5985a 100644 --- a/src/workflows/SBQQ__ProductFeature__c.workflow +++ b/src/workflows/SBQQ__ProductFeature__c.workflow @@ -2,6 +2,7 @@ Set_External_Id + Sets External Id to be the concatenation of the Org Id and the Record Id. ExternalId__c $Organization.Id + ':' + CASESAFEID(Id) Set External Id diff --git a/src/workflows/SBQQ__ProductOption__c.workflow b/src/workflows/SBQQ__ProductOption__c.workflow index 444e39f..6a7b291 100644 --- a/src/workflows/SBQQ__ProductOption__c.workflow +++ b/src/workflows/SBQQ__ProductOption__c.workflow @@ -3,6 +3,7 @@ Set_External_Id Sets External Id to be the concatenation of the Org Id and the Record Id. + Sets External Id to be the concatenation of the Org Id and the Record Id. ExternalId__c $Organization.Id + ':' + CASESAFEID(Id) Set External Id diff --git a/src/workflows/SBQQ__ProductRule__c.workflow b/src/workflows/SBQQ__ProductRule__c.workflow index 736ce9b..ea9b9d1 100644 --- a/src/workflows/SBQQ__ProductRule__c.workflow +++ b/src/workflows/SBQQ__ProductRule__c.workflow @@ -3,6 +3,7 @@ Set_External_Id Sets External Id to be the concatenation of the Org Id and the Record Id. + Sets External Id to be the concatenation of the Org Id and the Record Id. ExternalId__c $Organization.Id + ':' + CASESAFEID(Id) Set External Id diff --git a/src/workflows/SBQQ__QuoteProcess__c.workflow b/src/workflows/SBQQ__QuoteProcess__c.workflow index bf8ec22..813bda5 100644 --- a/src/workflows/SBQQ__QuoteProcess__c.workflow +++ b/src/workflows/SBQQ__QuoteProcess__c.workflow @@ -2,6 +2,7 @@ Set_External_Id + Sets External Id to be the concatenation of the Org Id and the Record Id. ExternalId__c $Organization.Id + ':' + CASESAFEID(Id) Set External Id diff --git a/src/workflows/SBQQ__QuoteTemplate__c.workflow b/src/workflows/SBQQ__QuoteTemplate__c.workflow index e863a0b..427b240 100644 --- a/src/workflows/SBQQ__QuoteTemplate__c.workflow +++ b/src/workflows/SBQQ__QuoteTemplate__c.workflow @@ -2,6 +2,7 @@ Set_External_Id + Sets External Id to be the concatenation of the Org Id and the Record Id. ExternalId__c $Organization.Id + ':' + CASESAFEID(Id) Set External Id diff --git a/src/workflows/SBQQ__QuoteTerm__c.workflow b/src/workflows/SBQQ__QuoteTerm__c.workflow index d4cd220..ce091dc 100644 --- a/src/workflows/SBQQ__QuoteTerm__c.workflow +++ b/src/workflows/SBQQ__QuoteTerm__c.workflow @@ -2,6 +2,7 @@ Set_External_Id + Sets External Id to be the concatenation of the Org Id and the Record Id. ExternalId__c $Organization.Id + ":" + CASESAFEID(Id) Set External Id diff --git a/src/workflows/SBQQ__SearchFilter__c.workflow b/src/workflows/SBQQ__SearchFilter__c.workflow index be6a4e2..7e1ef9f 100644 --- a/src/workflows/SBQQ__SearchFilter__c.workflow +++ b/src/workflows/SBQQ__SearchFilter__c.workflow @@ -2,6 +2,7 @@ Set_External_Id + Sets External Id to be the concatenation of the Org Id and the Record Id. ExternalId__c $Organization.Id + ':' + CASESAFEID(Id) Set External Id diff --git a/src/workflows/SBQQ__SummaryVariable__c.workflow b/src/workflows/SBQQ__SummaryVariable__c.workflow index 4616464..2e71b61 100644 --- a/src/workflows/SBQQ__SummaryVariable__c.workflow +++ b/src/workflows/SBQQ__SummaryVariable__c.workflow @@ -3,6 +3,7 @@ Set_External_Id Sets External Id to be the concatenation of the Org Id and the Record Id. + Sets External Id to be the concatenation of the Org Id and the Record Id. ExternalId__c $Organization.Id + ':' + CASESAFEID(Id) Set External Id diff --git a/src/workflows/SBQQ__TemplateContent__c.workflow b/src/workflows/SBQQ__TemplateContent__c.workflow index 4945b86..5fecfa9 100644 --- a/src/workflows/SBQQ__TemplateContent__c.workflow +++ b/src/workflows/SBQQ__TemplateContent__c.workflow @@ -2,6 +2,7 @@ Set_External_Id + Sets External Id to be the concatenation of the Org Id and the Record Id. ExternalId__c $Organization.Id + ':' + CASESAFEID(Id) Set External Id diff --git a/src/workflows/SBQQ__TemplateSection__c.workflow b/src/workflows/SBQQ__TemplateSection__c.workflow index 40fab1c..77fe65f 100644 --- a/src/workflows/SBQQ__TemplateSection__c.workflow +++ b/src/workflows/SBQQ__TemplateSection__c.workflow @@ -2,6 +2,7 @@ Set_External_Id + Sets External Id to be the concatenation of the Org Id and the Record Id. ExternalId__c $Organization.Id + ':' + CASESAFEID(Id) Set External Id From d8971018d92c0f436818618a16f2a1522a4363e0 Mon Sep 17 00:00:00 2001 From: Dylan Gerow Date: Fri, 23 Jun 2017 14:30:30 -0500 Subject: [PATCH 2/6] remove duplicate descriptions --- src/workflows/SBQQ__ProductOption__c.workflow | 1 - src/workflows/SBQQ__ProductRule__c.workflow | 1 - src/workflows/SBQQ__SummaryVariable__c.workflow | 1 - 3 files changed, 3 deletions(-) diff --git a/src/workflows/SBQQ__ProductOption__c.workflow b/src/workflows/SBQQ__ProductOption__c.workflow index 6a7b291..444e39f 100644 --- a/src/workflows/SBQQ__ProductOption__c.workflow +++ b/src/workflows/SBQQ__ProductOption__c.workflow @@ -3,7 +3,6 @@ Set_External_Id Sets External Id to be the concatenation of the Org Id and the Record Id. - Sets External Id to be the concatenation of the Org Id and the Record Id. ExternalId__c $Organization.Id + ':' + CASESAFEID(Id) Set External Id diff --git a/src/workflows/SBQQ__ProductRule__c.workflow b/src/workflows/SBQQ__ProductRule__c.workflow index ea9b9d1..736ce9b 100644 --- a/src/workflows/SBQQ__ProductRule__c.workflow +++ b/src/workflows/SBQQ__ProductRule__c.workflow @@ -3,7 +3,6 @@ Set_External_Id Sets External Id to be the concatenation of the Org Id and the Record Id. - Sets External Id to be the concatenation of the Org Id and the Record Id. ExternalId__c $Organization.Id + ':' + CASESAFEID(Id) Set External Id diff --git a/src/workflows/SBQQ__SummaryVariable__c.workflow b/src/workflows/SBQQ__SummaryVariable__c.workflow index 2e71b61..4616464 100644 --- a/src/workflows/SBQQ__SummaryVariable__c.workflow +++ b/src/workflows/SBQQ__SummaryVariable__c.workflow @@ -3,7 +3,6 @@ Set_External_Id Sets External Id to be the concatenation of the Org Id and the Record Id. - Sets External Id to be the concatenation of the Org Id and the Record Id. ExternalId__c $Organization.Id + ':' + CASESAFEID(Id) Set External Id From 5ee0b0ad6451fa32f520e2d192644e0234ece916 Mon Sep 17 00:00:00 2001 From: Dylan Gerow Date: Fri, 23 Jun 2017 14:33:01 -0500 Subject: [PATCH 3/6] rule descriptions --- src/workflows/Product2.workflow | 1 + src/workflows/SBQQ__ContractedPrice__c.workflow | 1 + src/workflows/SBQQ__CustomActionCondition__c.workflow | 1 + src/workflows/SBQQ__CustomAction__c.workflow | 1 + src/workflows/SBQQ__CustomScript__c.workflow | 1 + src/workflows/SBQQ__DiscountSchedule__c.workflow | 1 + src/workflows/SBQQ__ErrorCondition__c.workflow | 1 + src/workflows/SBQQ__ImportColumn__c.workflow | 1 + src/workflows/SBQQ__ImportFormat__c.workflow | 1 + src/workflows/SBQQ__LineColumn__c.workflow | 1 + src/workflows/SBQQ__LookupQuery__c.workflow | 1 + src/workflows/SBQQ__OptionConstraint__c.workflow | 1 + src/workflows/SBQQ__PriceAction__c.workflow | 1 + src/workflows/SBQQ__PriceCondition__c.workflow | 1 + src/workflows/SBQQ__PriceRule__c.workflow | 1 + src/workflows/SBQQ__ProcessInput__c.workflow | 1 + src/workflows/SBQQ__ProductAction__c.workflow | 1 + src/workflows/SBQQ__ProductFeature__c.workflow | 1 + src/workflows/SBQQ__ProductRule__c.workflow | 1 + src/workflows/SBQQ__QuoteProcess__c.workflow | 1 + src/workflows/SBQQ__QuoteTemplate__c.workflow | 1 + src/workflows/SBQQ__QuoteTerm__c.workflow | 1 + src/workflows/SBQQ__SearchFilter__c.workflow | 1 + src/workflows/SBQQ__TemplateContent__c.workflow | 1 + src/workflows/SBQQ__TemplateSection__c.workflow | 1 + 25 files changed, 25 insertions(+) diff --git a/src/workflows/Product2.workflow b/src/workflows/Product2.workflow index 3f59dd6..756bd61 100644 --- a/src/workflows/Product2.workflow +++ b/src/workflows/Product2.workflow @@ -21,6 +21,7 @@ Product2.ExternalId__c equals + Sets External Id to be the concatenation of the Org Id and the Record Id. onAllChanges diff --git a/src/workflows/SBQQ__ContractedPrice__c.workflow b/src/workflows/SBQQ__ContractedPrice__c.workflow index 07503f8..1318587 100644 --- a/src/workflows/SBQQ__ContractedPrice__c.workflow +++ b/src/workflows/SBQQ__ContractedPrice__c.workflow @@ -21,6 +21,7 @@ SBQQ__ContractedPrice__c.ExternalId__c equals + Sets External Id to be the concatenation of the Org Id and the Record Id. onAllChanges diff --git a/src/workflows/SBQQ__CustomActionCondition__c.workflow b/src/workflows/SBQQ__CustomActionCondition__c.workflow index 618f9c7..11502a9 100644 --- a/src/workflows/SBQQ__CustomActionCondition__c.workflow +++ b/src/workflows/SBQQ__CustomActionCondition__c.workflow @@ -21,6 +21,7 @@ SBQQ__CustomActionCondition__c.ExternalId__c equals + Sets External Id to be the concatenation of the Org Id and the Record Id. onAllChanges diff --git a/src/workflows/SBQQ__CustomAction__c.workflow b/src/workflows/SBQQ__CustomAction__c.workflow index 5a4ace9..7e46e1d 100644 --- a/src/workflows/SBQQ__CustomAction__c.workflow +++ b/src/workflows/SBQQ__CustomAction__c.workflow @@ -21,6 +21,7 @@ SBQQ__CustomAction__c.ExternalId__c equals + Sets External Id to be the concatenation of the Org Id and the Record Id. onAllChanges diff --git a/src/workflows/SBQQ__CustomScript__c.workflow b/src/workflows/SBQQ__CustomScript__c.workflow index 81c7d88..2d593da 100644 --- a/src/workflows/SBQQ__CustomScript__c.workflow +++ b/src/workflows/SBQQ__CustomScript__c.workflow @@ -21,6 +21,7 @@ SBQQ__CustomScript__c.ExternalId__c equals + Sets External Id to be the concatenation of the Org Id and the Record Id. onAllChanges diff --git a/src/workflows/SBQQ__DiscountSchedule__c.workflow b/src/workflows/SBQQ__DiscountSchedule__c.workflow index 21fdba5..8aacba3 100644 --- a/src/workflows/SBQQ__DiscountSchedule__c.workflow +++ b/src/workflows/SBQQ__DiscountSchedule__c.workflow @@ -21,6 +21,7 @@ SBQQ__DiscountSchedule__c.ExternalId__c equals + Sets External Id to be the concatenation of the Org Id and the Record Id. onAllChanges diff --git a/src/workflows/SBQQ__ErrorCondition__c.workflow b/src/workflows/SBQQ__ErrorCondition__c.workflow index 213b478..836a2b5 100644 --- a/src/workflows/SBQQ__ErrorCondition__c.workflow +++ b/src/workflows/SBQQ__ErrorCondition__c.workflow @@ -21,6 +21,7 @@ SBQQ__ErrorCondition__c.ExternalId__c equals + Sets External Id to be the concatenation of the Org Id and the Record Id. onAllChanges diff --git a/src/workflows/SBQQ__ImportColumn__c.workflow b/src/workflows/SBQQ__ImportColumn__c.workflow index 0686594..7ddcfe3 100644 --- a/src/workflows/SBQQ__ImportColumn__c.workflow +++ b/src/workflows/SBQQ__ImportColumn__c.workflow @@ -21,6 +21,7 @@ SBQQ__ImportColumn__c.ExternalId__c equals + Sets External Id to be the concatenation of the Org Id and the Record Id. onAllChanges diff --git a/src/workflows/SBQQ__ImportFormat__c.workflow b/src/workflows/SBQQ__ImportFormat__c.workflow index e7d4bb1..e3ee1f7 100644 --- a/src/workflows/SBQQ__ImportFormat__c.workflow +++ b/src/workflows/SBQQ__ImportFormat__c.workflow @@ -21,6 +21,7 @@ SBQQ__ImportFormat__c.ExternalId__c equals + Sets External Id to be the concatenation of the Org Id and the Record Id. onAllChanges diff --git a/src/workflows/SBQQ__LineColumn__c.workflow b/src/workflows/SBQQ__LineColumn__c.workflow index 2e6c2c7..a909c04 100644 --- a/src/workflows/SBQQ__LineColumn__c.workflow +++ b/src/workflows/SBQQ__LineColumn__c.workflow @@ -21,6 +21,7 @@ SBQQ__LineColumn__c.ExternalId__c equals + Sets External Id to be the concatenation of the Org Id and the Record Id. onAllChanges diff --git a/src/workflows/SBQQ__LookupQuery__c.workflow b/src/workflows/SBQQ__LookupQuery__c.workflow index d6b0a8a..a8c503f 100644 --- a/src/workflows/SBQQ__LookupQuery__c.workflow +++ b/src/workflows/SBQQ__LookupQuery__c.workflow @@ -21,6 +21,7 @@ SBQQ__LookupQuery__c.ExternalId__c equals + Sets External Id to be the concatenation of the Org Id and the Record Id. onAllChanges diff --git a/src/workflows/SBQQ__OptionConstraint__c.workflow b/src/workflows/SBQQ__OptionConstraint__c.workflow index 4fa4414..0bb16d0 100644 --- a/src/workflows/SBQQ__OptionConstraint__c.workflow +++ b/src/workflows/SBQQ__OptionConstraint__c.workflow @@ -21,6 +21,7 @@ SBQQ__OptionConstraint__c.ExternalId__c equals + Sets External Id to be the concatenation of the Org Id and the Record Id. onAllChanges diff --git a/src/workflows/SBQQ__PriceAction__c.workflow b/src/workflows/SBQQ__PriceAction__c.workflow index 859de40..b729141 100644 --- a/src/workflows/SBQQ__PriceAction__c.workflow +++ b/src/workflows/SBQQ__PriceAction__c.workflow @@ -21,6 +21,7 @@ SBQQ__PriceAction__c.ExternalId__c equals + Sets External Id to be the concatenation of the Org Id and the Record Id. onAllChanges diff --git a/src/workflows/SBQQ__PriceCondition__c.workflow b/src/workflows/SBQQ__PriceCondition__c.workflow index 13e9b07..6129bd2 100644 --- a/src/workflows/SBQQ__PriceCondition__c.workflow +++ b/src/workflows/SBQQ__PriceCondition__c.workflow @@ -21,6 +21,7 @@ SBQQ__PriceCondition__c.ExternalId__c equals + Sets External Id to be the concatenation of the Org Id and the Record Id. onAllChanges diff --git a/src/workflows/SBQQ__PriceRule__c.workflow b/src/workflows/SBQQ__PriceRule__c.workflow index a8716af..337b169 100644 --- a/src/workflows/SBQQ__PriceRule__c.workflow +++ b/src/workflows/SBQQ__PriceRule__c.workflow @@ -21,6 +21,7 @@ SBQQ__PriceRule__c.ExternalId__c equals + Sets External Id to be the concatenation of the Org Id and the Record Id. onAllChanges diff --git a/src/workflows/SBQQ__ProcessInput__c.workflow b/src/workflows/SBQQ__ProcessInput__c.workflow index b8790fd..cd9becd 100644 --- a/src/workflows/SBQQ__ProcessInput__c.workflow +++ b/src/workflows/SBQQ__ProcessInput__c.workflow @@ -21,6 +21,7 @@ SBQQ__ProcessInput__c.ExternalId__c equals + Sets External Id to be the concatenation of the Org Id and the Record Id. onAllChanges diff --git a/src/workflows/SBQQ__ProductAction__c.workflow b/src/workflows/SBQQ__ProductAction__c.workflow index e6de1b8..fadf4ef 100644 --- a/src/workflows/SBQQ__ProductAction__c.workflow +++ b/src/workflows/SBQQ__ProductAction__c.workflow @@ -21,6 +21,7 @@ SBQQ__ProductAction__c.ExternalId__c equals + Sets External Id to be the concatenation of the Org Id and the Record Id. onAllChanges diff --git a/src/workflows/SBQQ__ProductFeature__c.workflow b/src/workflows/SBQQ__ProductFeature__c.workflow index 3d5985a..e01826c 100644 --- a/src/workflows/SBQQ__ProductFeature__c.workflow +++ b/src/workflows/SBQQ__ProductFeature__c.workflow @@ -21,6 +21,7 @@ SBQQ__ProductFeature__c.ExternalId__c equals + Sets External Id to be the concatenation of the Org Id and the Record Id. onAllChanges diff --git a/src/workflows/SBQQ__ProductRule__c.workflow b/src/workflows/SBQQ__ProductRule__c.workflow index 736ce9b..cb51ac0 100644 --- a/src/workflows/SBQQ__ProductRule__c.workflow +++ b/src/workflows/SBQQ__ProductRule__c.workflow @@ -21,6 +21,7 @@ SBQQ__ProductRule__c.ExternalId__c equals + Sets External Id to be the concatenation of the Org Id and the Record Id. onAllChanges diff --git a/src/workflows/SBQQ__QuoteProcess__c.workflow b/src/workflows/SBQQ__QuoteProcess__c.workflow index 813bda5..bcb8162 100644 --- a/src/workflows/SBQQ__QuoteProcess__c.workflow +++ b/src/workflows/SBQQ__QuoteProcess__c.workflow @@ -21,6 +21,7 @@ SBQQ__QuoteProcess__c.ExternalId__c equals + Sets External Id to be the concatenation of the Org Id and the Record Id. onAllChanges diff --git a/src/workflows/SBQQ__QuoteTemplate__c.workflow b/src/workflows/SBQQ__QuoteTemplate__c.workflow index 427b240..caabbc5 100644 --- a/src/workflows/SBQQ__QuoteTemplate__c.workflow +++ b/src/workflows/SBQQ__QuoteTemplate__c.workflow @@ -21,6 +21,7 @@ SBQQ__QuoteTemplate__c.ExternalId__c equals + Sets External Id to be the concatenation of the Org Id and the Record Id. onAllChanges diff --git a/src/workflows/SBQQ__QuoteTerm__c.workflow b/src/workflows/SBQQ__QuoteTerm__c.workflow index ce091dc..e08ba48 100644 --- a/src/workflows/SBQQ__QuoteTerm__c.workflow +++ b/src/workflows/SBQQ__QuoteTerm__c.workflow @@ -21,6 +21,7 @@ SBQQ__QuoteTerm__c.ExternalId__c equals + Sets External Id to be the concatenation of the Org Id and the Record Id. onAllChanges diff --git a/src/workflows/SBQQ__SearchFilter__c.workflow b/src/workflows/SBQQ__SearchFilter__c.workflow index 7e1ef9f..4771e2d 100644 --- a/src/workflows/SBQQ__SearchFilter__c.workflow +++ b/src/workflows/SBQQ__SearchFilter__c.workflow @@ -21,6 +21,7 @@ SBQQ__SearchFilter__c.ExternalId__c equals + Sets External Id to be the concatenation of the Org Id and the Record Id. onAllChanges diff --git a/src/workflows/SBQQ__TemplateContent__c.workflow b/src/workflows/SBQQ__TemplateContent__c.workflow index 5fecfa9..a28ba22 100644 --- a/src/workflows/SBQQ__TemplateContent__c.workflow +++ b/src/workflows/SBQQ__TemplateContent__c.workflow @@ -21,6 +21,7 @@ SBQQ__TemplateContent__c.ExternalId__c equals + Sets External Id to be the concatenation of the Org Id and the Record Id. onAllChanges diff --git a/src/workflows/SBQQ__TemplateSection__c.workflow b/src/workflows/SBQQ__TemplateSection__c.workflow index 77fe65f..216cf7f 100644 --- a/src/workflows/SBQQ__TemplateSection__c.workflow +++ b/src/workflows/SBQQ__TemplateSection__c.workflow @@ -21,6 +21,7 @@ SBQQ__TemplateSection__c.ExternalId__c equals + Sets External Id to be the concatenation of the Org Id and the Record Id. onAllChanges From 54ceda1151c651f83bd7fb0fb822c806a099aac1 Mon Sep 17 00:00:00 2001 From: Dylan Gerow Date: Fri, 23 Jun 2017 14:55:58 -0500 Subject: [PATCH 4/6] cloning logic --- src/workflows/Product2.workflow | 8 ++++---- src/workflows/SBQQ__ContractedPrice__c.workflow | 8 ++++---- src/workflows/SBQQ__CustomActionCondition__c.workflow | 8 ++++---- src/workflows/SBQQ__CustomAction__c.workflow | 8 ++++---- src/workflows/SBQQ__CustomScript__c.workflow | 8 ++++---- src/workflows/SBQQ__DiscountSchedule__c.workflow | 8 ++++---- src/workflows/SBQQ__ErrorCondition__c.workflow | 8 ++++---- src/workflows/SBQQ__ImportColumn__c.workflow | 8 ++++---- src/workflows/SBQQ__ImportFormat__c.workflow | 8 ++++---- src/workflows/SBQQ__LineColumn__c.workflow | 8 ++++---- src/workflows/SBQQ__LookupQuery__c.workflow | 8 ++++---- src/workflows/SBQQ__OptionConstraint__c.workflow | 8 ++++---- src/workflows/SBQQ__PriceAction__c.workflow | 8 ++++---- src/workflows/SBQQ__PriceCondition__c.workflow | 8 ++++---- src/workflows/SBQQ__PriceRule__c.workflow | 8 ++++---- src/workflows/SBQQ__ProcessInput__c.workflow | 8 ++++---- src/workflows/SBQQ__ProductAction__c.workflow | 8 ++++---- src/workflows/SBQQ__ProductFeature__c.workflow | 8 ++++---- src/workflows/SBQQ__ProductOption__c.workflow | 8 ++++---- src/workflows/SBQQ__ProductRule__c.workflow | 8 ++++---- src/workflows/SBQQ__QuoteProcess__c.workflow | 8 ++++---- src/workflows/SBQQ__QuoteTemplate__c.workflow | 8 ++++---- src/workflows/SBQQ__QuoteTerm__c.workflow | 8 ++++---- src/workflows/SBQQ__SearchFilter__c.workflow | 8 ++++---- src/workflows/SBQQ__SummaryVariable__c.workflow | 8 ++++---- src/workflows/SBQQ__TemplateContent__c.workflow | 8 ++++---- src/workflows/SBQQ__TemplateSection__c.workflow | 8 ++++---- 27 files changed, 108 insertions(+), 108 deletions(-) diff --git a/src/workflows/Product2.workflow b/src/workflows/Product2.workflow index 756bd61..1b9b15a 100644 --- a/src/workflows/Product2.workflow +++ b/src/workflows/Product2.workflow @@ -17,11 +17,11 @@ FieldUpdate true - - Product2.ExternalId__c - equals - Sets External Id to be the concatenation of the Org Id and the Record Id. + OR( +ISBLANK(ExternalId__c), +AND(ISNEW(),ISCLONE()) +) onAllChanges diff --git a/src/workflows/SBQQ__ContractedPrice__c.workflow b/src/workflows/SBQQ__ContractedPrice__c.workflow index 1318587..1d7581d 100644 --- a/src/workflows/SBQQ__ContractedPrice__c.workflow +++ b/src/workflows/SBQQ__ContractedPrice__c.workflow @@ -17,11 +17,11 @@ FieldUpdate false - - SBQQ__ContractedPrice__c.ExternalId__c - equals - Sets External Id to be the concatenation of the Org Id and the Record Id. + OR( +ISBLANK(ExternalId__c), +AND(ISNEW(),ISCLONE()) +) onAllChanges diff --git a/src/workflows/SBQQ__CustomActionCondition__c.workflow b/src/workflows/SBQQ__CustomActionCondition__c.workflow index 11502a9..5ad3dc2 100644 --- a/src/workflows/SBQQ__CustomActionCondition__c.workflow +++ b/src/workflows/SBQQ__CustomActionCondition__c.workflow @@ -17,11 +17,11 @@ FieldUpdate true - - SBQQ__CustomActionCondition__c.ExternalId__c - equals - Sets External Id to be the concatenation of the Org Id and the Record Id. + OR( +ISBLANK(ExternalId__c), +AND(ISNEW(),ISCLONE()) +) onAllChanges diff --git a/src/workflows/SBQQ__CustomAction__c.workflow b/src/workflows/SBQQ__CustomAction__c.workflow index 7e46e1d..1b9b15a 100644 --- a/src/workflows/SBQQ__CustomAction__c.workflow +++ b/src/workflows/SBQQ__CustomAction__c.workflow @@ -17,11 +17,11 @@ FieldUpdate true - - SBQQ__CustomAction__c.ExternalId__c - equals - Sets External Id to be the concatenation of the Org Id and the Record Id. + OR( +ISBLANK(ExternalId__c), +AND(ISNEW(),ISCLONE()) +) onAllChanges diff --git a/src/workflows/SBQQ__CustomScript__c.workflow b/src/workflows/SBQQ__CustomScript__c.workflow index 2d593da..1b9b15a 100644 --- a/src/workflows/SBQQ__CustomScript__c.workflow +++ b/src/workflows/SBQQ__CustomScript__c.workflow @@ -17,11 +17,11 @@ FieldUpdate true - - SBQQ__CustomScript__c.ExternalId__c - equals - Sets External Id to be the concatenation of the Org Id and the Record Id. + OR( +ISBLANK(ExternalId__c), +AND(ISNEW(),ISCLONE()) +) onAllChanges diff --git a/src/workflows/SBQQ__DiscountSchedule__c.workflow b/src/workflows/SBQQ__DiscountSchedule__c.workflow index 8aacba3..1b9b15a 100644 --- a/src/workflows/SBQQ__DiscountSchedule__c.workflow +++ b/src/workflows/SBQQ__DiscountSchedule__c.workflow @@ -17,11 +17,11 @@ FieldUpdate true - - SBQQ__DiscountSchedule__c.ExternalId__c - equals - Sets External Id to be the concatenation of the Org Id and the Record Id. + OR( +ISBLANK(ExternalId__c), +AND(ISNEW(),ISCLONE()) +) onAllChanges diff --git a/src/workflows/SBQQ__ErrorCondition__c.workflow b/src/workflows/SBQQ__ErrorCondition__c.workflow index 836a2b5..1b9b15a 100644 --- a/src/workflows/SBQQ__ErrorCondition__c.workflow +++ b/src/workflows/SBQQ__ErrorCondition__c.workflow @@ -17,11 +17,11 @@ FieldUpdate true - - SBQQ__ErrorCondition__c.ExternalId__c - equals - Sets External Id to be the concatenation of the Org Id and the Record Id. + OR( +ISBLANK(ExternalId__c), +AND(ISNEW(),ISCLONE()) +) onAllChanges diff --git a/src/workflows/SBQQ__ImportColumn__c.workflow b/src/workflows/SBQQ__ImportColumn__c.workflow index 7ddcfe3..2bce9b3 100644 --- a/src/workflows/SBQQ__ImportColumn__c.workflow +++ b/src/workflows/SBQQ__ImportColumn__c.workflow @@ -17,11 +17,11 @@ FieldUpdate true - - SBQQ__ImportColumn__c.ExternalId__c - equals - Sets External Id to be the concatenation of the Org Id and the Record Id. + OR( +ISBLANK(ExternalId__c), +AND(ISNEW(),ISCLONE()) +) onAllChanges diff --git a/src/workflows/SBQQ__ImportFormat__c.workflow b/src/workflows/SBQQ__ImportFormat__c.workflow index e3ee1f7..2bce9b3 100644 --- a/src/workflows/SBQQ__ImportFormat__c.workflow +++ b/src/workflows/SBQQ__ImportFormat__c.workflow @@ -17,11 +17,11 @@ FieldUpdate true - - SBQQ__ImportFormat__c.ExternalId__c - equals - Sets External Id to be the concatenation of the Org Id and the Record Id. + OR( +ISBLANK(ExternalId__c), +AND(ISNEW(),ISCLONE()) +) onAllChanges diff --git a/src/workflows/SBQQ__LineColumn__c.workflow b/src/workflows/SBQQ__LineColumn__c.workflow index a909c04..1b9b15a 100644 --- a/src/workflows/SBQQ__LineColumn__c.workflow +++ b/src/workflows/SBQQ__LineColumn__c.workflow @@ -17,11 +17,11 @@ FieldUpdate true - - SBQQ__LineColumn__c.ExternalId__c - equals - Sets External Id to be the concatenation of the Org Id and the Record Id. + OR( +ISBLANK(ExternalId__c), +AND(ISNEW(),ISCLONE()) +) onAllChanges diff --git a/src/workflows/SBQQ__LookupQuery__c.workflow b/src/workflows/SBQQ__LookupQuery__c.workflow index a8c503f..1b9b15a 100644 --- a/src/workflows/SBQQ__LookupQuery__c.workflow +++ b/src/workflows/SBQQ__LookupQuery__c.workflow @@ -17,11 +17,11 @@ FieldUpdate true - - SBQQ__LookupQuery__c.ExternalId__c - equals - Sets External Id to be the concatenation of the Org Id and the Record Id. + OR( +ISBLANK(ExternalId__c), +AND(ISNEW(),ISCLONE()) +) onAllChanges diff --git a/src/workflows/SBQQ__OptionConstraint__c.workflow b/src/workflows/SBQQ__OptionConstraint__c.workflow index 0bb16d0..1b9b15a 100644 --- a/src/workflows/SBQQ__OptionConstraint__c.workflow +++ b/src/workflows/SBQQ__OptionConstraint__c.workflow @@ -17,11 +17,11 @@ FieldUpdate true - - SBQQ__OptionConstraint__c.ExternalId__c - equals - Sets External Id to be the concatenation of the Org Id and the Record Id. + OR( +ISBLANK(ExternalId__c), +AND(ISNEW(),ISCLONE()) +) onAllChanges diff --git a/src/workflows/SBQQ__PriceAction__c.workflow b/src/workflows/SBQQ__PriceAction__c.workflow index b729141..1b9b15a 100644 --- a/src/workflows/SBQQ__PriceAction__c.workflow +++ b/src/workflows/SBQQ__PriceAction__c.workflow @@ -17,11 +17,11 @@ FieldUpdate true - - SBQQ__PriceAction__c.ExternalId__c - equals - Sets External Id to be the concatenation of the Org Id and the Record Id. + OR( +ISBLANK(ExternalId__c), +AND(ISNEW(),ISCLONE()) +) onAllChanges diff --git a/src/workflows/SBQQ__PriceCondition__c.workflow b/src/workflows/SBQQ__PriceCondition__c.workflow index 6129bd2..1b9b15a 100644 --- a/src/workflows/SBQQ__PriceCondition__c.workflow +++ b/src/workflows/SBQQ__PriceCondition__c.workflow @@ -17,11 +17,11 @@ FieldUpdate true - - SBQQ__PriceCondition__c.ExternalId__c - equals - Sets External Id to be the concatenation of the Org Id and the Record Id. + OR( +ISBLANK(ExternalId__c), +AND(ISNEW(),ISCLONE()) +) onAllChanges diff --git a/src/workflows/SBQQ__PriceRule__c.workflow b/src/workflows/SBQQ__PriceRule__c.workflow index 337b169..1b9b15a 100644 --- a/src/workflows/SBQQ__PriceRule__c.workflow +++ b/src/workflows/SBQQ__PriceRule__c.workflow @@ -17,11 +17,11 @@ FieldUpdate true - - SBQQ__PriceRule__c.ExternalId__c - equals - Sets External Id to be the concatenation of the Org Id and the Record Id. + OR( +ISBLANK(ExternalId__c), +AND(ISNEW(),ISCLONE()) +) onAllChanges diff --git a/src/workflows/SBQQ__ProcessInput__c.workflow b/src/workflows/SBQQ__ProcessInput__c.workflow index cd9becd..1b9b15a 100644 --- a/src/workflows/SBQQ__ProcessInput__c.workflow +++ b/src/workflows/SBQQ__ProcessInput__c.workflow @@ -17,11 +17,11 @@ FieldUpdate true - - SBQQ__ProcessInput__c.ExternalId__c - equals - Sets External Id to be the concatenation of the Org Id and the Record Id. + OR( +ISBLANK(ExternalId__c), +AND(ISNEW(),ISCLONE()) +) onAllChanges diff --git a/src/workflows/SBQQ__ProductAction__c.workflow b/src/workflows/SBQQ__ProductAction__c.workflow index fadf4ef..1b9b15a 100644 --- a/src/workflows/SBQQ__ProductAction__c.workflow +++ b/src/workflows/SBQQ__ProductAction__c.workflow @@ -17,11 +17,11 @@ FieldUpdate true - - SBQQ__ProductAction__c.ExternalId__c - equals - Sets External Id to be the concatenation of the Org Id and the Record Id. + OR( +ISBLANK(ExternalId__c), +AND(ISNEW(),ISCLONE()) +) onAllChanges diff --git a/src/workflows/SBQQ__ProductFeature__c.workflow b/src/workflows/SBQQ__ProductFeature__c.workflow index e01826c..1b9b15a 100644 --- a/src/workflows/SBQQ__ProductFeature__c.workflow +++ b/src/workflows/SBQQ__ProductFeature__c.workflow @@ -17,11 +17,11 @@ FieldUpdate true - - SBQQ__ProductFeature__c.ExternalId__c - equals - Sets External Id to be the concatenation of the Org Id and the Record Id. + OR( +ISBLANK(ExternalId__c), +AND(ISNEW(),ISCLONE()) +) onAllChanges diff --git a/src/workflows/SBQQ__ProductOption__c.workflow b/src/workflows/SBQQ__ProductOption__c.workflow index 444e39f..291fc9c 100644 --- a/src/workflows/SBQQ__ProductOption__c.workflow +++ b/src/workflows/SBQQ__ProductOption__c.workflow @@ -17,11 +17,11 @@ FieldUpdate true - - SBQQ__ProductOption__c.ExternalId__c - equals - Sets External Id to be the concatenation of the Org Id and the Record Id. + OR( +ISBLANK(ExternalId__c), +AND(ISNEW(),ISCLONE()) +) onAllChanges diff --git a/src/workflows/SBQQ__ProductRule__c.workflow b/src/workflows/SBQQ__ProductRule__c.workflow index cb51ac0..1b9b15a 100644 --- a/src/workflows/SBQQ__ProductRule__c.workflow +++ b/src/workflows/SBQQ__ProductRule__c.workflow @@ -17,11 +17,11 @@ FieldUpdate true - - SBQQ__ProductRule__c.ExternalId__c - equals - Sets External Id to be the concatenation of the Org Id and the Record Id. + OR( +ISBLANK(ExternalId__c), +AND(ISNEW(),ISCLONE()) +) onAllChanges diff --git a/src/workflows/SBQQ__QuoteProcess__c.workflow b/src/workflows/SBQQ__QuoteProcess__c.workflow index bcb8162..1b9b15a 100644 --- a/src/workflows/SBQQ__QuoteProcess__c.workflow +++ b/src/workflows/SBQQ__QuoteProcess__c.workflow @@ -17,11 +17,11 @@ FieldUpdate true - - SBQQ__QuoteProcess__c.ExternalId__c - equals - Sets External Id to be the concatenation of the Org Id and the Record Id. + OR( +ISBLANK(ExternalId__c), +AND(ISNEW(),ISCLONE()) +) onAllChanges diff --git a/src/workflows/SBQQ__QuoteTemplate__c.workflow b/src/workflows/SBQQ__QuoteTemplate__c.workflow index caabbc5..1b9b15a 100644 --- a/src/workflows/SBQQ__QuoteTemplate__c.workflow +++ b/src/workflows/SBQQ__QuoteTemplate__c.workflow @@ -17,11 +17,11 @@ FieldUpdate true - - SBQQ__QuoteTemplate__c.ExternalId__c - equals - Sets External Id to be the concatenation of the Org Id and the Record Id. + OR( +ISBLANK(ExternalId__c), +AND(ISNEW(),ISCLONE()) +) onAllChanges diff --git a/src/workflows/SBQQ__QuoteTerm__c.workflow b/src/workflows/SBQQ__QuoteTerm__c.workflow index e08ba48..2bce9b3 100644 --- a/src/workflows/SBQQ__QuoteTerm__c.workflow +++ b/src/workflows/SBQQ__QuoteTerm__c.workflow @@ -17,11 +17,11 @@ FieldUpdate true - - SBQQ__QuoteTerm__c.ExternalId__c - equals - Sets External Id to be the concatenation of the Org Id and the Record Id. + OR( +ISBLANK(ExternalId__c), +AND(ISNEW(),ISCLONE()) +) onAllChanges diff --git a/src/workflows/SBQQ__SearchFilter__c.workflow b/src/workflows/SBQQ__SearchFilter__c.workflow index 4771e2d..1b9b15a 100644 --- a/src/workflows/SBQQ__SearchFilter__c.workflow +++ b/src/workflows/SBQQ__SearchFilter__c.workflow @@ -17,11 +17,11 @@ FieldUpdate true - - SBQQ__SearchFilter__c.ExternalId__c - equals - Sets External Id to be the concatenation of the Org Id and the Record Id. + OR( +ISBLANK(ExternalId__c), +AND(ISNEW(),ISCLONE()) +) onAllChanges diff --git a/src/workflows/SBQQ__SummaryVariable__c.workflow b/src/workflows/SBQQ__SummaryVariable__c.workflow index 4616464..cd83a2b 100644 --- a/src/workflows/SBQQ__SummaryVariable__c.workflow +++ b/src/workflows/SBQQ__SummaryVariable__c.workflow @@ -17,10 +17,10 @@ FieldUpdate true - - SBQQ__SummaryVariable__c.ExternalId__c - equals - + OR( +ISBLANK(ExternalId__c), +AND(ISNEW(),ISCLONE()) +) onCreateOrTriggeringUpdate diff --git a/src/workflows/SBQQ__TemplateContent__c.workflow b/src/workflows/SBQQ__TemplateContent__c.workflow index a28ba22..1b9b15a 100644 --- a/src/workflows/SBQQ__TemplateContent__c.workflow +++ b/src/workflows/SBQQ__TemplateContent__c.workflow @@ -17,11 +17,11 @@ FieldUpdate true - - SBQQ__TemplateContent__c.ExternalId__c - equals - Sets External Id to be the concatenation of the Org Id and the Record Id. + OR( +ISBLANK(ExternalId__c), +AND(ISNEW(),ISCLONE()) +) onAllChanges diff --git a/src/workflows/SBQQ__TemplateSection__c.workflow b/src/workflows/SBQQ__TemplateSection__c.workflow index 216cf7f..1b9b15a 100644 --- a/src/workflows/SBQQ__TemplateSection__c.workflow +++ b/src/workflows/SBQQ__TemplateSection__c.workflow @@ -17,11 +17,11 @@ FieldUpdate true - - SBQQ__TemplateSection__c.ExternalId__c - equals - Sets External Id to be the concatenation of the Org Id and the Record Id. + OR( +ISBLANK(ExternalId__c), +AND(ISNEW(),ISCLONE()) +) onAllChanges From 5ea87f4e5d98a63a6f2adaa85333f8b632afee06 Mon Sep 17 00:00:00 2001 From: Dylan Gerow Date: Fri, 23 Jun 2017 14:57:20 -0500 Subject: [PATCH 5/6] trigger on all changes --- src/workflows/SBQQ__SummaryVariable__c.workflow | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/workflows/SBQQ__SummaryVariable__c.workflow b/src/workflows/SBQQ__SummaryVariable__c.workflow index cd83a2b..7f5faf1 100644 --- a/src/workflows/SBQQ__SummaryVariable__c.workflow +++ b/src/workflows/SBQQ__SummaryVariable__c.workflow @@ -21,6 +21,6 @@ ISBLANK(ExternalId__c), AND(ISNEW(),ISCLONE()) ) - onCreateOrTriggeringUpdate + onAllChanges From 31f981bfae790569ca3e4fe439ad2653e2e8f227 Mon Sep 17 00:00:00 2001 From: Dylan Gerow Date: Fri, 23 Jun 2017 14:59:10 -0500 Subject: [PATCH 6/6] formatting - activate contracted pricing --- src/workflows/Product2.workflow | 5 +---- src/workflows/SBQQ__ContractedPrice__c.workflow | 7 ++----- src/workflows/SBQQ__CustomActionCondition__c.workflow | 5 +---- src/workflows/SBQQ__CustomAction__c.workflow | 5 +---- src/workflows/SBQQ__CustomScript__c.workflow | 5 +---- src/workflows/SBQQ__DiscountSchedule__c.workflow | 5 +---- src/workflows/SBQQ__ErrorCondition__c.workflow | 5 +---- src/workflows/SBQQ__ImportColumn__c.workflow | 5 +---- src/workflows/SBQQ__ImportFormat__c.workflow | 5 +---- src/workflows/SBQQ__LineColumn__c.workflow | 5 +---- src/workflows/SBQQ__LookupQuery__c.workflow | 5 +---- src/workflows/SBQQ__OptionConstraint__c.workflow | 5 +---- src/workflows/SBQQ__PriceAction__c.workflow | 5 +---- src/workflows/SBQQ__PriceCondition__c.workflow | 5 +---- src/workflows/SBQQ__PriceRule__c.workflow | 5 +---- src/workflows/SBQQ__ProcessInput__c.workflow | 5 +---- src/workflows/SBQQ__ProductAction__c.workflow | 5 +---- src/workflows/SBQQ__ProductFeature__c.workflow | 5 +---- src/workflows/SBQQ__ProductOption__c.workflow | 5 +---- src/workflows/SBQQ__ProductRule__c.workflow | 5 +---- src/workflows/SBQQ__QuoteProcess__c.workflow | 5 +---- src/workflows/SBQQ__QuoteTemplate__c.workflow | 5 +---- src/workflows/SBQQ__QuoteTerm__c.workflow | 5 +---- src/workflows/SBQQ__SearchFilter__c.workflow | 5 +---- src/workflows/SBQQ__SummaryVariable__c.workflow | 5 +---- src/workflows/SBQQ__TemplateContent__c.workflow | 5 +---- src/workflows/SBQQ__TemplateSection__c.workflow | 5 +---- 27 files changed, 28 insertions(+), 109 deletions(-) diff --git a/src/workflows/Product2.workflow b/src/workflows/Product2.workflow index 1b9b15a..1923b70 100644 --- a/src/workflows/Product2.workflow +++ b/src/workflows/Product2.workflow @@ -18,10 +18,7 @@ true Sets External Id to be the concatenation of the Org Id and the Record Id. - OR( -ISBLANK(ExternalId__c), -AND(ISNEW(),ISCLONE()) -) + OR( ISBLANK(ExternalId__c), AND(ISNEW(),ISCLONE()) ) onAllChanges diff --git a/src/workflows/SBQQ__ContractedPrice__c.workflow b/src/workflows/SBQQ__ContractedPrice__c.workflow index 1d7581d..1923b70 100644 --- a/src/workflows/SBQQ__ContractedPrice__c.workflow +++ b/src/workflows/SBQQ__ContractedPrice__c.workflow @@ -16,12 +16,9 @@ Set_External_Id FieldUpdate - false + true Sets External Id to be the concatenation of the Org Id and the Record Id. - OR( -ISBLANK(ExternalId__c), -AND(ISNEW(),ISCLONE()) -) + OR( ISBLANK(ExternalId__c), AND(ISNEW(),ISCLONE()) ) onAllChanges diff --git a/src/workflows/SBQQ__CustomActionCondition__c.workflow b/src/workflows/SBQQ__CustomActionCondition__c.workflow index 5ad3dc2..8ad5638 100644 --- a/src/workflows/SBQQ__CustomActionCondition__c.workflow +++ b/src/workflows/SBQQ__CustomActionCondition__c.workflow @@ -18,10 +18,7 @@ true Sets External Id to be the concatenation of the Org Id and the Record Id. - OR( -ISBLANK(ExternalId__c), -AND(ISNEW(),ISCLONE()) -) + OR( ISBLANK(ExternalId__c), AND(ISNEW(),ISCLONE()) ) onAllChanges diff --git a/src/workflows/SBQQ__CustomAction__c.workflow b/src/workflows/SBQQ__CustomAction__c.workflow index 1b9b15a..1923b70 100644 --- a/src/workflows/SBQQ__CustomAction__c.workflow +++ b/src/workflows/SBQQ__CustomAction__c.workflow @@ -18,10 +18,7 @@ true Sets External Id to be the concatenation of the Org Id and the Record Id. - OR( -ISBLANK(ExternalId__c), -AND(ISNEW(),ISCLONE()) -) + OR( ISBLANK(ExternalId__c), AND(ISNEW(),ISCLONE()) ) onAllChanges diff --git a/src/workflows/SBQQ__CustomScript__c.workflow b/src/workflows/SBQQ__CustomScript__c.workflow index 1b9b15a..1923b70 100644 --- a/src/workflows/SBQQ__CustomScript__c.workflow +++ b/src/workflows/SBQQ__CustomScript__c.workflow @@ -18,10 +18,7 @@ true Sets External Id to be the concatenation of the Org Id and the Record Id. - OR( -ISBLANK(ExternalId__c), -AND(ISNEW(),ISCLONE()) -) + OR( ISBLANK(ExternalId__c), AND(ISNEW(),ISCLONE()) ) onAllChanges diff --git a/src/workflows/SBQQ__DiscountSchedule__c.workflow b/src/workflows/SBQQ__DiscountSchedule__c.workflow index 1b9b15a..1923b70 100644 --- a/src/workflows/SBQQ__DiscountSchedule__c.workflow +++ b/src/workflows/SBQQ__DiscountSchedule__c.workflow @@ -18,10 +18,7 @@ true Sets External Id to be the concatenation of the Org Id and the Record Id. - OR( -ISBLANK(ExternalId__c), -AND(ISNEW(),ISCLONE()) -) + OR( ISBLANK(ExternalId__c), AND(ISNEW(),ISCLONE()) ) onAllChanges diff --git a/src/workflows/SBQQ__ErrorCondition__c.workflow b/src/workflows/SBQQ__ErrorCondition__c.workflow index 1b9b15a..1923b70 100644 --- a/src/workflows/SBQQ__ErrorCondition__c.workflow +++ b/src/workflows/SBQQ__ErrorCondition__c.workflow @@ -18,10 +18,7 @@ true Sets External Id to be the concatenation of the Org Id and the Record Id. - OR( -ISBLANK(ExternalId__c), -AND(ISNEW(),ISCLONE()) -) + OR( ISBLANK(ExternalId__c), AND(ISNEW(),ISCLONE()) ) onAllChanges diff --git a/src/workflows/SBQQ__ImportColumn__c.workflow b/src/workflows/SBQQ__ImportColumn__c.workflow index 2bce9b3..7f31792 100644 --- a/src/workflows/SBQQ__ImportColumn__c.workflow +++ b/src/workflows/SBQQ__ImportColumn__c.workflow @@ -18,10 +18,7 @@ true Sets External Id to be the concatenation of the Org Id and the Record Id. - OR( -ISBLANK(ExternalId__c), -AND(ISNEW(),ISCLONE()) -) + OR( ISBLANK(ExternalId__c), AND(ISNEW(),ISCLONE()) ) onAllChanges diff --git a/src/workflows/SBQQ__ImportFormat__c.workflow b/src/workflows/SBQQ__ImportFormat__c.workflow index 2bce9b3..7f31792 100644 --- a/src/workflows/SBQQ__ImportFormat__c.workflow +++ b/src/workflows/SBQQ__ImportFormat__c.workflow @@ -18,10 +18,7 @@ true Sets External Id to be the concatenation of the Org Id and the Record Id. - OR( -ISBLANK(ExternalId__c), -AND(ISNEW(),ISCLONE()) -) + OR( ISBLANK(ExternalId__c), AND(ISNEW(),ISCLONE()) ) onAllChanges diff --git a/src/workflows/SBQQ__LineColumn__c.workflow b/src/workflows/SBQQ__LineColumn__c.workflow index 1b9b15a..1923b70 100644 --- a/src/workflows/SBQQ__LineColumn__c.workflow +++ b/src/workflows/SBQQ__LineColumn__c.workflow @@ -18,10 +18,7 @@ true Sets External Id to be the concatenation of the Org Id and the Record Id. - OR( -ISBLANK(ExternalId__c), -AND(ISNEW(),ISCLONE()) -) + OR( ISBLANK(ExternalId__c), AND(ISNEW(),ISCLONE()) ) onAllChanges diff --git a/src/workflows/SBQQ__LookupQuery__c.workflow b/src/workflows/SBQQ__LookupQuery__c.workflow index 1b9b15a..1923b70 100644 --- a/src/workflows/SBQQ__LookupQuery__c.workflow +++ b/src/workflows/SBQQ__LookupQuery__c.workflow @@ -18,10 +18,7 @@ true Sets External Id to be the concatenation of the Org Id and the Record Id. - OR( -ISBLANK(ExternalId__c), -AND(ISNEW(),ISCLONE()) -) + OR( ISBLANK(ExternalId__c), AND(ISNEW(),ISCLONE()) ) onAllChanges diff --git a/src/workflows/SBQQ__OptionConstraint__c.workflow b/src/workflows/SBQQ__OptionConstraint__c.workflow index 1b9b15a..1923b70 100644 --- a/src/workflows/SBQQ__OptionConstraint__c.workflow +++ b/src/workflows/SBQQ__OptionConstraint__c.workflow @@ -18,10 +18,7 @@ true Sets External Id to be the concatenation of the Org Id and the Record Id. - OR( -ISBLANK(ExternalId__c), -AND(ISNEW(),ISCLONE()) -) + OR( ISBLANK(ExternalId__c), AND(ISNEW(),ISCLONE()) ) onAllChanges diff --git a/src/workflows/SBQQ__PriceAction__c.workflow b/src/workflows/SBQQ__PriceAction__c.workflow index 1b9b15a..1923b70 100644 --- a/src/workflows/SBQQ__PriceAction__c.workflow +++ b/src/workflows/SBQQ__PriceAction__c.workflow @@ -18,10 +18,7 @@ true Sets External Id to be the concatenation of the Org Id and the Record Id. - OR( -ISBLANK(ExternalId__c), -AND(ISNEW(),ISCLONE()) -) + OR( ISBLANK(ExternalId__c), AND(ISNEW(),ISCLONE()) ) onAllChanges diff --git a/src/workflows/SBQQ__PriceCondition__c.workflow b/src/workflows/SBQQ__PriceCondition__c.workflow index 1b9b15a..1923b70 100644 --- a/src/workflows/SBQQ__PriceCondition__c.workflow +++ b/src/workflows/SBQQ__PriceCondition__c.workflow @@ -18,10 +18,7 @@ true Sets External Id to be the concatenation of the Org Id and the Record Id. - OR( -ISBLANK(ExternalId__c), -AND(ISNEW(),ISCLONE()) -) + OR( ISBLANK(ExternalId__c), AND(ISNEW(),ISCLONE()) ) onAllChanges diff --git a/src/workflows/SBQQ__PriceRule__c.workflow b/src/workflows/SBQQ__PriceRule__c.workflow index 1b9b15a..1923b70 100644 --- a/src/workflows/SBQQ__PriceRule__c.workflow +++ b/src/workflows/SBQQ__PriceRule__c.workflow @@ -18,10 +18,7 @@ true Sets External Id to be the concatenation of the Org Id and the Record Id. - OR( -ISBLANK(ExternalId__c), -AND(ISNEW(),ISCLONE()) -) + OR( ISBLANK(ExternalId__c), AND(ISNEW(),ISCLONE()) ) onAllChanges diff --git a/src/workflows/SBQQ__ProcessInput__c.workflow b/src/workflows/SBQQ__ProcessInput__c.workflow index 1b9b15a..1923b70 100644 --- a/src/workflows/SBQQ__ProcessInput__c.workflow +++ b/src/workflows/SBQQ__ProcessInput__c.workflow @@ -18,10 +18,7 @@ true Sets External Id to be the concatenation of the Org Id and the Record Id. - OR( -ISBLANK(ExternalId__c), -AND(ISNEW(),ISCLONE()) -) + OR( ISBLANK(ExternalId__c), AND(ISNEW(),ISCLONE()) ) onAllChanges diff --git a/src/workflows/SBQQ__ProductAction__c.workflow b/src/workflows/SBQQ__ProductAction__c.workflow index 1b9b15a..1923b70 100644 --- a/src/workflows/SBQQ__ProductAction__c.workflow +++ b/src/workflows/SBQQ__ProductAction__c.workflow @@ -18,10 +18,7 @@ true Sets External Id to be the concatenation of the Org Id and the Record Id. - OR( -ISBLANK(ExternalId__c), -AND(ISNEW(),ISCLONE()) -) + OR( ISBLANK(ExternalId__c), AND(ISNEW(),ISCLONE()) ) onAllChanges diff --git a/src/workflows/SBQQ__ProductFeature__c.workflow b/src/workflows/SBQQ__ProductFeature__c.workflow index 1b9b15a..1923b70 100644 --- a/src/workflows/SBQQ__ProductFeature__c.workflow +++ b/src/workflows/SBQQ__ProductFeature__c.workflow @@ -18,10 +18,7 @@ true Sets External Id to be the concatenation of the Org Id and the Record Id. - OR( -ISBLANK(ExternalId__c), -AND(ISNEW(),ISCLONE()) -) + OR( ISBLANK(ExternalId__c), AND(ISNEW(),ISCLONE()) ) onAllChanges diff --git a/src/workflows/SBQQ__ProductOption__c.workflow b/src/workflows/SBQQ__ProductOption__c.workflow index 291fc9c..1923b70 100644 --- a/src/workflows/SBQQ__ProductOption__c.workflow +++ b/src/workflows/SBQQ__ProductOption__c.workflow @@ -18,10 +18,7 @@ true Sets External Id to be the concatenation of the Org Id and the Record Id. - OR( -ISBLANK(ExternalId__c), -AND(ISNEW(),ISCLONE()) -) + OR( ISBLANK(ExternalId__c), AND(ISNEW(),ISCLONE()) ) onAllChanges diff --git a/src/workflows/SBQQ__ProductRule__c.workflow b/src/workflows/SBQQ__ProductRule__c.workflow index 1b9b15a..1923b70 100644 --- a/src/workflows/SBQQ__ProductRule__c.workflow +++ b/src/workflows/SBQQ__ProductRule__c.workflow @@ -18,10 +18,7 @@ true Sets External Id to be the concatenation of the Org Id and the Record Id. - OR( -ISBLANK(ExternalId__c), -AND(ISNEW(),ISCLONE()) -) + OR( ISBLANK(ExternalId__c), AND(ISNEW(),ISCLONE()) ) onAllChanges diff --git a/src/workflows/SBQQ__QuoteProcess__c.workflow b/src/workflows/SBQQ__QuoteProcess__c.workflow index 1b9b15a..1923b70 100644 --- a/src/workflows/SBQQ__QuoteProcess__c.workflow +++ b/src/workflows/SBQQ__QuoteProcess__c.workflow @@ -18,10 +18,7 @@ true Sets External Id to be the concatenation of the Org Id and the Record Id. - OR( -ISBLANK(ExternalId__c), -AND(ISNEW(),ISCLONE()) -) + OR( ISBLANK(ExternalId__c), AND(ISNEW(),ISCLONE()) ) onAllChanges diff --git a/src/workflows/SBQQ__QuoteTemplate__c.workflow b/src/workflows/SBQQ__QuoteTemplate__c.workflow index 1b9b15a..1923b70 100644 --- a/src/workflows/SBQQ__QuoteTemplate__c.workflow +++ b/src/workflows/SBQQ__QuoteTemplate__c.workflow @@ -18,10 +18,7 @@ true Sets External Id to be the concatenation of the Org Id and the Record Id. - OR( -ISBLANK(ExternalId__c), -AND(ISNEW(),ISCLONE()) -) + OR( ISBLANK(ExternalId__c), AND(ISNEW(),ISCLONE()) ) onAllChanges diff --git a/src/workflows/SBQQ__QuoteTerm__c.workflow b/src/workflows/SBQQ__QuoteTerm__c.workflow index 2bce9b3..7f31792 100644 --- a/src/workflows/SBQQ__QuoteTerm__c.workflow +++ b/src/workflows/SBQQ__QuoteTerm__c.workflow @@ -18,10 +18,7 @@ true Sets External Id to be the concatenation of the Org Id and the Record Id. - OR( -ISBLANK(ExternalId__c), -AND(ISNEW(),ISCLONE()) -) + OR( ISBLANK(ExternalId__c), AND(ISNEW(),ISCLONE()) ) onAllChanges diff --git a/src/workflows/SBQQ__SearchFilter__c.workflow b/src/workflows/SBQQ__SearchFilter__c.workflow index 1b9b15a..1923b70 100644 --- a/src/workflows/SBQQ__SearchFilter__c.workflow +++ b/src/workflows/SBQQ__SearchFilter__c.workflow @@ -18,10 +18,7 @@ true Sets External Id to be the concatenation of the Org Id and the Record Id. - OR( -ISBLANK(ExternalId__c), -AND(ISNEW(),ISCLONE()) -) + OR( ISBLANK(ExternalId__c), AND(ISNEW(),ISCLONE()) ) onAllChanges diff --git a/src/workflows/SBQQ__SummaryVariable__c.workflow b/src/workflows/SBQQ__SummaryVariable__c.workflow index 7f5faf1..8fc38c5 100644 --- a/src/workflows/SBQQ__SummaryVariable__c.workflow +++ b/src/workflows/SBQQ__SummaryVariable__c.workflow @@ -17,10 +17,7 @@ FieldUpdate true - OR( -ISBLANK(ExternalId__c), -AND(ISNEW(),ISCLONE()) -) + OR( ISBLANK(ExternalId__c), AND(ISNEW(),ISCLONE()) ) onAllChanges diff --git a/src/workflows/SBQQ__TemplateContent__c.workflow b/src/workflows/SBQQ__TemplateContent__c.workflow index 1b9b15a..1923b70 100644 --- a/src/workflows/SBQQ__TemplateContent__c.workflow +++ b/src/workflows/SBQQ__TemplateContent__c.workflow @@ -18,10 +18,7 @@ true Sets External Id to be the concatenation of the Org Id and the Record Id. - OR( -ISBLANK(ExternalId__c), -AND(ISNEW(),ISCLONE()) -) + OR( ISBLANK(ExternalId__c), AND(ISNEW(),ISCLONE()) ) onAllChanges diff --git a/src/workflows/SBQQ__TemplateSection__c.workflow b/src/workflows/SBQQ__TemplateSection__c.workflow index 1b9b15a..1923b70 100644 --- a/src/workflows/SBQQ__TemplateSection__c.workflow +++ b/src/workflows/SBQQ__TemplateSection__c.workflow @@ -18,10 +18,7 @@ true Sets External Id to be the concatenation of the Org Id and the Record Id. - OR( -ISBLANK(ExternalId__c), -AND(ISNEW(),ISCLONE()) -) + OR( ISBLANK(ExternalId__c), AND(ISNEW(),ISCLONE()) ) onAllChanges