Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix all the things #208

Open
wants to merge 3 commits into
base: metecho/2024-october-sprint
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<name>Check_Level_and_Type</name>
<label>Check Level and Type</label>
<locationX>1634</locationX>
<locationY>926</locationY>
<locationY>1034</locationY>
<defaultConnectorLabel>Default Outcome</defaultConnectorLabel>
<rules>
<name>Send_for_Renewal</name>
Expand All @@ -28,7 +28,7 @@
<name>Compare_Opportunity_and_Membership_Products</name>
<label>Compare Opportunity and Membership Products</label>
<locationX>1414</locationX>
<locationY>602</locationY>
<locationY>710</locationY>
<defaultConnectorLabel>Default Outcome</defaultConnectorLabel>
<rules>
<name>Opportunity_Product_Membership_Product_are_the_same</name>
Expand Down Expand Up @@ -66,7 +66,7 @@
<name>Determine_if_Membership_Renewal_is_an_Upgrade_or_a_Downgrade</name>
<label>Determine if Membership Renewal is an Upgrade or a Downgrade</label>
<locationX>1326</locationX>
<locationY>818</locationY>
<locationY>926</locationY>
<defaultConnector>
<targetReference>Check_Level_and_Type</targetReference>
</defaultConnector>
Expand Down Expand Up @@ -107,7 +107,7 @@
<name>Membership_Finder_Run_Check</name>
<label>Membership Finder Run Check</label>
<locationX>314</locationX>
<locationY>494</locationY>
<locationY>602</locationY>
<defaultConnectorLabel>Default Outcome</defaultConnectorLabel>
<rules>
<name>Membership_Finder_Has_Not_Run</name>
Expand All @@ -122,7 +122,7 @@
<connector>
<targetReference>Fire_Membership_Finder_Platform_Event</targetReference>
</connector>
<label>Membership Finder Has Not Run</label>
<label>NOT RUN Membership Finder Has Not Run</label>
</rules>
<rules>
<name>Membership_Finder_Has_Run</name>
Expand All @@ -144,11 +144,18 @@
<name>Membership_Next_Steps</name>
<label>Membership Next Steps</label>
<locationX>1282</locationX>
<locationY>386</locationY>
<defaultConnectorLabel>Default Outcome</defaultConnectorLabel>
<locationY>494</locationY>
<defaultConnectorLabel>Not Membership</defaultConnectorLabel>
<rules>
<name>Membership_not_populated</name>
<name>Membership_not_populated_and_Opportunity_is_Membership</name>
<conditionLogic>and</conditionLogic>
<conditions>
<leftValueReference>Get_New_Product_ID.Family</leftValueReference>
<operator>EqualTo</operator>
<rightValue>
<stringValue>Membership</stringValue>
</rightValue>
</conditions>
<conditions>
<leftValueReference>Query_for_Opportunity_Line_Item.Membership__c</leftValueReference>
<operator>IsNull</operator>
Expand All @@ -159,7 +166,7 @@
<connector>
<targetReference>Membership_Finder_Run_Check</targetReference>
</connector>
<label>Membership not populated</label>
<label>Membership not populated and Opportunity is Membership</label>
</rules>
<rules>
<name>Membership_is_populated</name>
Expand Down Expand Up @@ -207,11 +214,40 @@
</value>
</processMetadataValues>
<processType>AutoLaunchedFlow</processType>
<recordCreates>
<name>create_log</name>
<label>create log</label>
<locationX>1282</locationX>
<locationY>278</locationY>
<connector>
<targetReference>Get_New_Product_ID</targetReference>
</connector>
<inputAssignments>
<field>Error_Text__c</field>
<value>
<stringValue>query for opp line item</stringValue>
</value>
</inputAssignments>
<inputAssignments>
<field>Flow_Name__c</field>
<value>
<stringValue>BPEV Listener - Membership Transaction - V3</stringValue>
</value>
</inputAssignments>
<inputAssignments>
<field>Log_Type__c</field>
<value>
<stringValue>Error</stringValue>
</value>
</inputAssignments>
<object>Membership_Essentials_Event_Log__c</object>
<storeOutputAutomatically>true</storeOutputAutomatically>
</recordCreates>
<recordCreates>
<name>Fire_Create_Membership_Platform_Event</name>
<label>Fire Create Membership Platform Event</label>
<locationX>314</locationX>
<locationY>602</locationY>
<locationY>710</locationY>
<inputAssignments>
<field>Record_Id__c</field>
<value>
Expand All @@ -225,7 +261,7 @@
<name>Fire_Membership_Downgrade_Platform_Event1</name>
<label>Fire Membership Downgrade Platform Event</label>
<locationX>1282</locationX>
<locationY>926</locationY>
<locationY>1034</locationY>
<inputAssignments>
<field>Record_Id__c</field>
<value>
Expand All @@ -239,7 +275,7 @@
<name>Fire_Membership_Finder_Platform_Event</name>
<label>Fire Membership Finder Platform Event</label>
<locationX>50</locationX>
<locationY>602</locationY>
<locationY>710</locationY>
<inputAssignments>
<field>Record_Id__c</field>
<value>
Expand All @@ -253,7 +289,7 @@
<name>Fire_Membership_Renewal_Platform_Event</name>
<label>Fire Membership Renewal Platform Event</label>
<locationX>1414</locationX>
<locationY>1394</locationY>
<locationY>1502</locationY>
<inputAssignments>
<field>Record_Id__c</field>
<value>
Expand All @@ -267,7 +303,7 @@
<name>Fire_Membership_Upgrade_Platform_Event</name>
<label>Fire Membership Upgrade Platform Event</label>
<locationX>1018</locationX>
<locationY>926</locationY>
<locationY>1034</locationY>
<inputAssignments>
<field>Record_Id__c</field>
<value>
Expand All @@ -282,7 +318,7 @@
<name>Get_Membership_Record</name>
<label>Get Membership Record</label>
<locationX>1414</locationX>
<locationY>494</locationY>
<locationY>602</locationY>
<assignNullValuesIfNoRecordsFound>false</assignNullValuesIfNoRecordsFound>
<connector>
<targetReference>Compare_Opportunity_and_Membership_Products</targetReference>
Expand All @@ -303,7 +339,7 @@
<name>Get_New_Product_ID</name>
<label>Get New Product ID</label>
<locationX>1282</locationX>
<locationY>278</locationY>
<locationY>386</locationY>
<assignNullValuesIfNoRecordsFound>false</assignNullValuesIfNoRecordsFound>
<connector>
<targetReference>Membership_Next_Steps</targetReference>
Expand All @@ -324,7 +360,7 @@
<name>Get_Old_Product_ID</name>
<label>Get Old Product ID</label>
<locationX>1326</locationX>
<locationY>710</locationY>
<locationY>818</locationY>
<assignNullValuesIfNoRecordsFound>false</assignNullValuesIfNoRecordsFound>
<connector>
<targetReference>Determine_if_Membership_Renewal_is_an_Upgrade_or_a_Downgrade</targetReference>
Expand All @@ -349,7 +385,7 @@
<locationY>170</locationY>
<assignNullValuesIfNoRecordsFound>false</assignNullValuesIfNoRecordsFound>
<connector>
<targetReference>Get_New_Product_ID</targetReference>
<targetReference>create_log</targetReference>
</connector>
<filterLogic>and</filterLogic>
<filters>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Flow xmlns="http://soap.sforce.com/2006/04/metadata">
<apiVersion>49.0</apiVersion>
<assignments>
<name>Update_MFS_Error</name>
<label>Update MFS - Error</label>
Expand Down Expand Up @@ -195,6 +196,7 @@
<connector>
<targetReference>Create_Opportunity_Record</targetReference>
</connector>
<filterLogic>and</filterLogic>
<filters>
<field>Id</field>
<operator>EqualTo</operator>
Expand Down Expand Up @@ -222,5 +224,5 @@
<object>DPEV_Create_Opportunity__e</object>
<triggerType>PlatformEvent</triggerType>
</start>
<status>Active</status>
<status>Obsolete</status>
</Flow>
Original file line number Diff line number Diff line change
Expand Up @@ -232,5 +232,5 @@
<object>DPEV_Gift_Recipient_Finder__e</object>
<triggerType>PlatformEvent</triggerType>
</start>
<status>Draft</status>
<status>Active</status>
</Flow>
Loading