Skip to content

Commit

Permalink
Flow Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
GeekStewie committed Nov 11, 2024
1 parent 451f9dc commit 6d17628
Show file tree
Hide file tree
Showing 18 changed files with 72 additions and 73 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -744,7 +744,7 @@
<name>AutoMatchEnabledScreenDataTable</name>
<dataTypeMappings>
<typeName>T</typeName>
<typeValue>animalshelters__Adoption_Match__c</typeValue>
<typeValue>Adoption_Match__c</typeValue>
</dataTypeMappings>
<extensionName>flowruntime:datatable</extensionName>
<fieldType>ComponentInstance</fieldType>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@
<targetReference>Create_Action_Task</targetReference>
</connector>
<filterFormula>
{!$Setup.animalshelters__Animal_Shelter_Settings__c.animalshelters__Enable_Animal_Action_Tasks__c}=TRUE</filterFormula>
{!$Setup.Animal_Shelter_Settings__c.Enable_Animal_Action_Tasks__c}=TRUE</filterFormula>
<object>Animal_Action__c</object>
<recordTriggerType>Create</recordTriggerType>
<triggerType>RecordAfterSave</triggerType>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@
<stringValue>Available</stringValue>
</value>
</inputAssignments>
<object>animalshelters__Locations__c</object>
<object>Locations__c</object>
</recordUpdates>
<recordUpdates>
<description>Close Outstanding Animal Action Records</description>
Expand Down Expand Up @@ -326,4 +326,4 @@
<triggerType>RecordAfterSave</triggerType>
</start>
<status>Active</status>
</Flow>
</Flow>
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@
<stringValue>Available</stringValue>
</value>
</filters>
<object>animalshelters__Locations__c</object>
<object>Locations__c</object>
<outputReference>varLocationChildRecords</outputReference>
<queriedFields>Id</queriedFields>
</recordLookups>
Expand All @@ -166,7 +166,7 @@
<elementReference>varLocationId</elementReference>
</value>
</filters>
<object>animalshelters__Locations__c</object>
<object>Locations__c</object>
<outputReference>varLocationChildRecords</outputReference>
<queriedFields>Id</queriedFields>
</recordLookups>
Expand All @@ -189,7 +189,7 @@
<elementReference>conZero</elementReference>
</value>
</inputAssignments>
<object>animalshelters__Locations__c</object>
<object>Locations__c</object>
</recordUpdates>
<recordUpdates>
<description>Update the Available Capacity value on the current Location</description>
Expand All @@ -211,7 +211,7 @@
<elementReference>varAvailableCount</elementReference>
</value>
</inputAssignments>
<object>animalshelters__Locations__c</object>
<object>Locations__c</object>
</recordUpdates>
<recordUpdates>
<description>Update the Total Capacity value on the current Location</description>
Expand All @@ -236,7 +236,7 @@
<elementReference>varTotalCount</elementReference>
</value>
</inputAssignments>
<object>animalshelters__Locations__c</object>
<object>Locations__c</object>
</recordUpdates>
<start>
<locationX>100</locationX>
Expand All @@ -245,7 +245,7 @@
<targetReference>Get_Locations_Child_Records</targetReference>
</connector>
</start>
<status>Active</status>
<status>Obsolete</status>
<variables>
<name>varAvailableCount</name>
<dataType>Number</dataType>
Expand All @@ -260,15 +260,15 @@
<isCollection>false</isCollection>
<isInput>false</isInput>
<isOutput>false</isOutput>
<objectType>animalshelters__Locations__c</objectType>
<objectType>Locations__c</objectType>
</variables>
<variables>
<name>varLocationChildRecords</name>
<dataType>SObject</dataType>
<isCollection>true</isCollection>
<isInput>false</isInput>
<isOutput>false</isOutput>
<objectType>animalshelters__Locations__c</objectType>
<objectType>Locations__c</objectType>
</variables>
<variables>
<name>varLocationId</name>
Expand All @@ -285,4 +285,4 @@
<isOutput>false</isOutput>
<scale>0</scale>
</variables>
</Flow>
</Flow>
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@
<elementReference>Get_Unit_RecordType_Id.returnedRecordTypeId</elementReference>
</value>
</filters>
<object>animalshelters__Locations__c</object>
<object>Locations__c</object>
<outputReference>AllRecords</outputReference>
<queriedFields>Id</queriedFields>
<queriedFields>Allocation__c</queriedFields>
Expand Down Expand Up @@ -333,7 +333,7 @@
<elementReference>SelectedChoice</elementReference>
</value>
</inputAssignments>
<object>animalshelters__Locations__c</object>
<object>Locations__c</object>
</recordUpdates>
<recordUpdates>
<name>Update_Unit_Status_to_Available</name>
Expand Down Expand Up @@ -368,7 +368,7 @@
<numberValue>0.0</numberValue>
</value>
</inputAssignments>
<object>animalshelters__Locations__c</object>
<object>Locations__c</object>
</recordUpdates>
<recordUpdates>
<name>Update_Unit_Status_to_Unavailable</name>
Expand Down Expand Up @@ -525,31 +525,31 @@
<isCollection>true</isCollection>
<isInput>false</isInput>
<isOutput>false</isOutput>
<objectType>animalshelters__Locations__c</objectType>
<objectType>Locations__c</objectType>
</variables>
<variables>
<name>currentItem_Filter_for_Allocated_Records</name>
<dataType>SObject</dataType>
<isCollection>false</isCollection>
<isInput>false</isInput>
<isOutput>false</isOutput>
<objectType>animalshelters__Locations__c</objectType>
<objectType>Locations__c</objectType>
</variables>
<variables>
<name>currentItem_Filter_for_MultiAnimal_Units</name>
<dataType>SObject</dataType>
<isCollection>false</isCollection>
<isInput>false</isInput>
<isOutput>false</isOutput>
<objectType>animalshelters__Locations__c</objectType>
<objectType>Locations__c</objectType>
</variables>
<variables>
<name>recordId</name>
<dataType>SObject</dataType>
<isCollection>false</isCollection>
<isInput>true</isInput>
<isOutput>false</isOutput>
<objectType>animalshelters__Locations__c</objectType>
<objectType>Locations__c</objectType>
</variables>
<variables>
<name>SelectedChoice</name>
Expand All @@ -564,14 +564,14 @@
<isCollection>false</isCollection>
<isInput>false</isInput>
<isOutput>false</isOutput>
<objectType>animalshelters__Locations__c</objectType>
<objectType>Locations__c</objectType>
</variables>
<variables>
<name>updatedLocationRecords</name>
<dataType>SObject</dataType>
<isCollection>true</isCollection>
<isInput>false</isInput>
<isOutput>false</isOutput>
<objectType>animalshelters__Locations__c</objectType>
<objectType>Locations__c</objectType>
</variables>
</Flow>
</Flow>
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@
<description>Matched to Custom Setting</description>
<name>BreedsMigrationComplete</name>
<dataType>Boolean</dataType>
<expression>{!$Setup.animalshelters__Animal_Shelter_Settings__c.animalshelters__Breeds_Migration_Complete__c}</expression>
<expression>{!$Setup.Animal_Shelter_Settings__c.Breeds_Migration_Complete__c}</expression>
</formulas>
<interviewLabel>Animal - Breeds Migration Flow {!$Flow.CurrentDateTime}</interviewLabel>
<isTemplate>true</isTemplate>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@
</value>
</filters>
<getFirstRecordOnly>true</getFirstRecordOnly>
<object>animalshelters__Locations__c</object>
<object>Locations__c</object>
<storeOutputAutomatically>true</storeOutputAutomatically>
</recordLookups>
<recordLookups>
Expand Down Expand Up @@ -284,7 +284,7 @@
<stringValue>Unavailable</stringValue>
</value>
</inputAssignments>
<object>animalshelters__Locations__c</object>
<object>Locations__c</object>
</recordUpdates>
<recordUpdates>
<name>Update_Animal_Record</name>
Expand Down Expand Up @@ -449,4 +449,4 @@
<isOutput>false</isOutput>
<objectType>Animal__c</objectType>
</variables>
</Flow>
</Flow>
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@
<name>Queue_Configured</name>
<conditionLogic>and</conditionLogic>
<conditions>
<leftValueReference>$Setup.animalshelters__Animal_Shelter_Settings__c.animalshelters__Task_Queue_Name__c</leftValueReference>
<leftValueReference>$Setup.Animal_Shelter_Settings__c.Task_Queue_Name__c</leftValueReference>
<operator>IsNull</operator>
<rightValue>
<booleanValue>false</booleanValue>
Expand Down Expand Up @@ -427,7 +427,7 @@
<field>DeveloperName</field>
<operator>EqualTo</operator>
<value>
<elementReference>$Setup.animalshelters__Animal_Shelter_Settings__c.animalshelters__Task_Queue_Name__c</elementReference>
<elementReference>$Setup.Animal_Shelter_Settings__c.Task_Queue_Name__c</elementReference>
</value>
</filters>
<filters>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@
<numberValue>0.0</numberValue>
</value>
</filters>
<object>animalshelters__Locations__c</object>
<object>Locations__c</object>
<outputAssignments>
<assignToReference>LocationId</assignToReference>
<field>Id</field>
Expand All @@ -436,7 +436,7 @@
<numberValue>0.0</numberValue>
</value>
</filters>
<object>animalshelters__Locations__c</object>
<object>Locations__c</object>
<outputAssignments>
<assignToReference>LocationId</assignToReference>
<field>Id</field>
Expand All @@ -463,7 +463,7 @@
<numberValue>0.0</numberValue>
</value>
</filters>
<object>animalshelters__Locations__c</object>
<object>Locations__c</object>
<outputAssignments>
<assignToReference>LocationId</assignToReference>
<field>Id</field>
Expand Down Expand Up @@ -497,7 +497,7 @@
<stringValue>Unavailable</stringValue>
</value>
</filters>
<object>animalshelters__Locations__c</object>
<object>Locations__c</object>
<outputAssignments>
<assignToReference>LocationId</assignToReference>
<field>Id</field>
Expand Down Expand Up @@ -649,7 +649,7 @@
<stringValue>Available</stringValue>
</value>
</inputAssignments>
<object>animalshelters__Locations__c</object>
<object>Locations__c</object>
</recordUpdates>
<screens>
<name>Animal_Has_Existing_Location_Screen</name>
Expand Down Expand Up @@ -1156,4 +1156,4 @@
<isOutput>false</isOutput>
<objectType>Movement__c</objectType>
</variables>
</Flow>
</Flow>
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@
<name>Yes</name>
<conditionLogic>and</conditionLogic>
<conditions>
<leftValueReference>$Setup.animalshelters__Animal_Shelter_Settings__c.animalshelters__Enable_Movement_Tasks__c</leftValueReference>
<leftValueReference>$Setup.Animal_Shelter_Settings__c.Enable_Movement_Tasks__c</leftValueReference>
<operator>EqualTo</operator>
<rightValue>
<booleanValue>true</booleanValue>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
<elementReference>recordId</elementReference>
</value>
</filters>
<object>animalshelters__Locations__c</object>
<object>Locations__c</object>
<outputReference>locationRecord</outputReference>
<queriedFields>Id</queriedFields>
</recordLookups>
Expand Down Expand Up @@ -179,7 +179,7 @@
<isCollection>false</isCollection>
<isInput>false</isInput>
<isOutput>false</isOutput>
<objectType>animalshelters__Locations__c</objectType>
<objectType>Locations__c</objectType>
</variables>
<variables>
<name>newAssessmentDate</name>
Expand All @@ -195,4 +195,4 @@
<isInput>true</isInput>
<isOutput>false</isOutput>
</variables>
</Flow>
</Flow>
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@
</value>
</filters>
<getFirstRecordOnly>true</getFirstRecordOnly>
<object>animalshelters__Locations__c</object>
<object>Locations__c</object>
<storeOutputAutomatically>true</storeOutputAutomatically>
</recordLookups>
<recordLookups>
Expand All @@ -353,7 +353,7 @@
</value>
</filters>
<getFirstRecordOnly>false</getFirstRecordOnly>
<object>animalshelters__Locations__c</object>
<object>Locations__c</object>
<storeOutputAutomatically>true</storeOutputAutomatically>
</recordLookups>
<recordLookups>
Expand Down Expand Up @@ -381,7 +381,7 @@
</value>
</filters>
<getFirstRecordOnly>false</getFirstRecordOnly>
<object>animalshelters__Locations__c</object>
<object>Locations__c</object>
<storeOutputAutomatically>true</storeOutputAutomatically>
</recordLookups>
<recordUpdates>
Expand Down Expand Up @@ -432,11 +432,11 @@
<filterFormula>{!$Record.RecordType.Name}=&apos;Unit&apos; ||
{!$Record.RecordType.Name}=&apos;Foster&apos; ||
{!$Record.RecordType.Name}=&apos;Organisation&apos;</filterFormula>
<object>animalshelters__Locations__c</object>
<object>Locations__c</object>
<recordTriggerType>CreateAndUpdate</recordTriggerType>
<triggerType>RecordAfterSave</triggerType>
</start>
<status>Active</status>
<status>Obsolete</status>
<variables>
<name>parentBlockUnavailable</name>
<dataType>Boolean</dataType>
Expand Down Expand Up @@ -474,4 +474,4 @@
<isOutput>false</isOutput>
<scale>0</scale>
</variables>
</Flow>
</Flow>
Loading

0 comments on commit 6d17628

Please sign in to comment.