Skip to content

Commit

Permalink
Limit search to ids
Browse files Browse the repository at this point in the history
  • Loading branch information
AleksandrMolchagin committed Dec 16, 2024
1 parent b1c56b4 commit 0049eff
Showing 1 changed file with 2 additions and 55 deletions.
57 changes: 2 additions & 55 deletions src/main/mule/teamseasons.xml
Original file line number Diff line number Diff line change
Expand Up @@ -365,45 +365,7 @@ output application/json
<salesforce:salesforce-query>
<![CDATA[
SELECT
Anticipated_Players_Enrollment__c,
Coach_Soccer__c,
Coach_Writing__c,
Season__r.Id,
CreatedById,
CreatedDate,
Date_Last_Session_Attended__c,
Id,
IsDeleted,
LastActivityDate,
LastModifiedById,
LastModifiedDate,
LastReferencedDate,
LastViewedDate,
Name,
Number_of_Attendance_Completed__c,
Number_of_Attendance_Incomplete__c,
Number_of_Students_Absent__c,
Number_of_Students_Present__c,
Number_of_Team_Seasons__c,
Partnership__c,
Percent_of_Attendance_Completed__c,
Percent_of_Students_Present__c,
Schedule__c,
School_Site__c,
SCORES_Program_Coordinator__r.Name,
SCORES_Program_Manager__r.Name,
Season_End_Date__c,
Season_Start_Date__c,
Season__c,
SystemModstamp,
Team__c,
Total_Number_of_Players__c,
Total_Number_of_Sessions__c,
Coach_Soccer__r.Name,
Coach_Writing__r.Name,
Team__r.Name,
Season__r.Name,
Team__r.School_Site__r.Region__c
Id
FROM
Team_Season__c
WHERE
Expand All @@ -429,22 +391,7 @@ output application/json
output application/json
---
payload map ( payload01 , indexOfPayload01 ) -> {
SeasonStartDate: payload01.Season_Start_Date__c as String default "",
TotalNoOfSessions: payload01.Total_Number_of_Sessions__c default 0,
CoachWriting: payload01.Coach_Writing__r.Name default "" as String,
Partnership: payload01.Partnership__c default "",
SeasonName: payload01.Season__r.Name default "" as String,
TotalNoOfPlayers: payload01.Total_Number_of_Players__c default 0,
TeamSeasonName: payload01.Name default "",
CoachSoccer: payload01.Coach_Soccer__r.Name,
TeamSeasonId: payload01.Id default "",
TeamName: payload01.Team__r.Name default "" as String,
SchoolSite: payload01.School_Site__c default "",
SeasonEndDate: payload01.Season_End_Date__c as String default "",
ScoresProgramManager: payload01.SCORES_Program_Manager__r.Name default "" as String,
ProgramCoordinator: payload01.SCORES_Program_Coordinator__r.Name default "" as String,
Region: payload01.Team__r.School_Site__r.Region__c,
SeasonId: payload01.Season__r.Id default "" as String
id: payload01.Id as String default ""
}]]>
</ee:set-payload>
</ee:message>
Expand Down

0 comments on commit 0049eff

Please sign in to comment.