diff --git a/force-app/main/default/flows/Animal_Action_Create_Task_for_new_Actions.flow-meta.xml b/force-app/main/default/flows/Animal_Action_Create_Task_for_new_Actions.flow-meta.xml index c88b6a93..91a218a0 100644 --- a/force-app/main/default/flows/Animal_Action_Create_Task_for_new_Actions.flow-meta.xml +++ b/force-app/main/default/flows/Animal_Action_Create_Task_for_new_Actions.flow-meta.xml @@ -1,6 +1,6 @@ - 59.0 + 60.0 If the Animal Action record is created as completed, then the task is marked as completed @@ -34,6 +34,7 @@ Default Animal Action - Create Task for new Actions {!$Flow.CurrentDateTime} + true BuilderType @@ -110,7 +111,7 @@ Create_Action_Task - {!$Setup.Animal_Shelter_Settings__c.Enable_Animal_Action_Tasks__c}=TRUE + {!$Setup.animalshelters__Animal_Shelter_Settings__c.animalshelters__Enable_Animal_Action_Tasks__c}=TRUE Animal_Action__c Create RecordAfterSave diff --git a/force-app/main/default/flows/Animal_Action_Deleted_Action_Platform_Event.flow-meta.xml b/force-app/main/default/flows/Animal_Action_Deleted_Action_Platform_Event.flow-meta.xml new file mode 100644 index 00000000..aa5ebdd5 --- /dev/null +++ b/force-app/main/default/flows/Animal_Action_Deleted_Action_Platform_Event.flow-meta.xml @@ -0,0 +1,59 @@ + + + 60.0 + Creates a platform event when an action is deleted. + Default + Animal Action - Deleted Action Platform Event {!$Flow.CurrentDateTime} + true + + + BuilderType + + LightningFlowBuilder + + + + CanvasMode + + AUTO_LAYOUT_CANVAS + + + + OriginBuilderType + + LightningFlowBuilder + + + AutoLaunchedFlow + + Create_Platform_Event + + 176 + 287 + + Record_ID__c + + $Record.Animal__r.Id + + + + Update_Type__c + + AnimalAlertDelete + + + Animal_Update_Event__e + true + + + 50 + 0 + + Create_Platform_Event + + Animal_Action__c + Delete + RecordBeforeDelete + + Active + diff --git a/force-app/main/default/flows/Animal_Condition_Delete_Platform_Event.flow-meta.xml b/force-app/main/default/flows/Animal_Condition_Delete_Platform_Event.flow-meta.xml new file mode 100644 index 00000000..cc377816 --- /dev/null +++ b/force-app/main/default/flows/Animal_Condition_Delete_Platform_Event.flow-meta.xml @@ -0,0 +1,59 @@ + + + 60.0 + Creates a platform event when a condition is deleted. + Default + Animal Condition - Delete Platform Event {!$Flow.CurrentDateTime} + true + + + BuilderType + + LightningFlowBuilder + + + + CanvasMode + + AUTO_LAYOUT_CANVAS + + + + OriginBuilderType + + LightningFlowBuilder + + + AutoLaunchedFlow + + Create_Platform_event + + 176 + 287 + + Record_ID__c + + $Record.Animal__r.Id + + + + Update_Type__c + + ConditionDelete + + + Animal_Update_Event__e + true + + + 50 + 0 + + Create_Platform_event + + Condition__c + Delete + RecordBeforeDelete + + Active + diff --git a/force-app/main/default/flows/Task_Close_associated_Animal_Action.flow-meta.xml b/force-app/main/default/flows/Task_Close_associated_Animal_Action.flow-meta.xml index f50cb0e2..f231c23e 100644 --- a/force-app/main/default/flows/Task_Close_associated_Animal_Action.flow-meta.xml +++ b/force-app/main/default/flows/Task_Close_associated_Animal_Action.flow-meta.xml @@ -1,9 +1,10 @@ - 59.0 + 60.0 [Animal Shelter] - When a Task is marked as complete the associated Animal Action Record is marked as completed Default Task - Close associated Animal Action {!$Flow.CurrentDateTime} + true BuilderType @@ -105,5 +106,5 @@ CreateAndUpdate RecordAfterSave - Active + Draft