Skip to content

Commit

Permalink
Merge pull request #131 from SalesforceLabs/feature/taskupdates
Browse files Browse the repository at this point in the history
Feature/taskupdates
  • Loading branch information
GeekStewie authored Oct 17, 2023
2 parents b8b3b45 + fe48ae8 commit 06a5927
Show file tree
Hide file tree
Showing 13 changed files with 650 additions and 430 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
</componentInstanceProperties>
<componentInstanceProperties>
<name>filterName</name>
<value>Task_List_Task</value>
<value>OpenTasks</value>
</componentInstanceProperties>
<componentInstanceProperties>
<name>hideActionBar</name>
Expand All @@ -73,32 +73,8 @@
<flexiPageRegions>
<itemInstances>
<componentInstance>
<componentInstanceProperties>
<name>enableInlineEdit</name>
<value>true</value>
</componentInstanceProperties>
<componentInstanceProperties>
<name>entityName</name>
<value>Task</value>
</componentInstanceProperties>
<componentInstanceProperties>
<name>filterName</name>
<value>Animal_Tasks_Task</value>
</componentInstanceProperties>
<componentInstanceProperties>
<name>hideActionBar</name>
<value>false</value>
</componentInstanceProperties>
<componentInstanceProperties>
<name>hideSearchBar</name>
<value>false</value>
</componentInstanceProperties>
<componentInstanceProperties>
<name>pageSize</name>
<value>3</value>
</componentInstanceProperties>
<componentName>flexipage:filterListCard</componentName>
<identifier>flexipage_filterListCard2</identifier>
<componentName>runtime_sales_activities:todayTaskContainer</componentName>
<identifier>runtime_sales_activities_todayTaskContainer</identifier>
</componentInstance>
</itemInstances>
<mode>Replace</mode>
Expand Down Expand Up @@ -127,12 +103,6 @@
<identifier>flexipage_reportChart</identifier>
</componentInstance>
</itemInstances>
<itemInstances>
<componentInstance>
<componentName>runtime_sales_activities:todayTaskContainer</componentName>
<identifier>runtime_sales_activities_todayTaskContainer</identifier>
</componentInstance>
</itemInstances>
<mode>Replace</mode>
<name>sidebar</name>
<type>Region</type>
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@
<name>Action_Completed</name>
<conditionLogic>or</conditionLogic>
<conditions>
<leftValueReference>$Record.%%%NAMESPACED_ORG%%%Action_Completed__c</leftValueReference>
<leftValueReference>$Record.Action_Completed__c</leftValueReference>
<operator>EqualTo</operator>
<rightValue>
<booleanValue>true</booleanValue>
</rightValue>
</conditions>
<conditions>
<leftValueReference>$Record.%%%NAMESPACED_ORG%%%Action_Status__c</leftValueReference>
<leftValueReference>$Record.Action_Status__c</leftValueReference>
<operator>EqualTo</operator>
<rightValue>
<stringValue>Given</stringValue>
Expand Down Expand Up @@ -62,19 +62,19 @@
<targetReference>Update_Created_Task</targetReference>
</connector>
<inputAssignments>
<field>%%%NAMESPACED_ORG%%%Action_Completed__c</field>
<field>Action_Completed__c</field>
<value>
<booleanValue>true</booleanValue>
</value>
</inputAssignments>
<inputAssignments>
<field>%%%NAMESPACED_ORG%%%Action_Status__c</field>
<field>Action_Status__c</field>
<value>
<stringValue>Given</stringValue>
</value>
</inputAssignments>
<inputAssignments>
<field>%%%NAMESPACED_ORG%%%Date_Time_Action_Completed__c</field>
<field>Date_Time_Action_Completed__c</field>
<value>
<elementReference>$Flow.CurrentDateTime</elementReference>
</value>
Expand Down Expand Up @@ -108,8 +108,8 @@
<connector>
<targetReference>Create_Action_Task</targetReference>
</connector>
<filterFormula>{!$Setup.%%%NAMESPACED_ORG%%%Animal_Shelter_Settings__c.%%%NAMESPACED_ORG%%%Enable_Animal_Action_Tasks__c}=TRUE</filterFormula>
<object>%%%NAMESPACED_ORG%%%Animal_Action__c</object>
<filterFormula>{!$Setup.Animal_Shelter_Settings__c.Enable_Animal_Action_Tasks__c}=TRUE</filterFormula>
<object>Animal_Action__c</object>
<recordTriggerType>Create</recordTriggerType>
<triggerType>RecordAfterSave</triggerType>
</start>
Expand All @@ -132,7 +132,7 @@
<inputAssignments>
<name>animalRecordId</name>
<value>
<elementReference>$Record.%%%NAMESPACED_ORG%%%Animal__r.Id</elementReference>
<elementReference>$Record.Animal__r.Id</elementReference>
</value>
</inputAssignments>
<inputAssignments>
Expand All @@ -141,12 +141,6 @@
<stringValue>Action</stringValue>
</value>
</inputAssignments>
<inputAssignments>
<name>taskQueueName</name>
<value>
<stringValue>Animal_Tasks</stringValue>
</value>
</inputAssignments>
<outputAssignments>
<assignToReference>createdTaskRecordId</assignToReference>
<name>createdTaskRecordId</name>
Expand Down
Loading

0 comments on commit 06a5927

Please sign in to comment.