-
-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
v1.6.35 - Rollup Order By Bugfix (#632)
* Fixes an issue reported by Katherine West where rollup ordering wasn't being properly applied * Fixes #629 by properly handling text template HTML tags (when present) for the Full Recalc CMDT-driven Invocable rollup action
- Loading branch information
1 parent
877a3b6
commit 1acc7d5
Showing
15 changed files
with
210 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
extra-tests/customMetadata/RollupOrderBy.Integration_NumberValue_FIRST.md-meta.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<?xml version="1.0" encoding="UTF-8" ?> | ||
<CustomMetadata | ||
xmlns="http://soap.sforce.com/2006/04/metadata" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xmlns:xsd="http://www.w3.org/2001/XMLSchema" | ||
> | ||
<label>Integration NumberValue FIRST</label> | ||
<protected>false</protected> | ||
<values> | ||
<field>FieldName__c</field> | ||
<value xsi:type="xsd:string">NumberField__c</value> | ||
</values> | ||
<values> | ||
<field>NullSortOrder__c</field> | ||
<value xsi:type="xsd:string">NULLS FIRST</value> | ||
</values> | ||
<values> | ||
<field>Ranking__c</field> | ||
<value xsi:type="xsd:double">1.0</value> | ||
</values> | ||
<values> | ||
<field>Rollup__c</field> | ||
<value xsi:type="xsd:string">RollupIntegrationChildRollupText</value> | ||
</values> | ||
<values> | ||
<field>SortOrder__c</field> | ||
<value xsi:type="xsd:string">Ascending</value> | ||
</values> | ||
</CustomMetadata> |
64 changes: 64 additions & 0 deletions
64
extra-tests/flows/Rollup_Integration_Comma_Separated_Full_Recalc.flow-meta.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Flow xmlns="http://soap.sforce.com/2006/04/metadata"> | ||
<actionCalls> | ||
<name>Recalc_Rollups</name> | ||
<label>Recalc Rollups</label> | ||
<locationX>176</locationX> | ||
<locationY>134</locationY> | ||
<actionName>RollupFlowFullRecalcDispatcher</actionName> | ||
<actionType>apex</actionType> | ||
<flowTransactionModel>CurrentTransaction</flowTransactionModel> | ||
<inputParameters> | ||
<name>rollupDeveloperNames</name> | ||
<value> | ||
<elementReference>Rollups_Comma_Separated</elementReference> | ||
</value> | ||
</inputParameters> | ||
<nameSegment>RollupFlowFullRecalcDispatcher</nameSegment> | ||
<storeOutputAutomatically>true</storeOutputAutomatically> | ||
<versionSegment>1</versionSegment> | ||
</actionCalls> | ||
<apiVersion>61.0</apiVersion> | ||
<environments>Default</environments> | ||
<interviewLabel>Rollup Integration: Comma-Separated Full Recalc {!$Flow.CurrentDateTime}</interviewLabel> | ||
<label>Rollup Integration: Comma-Separated Full Recalc</label> | ||
<processMetadataValues> | ||
<name>BuilderType</name> | ||
<value> | ||
<stringValue>LightningFlowBuilder</stringValue> | ||
</value> | ||
</processMetadataValues> | ||
<processMetadataValues> | ||
<name>CanvasMode</name> | ||
<value> | ||
<stringValue>AUTO_LAYOUT_CANVAS</stringValue> | ||
</value> | ||
</processMetadataValues> | ||
<processMetadataValues> | ||
<name>OriginBuilderType</name> | ||
<value> | ||
<stringValue>LightningFlowBuilder</stringValue> | ||
</value> | ||
</processMetadataValues> | ||
<processType>AutoLaunchedFlow</processType> | ||
<start> | ||
<locationX>50</locationX> | ||
<locationY>0</locationY> | ||
<connector> | ||
<targetReference>Recalc_Rollups</targetReference> | ||
</connector> | ||
</start> | ||
<status>Draft</status> | ||
<textTemplates> | ||
<name>Rollups_Comma_Separated</name> | ||
<isViewedAsPlainText>false</isViewedAsPlainText> | ||
<text><p>{!rollupNames}</p></text> | ||
</textTemplates> | ||
<variables> | ||
<name>rollupNames</name> | ||
<dataType>String</dataType> | ||
<isCollection>false</isCollection> | ||
<isInput>true</isInput> | ||
<isOutput>false</isOutput> | ||
</variables> | ||
</Flow> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,8 +4,8 @@ | |
"default": true, | ||
"package": "apex-rollup-namespaced", | ||
"path": "rollup-namespaced/source/rollup", | ||
"versionName": "Fixes parentRecordIdForEmptyChildrenCollections flow case", | ||
"versionNumber": "1.1.27.0", | ||
"versionName": "Fixes Rollup Order By sorting to always be deterministic, allows text templates in Full Recalc CMDT-driven Invocable invocable", | ||
"versionNumber": "1.1.28.0", | ||
"versionDescription": "Fast, configurable, elastically scaling custom rollup solution. Apex Invocable action, one-liner Apex trigger/CMDT-driven logic, and scheduled Apex-ready.", | ||
"releaseNotesUrl": "https://github.com/jamessimone/apex-rollup/releases/latest", | ||
"unpackagedMetadata": { | ||
|
@@ -30,6 +30,7 @@ | |
"[email protected]": "04t6g000008ObbqAAC", | ||
"[email protected]": "04t6g000008Obc0AAC", | ||
"[email protected]": "04t6g000008ObeVAAS", | ||
"[email protected]": "04t6g000008OfJkAAK" | ||
"[email protected]": "04t6g000008OfJkAAK", | ||
"[email protected]": "04t6g000008OfKnAAK" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,8 +5,8 @@ | |
"package": "apex-rollup", | ||
"path": "rollup", | ||
"scopeProfiles": true, | ||
"versionName": "Fixes parentRecordIdForEmptyChildrenCollections flow case", | ||
"versionNumber": "1.6.34.0", | ||
"versionName": "Fixes Rollup Order By sorting to always be deterministic, allows text templates in Full Recalc CMDT-driven Invocable invocable", | ||
"versionNumber": "1.6.35.0", | ||
"versionDescription": "Fast, configurable, elastically scaling custom rollup solution. Apex Invocable action, one-liner Apex trigger/CMDT-driven logic, and scheduled Apex-ready.", | ||
"releaseNotesUrl": "https://github.com/jamessimone/apex-rollup/releases/latest", | ||
"unpackagedMetadata": { | ||
|
@@ -101,12 +101,10 @@ | |
"Apex Rollup - Rollup [email protected]": "04t6g000008Sis0AAC", | ||
"Nebula Logger - [email protected]": "04t5Y0000015oRNQAY", | ||
"apex-rollup": "0Ho6g000000TNcOCAW", | ||
"[email protected]": "04t6g000008ObN8AAK", | ||
"[email protected]": "04t6g000008ObNNAA0", | ||
"[email protected]": "04t6g000008ObVhAAK", | ||
"[email protected]": "04t6g000008ObblAAC", | ||
"[email protected]": "04t6g000008ObbvAAC", | ||
"[email protected]": "04t6g000008ObeQAAS", | ||
"[email protected]": "04t6g000008OfJfAAK" | ||
"[email protected]": "04t6g000008OfJfAAK", | ||
"[email protected]": "04t6g000008OfKiAAK" | ||
} | ||
} |