Difference between revisions of "Template: GetMaxReleaseDate"

From Genesys Documentation
Jump to: navigation, search
 
(32 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly><!-- Finding the MAX ReleaseDate and passing that and ComponentId to formatting template -->
+
<includeonly><!-- Finding the MAX ReleaseDate and passing that and ComponentId to formatting template  
 +
 
 +
IMPORTANT: this query uses hard coded uui values -->
 
{{#cargo_query:
 
{{#cargo_query:
tables=ComponentRN,Component
+
tables=ComponentRN,
|join on=ComponentRN.ComponentId HOLDS Component.Id
+
ComponentRN__DeploymentTypeId=DepId
|fields=ComponentRN.ComponentId=ComponentId,MAX(ReleaseDate)=ReleaseDate
+
|join on=ComponentRN._ID=DepId._rowID
|where=(DeploymentTypeId NOT '577e188b-36c5-4733-86a7-e1d0d6564aff' OR DeploymentTypeId NOT '8b480b3c-2733-433a-9166-eab2c2d0663a') AND ComponentId HOLDS '{{{ComponentId|}}}' AND ReleaseDate IS NOT NULL AND ComponentRN._pageNamespace="0"
+
|fields=ComponentRN.ComponentId=ComponentId,
 +
MAX(ReleaseDate)=ReleaseDate
 +
|where=ComponentRN._pageNamespace="0"
 +
AND ComponentRN.ComponentId="{{{ComponentId|}}}"
 +
AND (DepId._value='5439f1be-1868-4091-b058-1667389b6ce1' OR DepId._value='ec194bf2-b79a-436d-8ff6-eaff94d9f43a')
 
|format=template
 
|format=template
 
|template=GetReleaseDetails
 
|template=GetReleaseDetails
 
|named args=yes
 
|named args=yes
}}</includeonly><noinclude>[[Category:RNAutomtion]]</noinclude>
+
}}
 +
</includeonly><noinclude>[[Category:RNAutomtion]][[Category:TrackConstants]][[Category:ComponentRN.ComponentId cleanup]]</noinclude>

Latest revision as of 19:45, June 17, 2022

Retrieved from "https://all.docs.genesys.com/Template:GetMaxReleaseDate (2025-06-19 14:09:12)"