diff --git a/src/package.xml b/src/package.xml index 1698134..5b93b9f 100644 --- a/src/package.xml +++ b/src/package.xml @@ -131,7 +131,7 @@ SBQQ__TemplateSection__c SBQQ__DiscountTier__c SBQQ__TermCondition__c - SBQQ__ConfigurationRules__c + SBQQ__ConfigurationRule__c Workflow 40.0 diff --git a/src/workflows/SBQQ__ConfigurationRule__c.workflow b/src/workflows/SBQQ__ConfigurationRule__c.workflow new file mode 100644 index 0000000..dc71541 --- /dev/null +++ b/src/workflows/SBQQ__ConfigurationRule__c.workflow @@ -0,0 +1,24 @@ + + + + Set_External_Id + Sets External Id to be the concatenation of the Org Id and the Record Id. + cpqma_ExternalId__c + $Organization.Id + ':' + CASESAFEID(Id) + Set External Id + false + Formula + false + + + Set External Id + + Set_External_Id + FieldUpdate + + true + Sets External Id to be the concatenation of the Org Id and the Record Id. + OR( ISBLANK(cpqma_ExternalId__c), AND(ISNEW(),ISCLONE()) ) + onAllChanges + +