-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #823 from bcgov/PRD-SP9
Prd sp9
- Loading branch information
Showing
316 changed files
with
21,144 additions
and
1,381 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
162 changes: 162 additions & 0 deletions
162
Archive/Flows/GenerateRenewalsForAccounts.flow-meta.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,162 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Flow xmlns="http://soap.sforce.com/2006/04/metadata"> | ||
<actionCalls> | ||
<description>ALR-36</description> | ||
<name>getRenewalAccCount</name> | ||
<label>getRenewalAccCount</label> | ||
<locationX>836</locationX> | ||
<locationY>352</locationY> | ||
<actionName>RenewalManagementController</actionName> | ||
<actionType>apex</actionType> | ||
<connector> | ||
<targetReference>renewalScreen1</targetReference> | ||
</connector> | ||
<flowTransactionModel>Automatic</flowTransactionModel> | ||
<nameSegment>RenewalManagementController</nameSegment> | ||
<outputParameters> | ||
<assignToReference>renewalAccCount</assignToReference> | ||
<name>output</name> | ||
</outputParameters> | ||
<versionSegment>1</versionSegment> | ||
</actionCalls> | ||
<actionCalls> | ||
<description>ALR-36</description> | ||
<name>RenewalManagementControllerBatch</name> | ||
<label>RenewalManagementControllerBatch</label> | ||
<locationX>671</locationX> | ||
<locationY>434</locationY> | ||
<actionName>RenewalManagementControllerBatch</actionName> | ||
<actionType>apex</actionType> | ||
<flowTransactionModel>Automatic</flowTransactionModel> | ||
<inputParameters> | ||
<name>ConId</name> | ||
<value> | ||
<elementReference>ids</elementReference> | ||
</value> | ||
</inputParameters> | ||
<nameSegment>RenewalManagementControllerBatch</nameSegment> | ||
<versionSegment>1</versionSegment> | ||
</actionCalls> | ||
<apiVersion>59.0</apiVersion> | ||
<decisions> | ||
<description>ALR-36</description> | ||
<name>ALRAdminUserCheck</name> | ||
<label>ALRAdminUserCheck</label> | ||
<locationX>840</locationX> | ||
<locationY>180</locationY> | ||
<defaultConnector> | ||
<targetReference>getRenewalAccCount</targetReference> | ||
</defaultConnector> | ||
<defaultConnectorLabel>Default Outcome</defaultConnectorLabel> | ||
<rules> | ||
<name>ALRAdminCheck</name> | ||
<conditionLogic>and</conditionLogic> | ||
<conditions> | ||
<leftValueReference>$Permission.EHISAdminUser</leftValueReference> | ||
<operator>NotEqualTo</operator> | ||
<rightValue> | ||
<booleanValue>true</booleanValue> | ||
</rightValue> | ||
</conditions> | ||
<connector> | ||
<targetReference>ErrorMessage</targetReference> | ||
</connector> | ||
<label>ALRAdminCheck</label> | ||
</rules> | ||
</decisions> | ||
<description>Screen Flow with a button which on click runs RenewalManagementControllerBatch - ALR-36</description> | ||
<environments>Default</environments> | ||
<formulas> | ||
<description>ALR-36</description> | ||
<name>renewalYearText</name> | ||
<dataType>String</dataType> | ||
<expression>Text(YEAR(today()))</expression> | ||
</formulas> | ||
<interviewLabel>Generate Renewals {!$Flow.CurrentDateTime}</interviewLabel> | ||
<label>Generate Renewals for Accounts</label> | ||
<processMetadataValues> | ||
<name>BuilderType</name> | ||
<value> | ||
<stringValue>LightningFlowBuilder</stringValue> | ||
</value> | ||
</processMetadataValues> | ||
<processMetadataValues> | ||
<name>CanvasMode</name> | ||
<value> | ||
<stringValue>FREE_FORM_CANVAS</stringValue> | ||
</value> | ||
</processMetadataValues> | ||
<processMetadataValues> | ||
<name>OriginBuilderType</name> | ||
<value> | ||
<stringValue>LightningFlowBuilder</stringValue> | ||
</value> | ||
</processMetadataValues> | ||
<processType>Flow</processType> | ||
<screens> | ||
<description>Other than ALR Admin User, this error message will show.</description> | ||
<name>ErrorMessage</name> | ||
<label>ErrorMessage</label> | ||
<locationX>1056</locationX> | ||
<locationY>219</locationY> | ||
<allowBack>false</allowBack> | ||
<allowFinish>true</allowFinish> | ||
<allowPause>false</allowPause> | ||
<fields> | ||
<name>DisplayErrorMessage</name> | ||
<fieldText><p style="text-align: center;"><strong style="color: rgb(228, 13, 13);">Only ALR Admin can initiate the renewal process</strong></p></fieldText> | ||
<fieldType>DisplayText</fieldType> | ||
</fields> | ||
<showFooter>true</showFooter> | ||
<showHeader>false</showHeader> | ||
</screens> | ||
<screens> | ||
<description>ALR-36</description> | ||
<name>renewalScreen1</name> | ||
<label>renewalScreen1</label> | ||
<locationX>669</locationX> | ||
<locationY>290</locationY> | ||
<allowBack>true</allowBack> | ||
<allowFinish>true</allowFinish> | ||
<allowPause>true</allowPause> | ||
<connector> | ||
<targetReference>RenewalManagementControllerBatch</targetReference> | ||
</connector> | ||
<fields> | ||
<name>renewalHeader</name> | ||
<fieldText><p><strong style="color: rgb(3, 45, 96); background-color: rgb(255, 255, 255); font-size: 14px;">Renewal Process: </strong><strong style="color: rgb(3, 45, 96); background-color: rgb(255, 255, 255); font-size: 16px;">{!renewalYearText}</strong></p></fieldText> | ||
<fieldType>DisplayText</fieldType> | ||
</fields> | ||
<fields> | ||
<name>renewalInfo</name> | ||
<fieldText><p><span style="font-size: 16px; color: rgb(3, 45, 96);">Renewal Year: </span><strong style="font-size: 16px; color: rgb(3, 45, 96);">{!renewalYearText}</strong></p><p><span style="font-size: 16px; color: rgb(3, 45, 96);">Active Residences: </span><strong style="font-size: 16px; color: rgb(3, 45, 96); background-color: rgb(255, 255, 255);">{!renewalAccCount}</strong></p><p><br></p><p><span style="background-color: rgb(255, 255, 255); font-size: 16px; color: rgb(3, 45, 96);">Renewals will be generated for all residences with a status of "Registered Active", "Registered Active with Conditions", "Registered Active Progressive Enforcement" without a renewal in progress.</span></p></fieldText> | ||
<fieldType>DisplayText</fieldType> | ||
</fields> | ||
<nextOrFinishButtonLabel>Generate Renewals</nextOrFinishButtonLabel> | ||
<showFooter>true</showFooter> | ||
<showHeader>false</showHeader> | ||
</screens> | ||
<start> | ||
<locationX>543</locationX> | ||
<locationY>48</locationY> | ||
<connector> | ||
<targetReference>ALRAdminUserCheck</targetReference> | ||
</connector> | ||
</start> | ||
<status>Draft</status> | ||
<variables> | ||
<name>ids</name> | ||
<dataType>String</dataType> | ||
<isCollection>true</isCollection> | ||
<isInput>true</isInput> | ||
<isOutput>true</isOutput> | ||
</variables> | ||
<variables> | ||
<description>ALR-36</description> | ||
<name>renewalAccCount</name> | ||
<dataType>String</dataType> | ||
<isCollection>false</isCollection> | ||
<isInput>false</isInput> | ||
<isOutput>true</isOutput> | ||
</variables> | ||
</Flow> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.