Skip to content

Commit

Permalink
Merge pull request #823 from bcgov/PRD-SP9
Browse files Browse the repository at this point in the history
Prd sp9
  • Loading branch information
Janani-26 authored May 31, 2024
2 parents 77d2cdb + 0464010 commit e1688c6
Show file tree
Hide file tree
Showing 316 changed files with 21,144 additions and 1,381 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/PR_Code_Deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,13 @@ on:
paths:
- 'src/main/default/**'
- 'src-access-mgmt/main/default/**'
- 'src-ui/main/default/**'
- 'src-ui/main/default/**'
- 'ehis-source/app-contactonboardinglifecycle/main/default/**'
- 'ehis-source/app-datasecurity/main/default/**'
- 'ehis-source/app-onboardinglifecycle/main/default/**'
- 'ehis-source/app-programworkareaassignment/main/default/**'
- 'ehis-source/app-segmentationterritories/main/default/**'
- 'ehis-source/core/main/default/**'
- '.github/workflows/PR_Code_Deployment.yml'
- '!sfdx-project.json'

Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/PR_Code_Deployment_Hotfix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,13 @@ on:
paths:
- 'src/main/default/**'
- 'src-access-mgmt/main/default/**'
- 'src-ui/main/default/**'
- 'src-ui/main/default/**'
- 'ehis-source/app-contactonboardinglifecycle/main/default/**'
- 'ehis-source/app-datasecurity/main/default/**'
- 'ehis-source/app-onboardinglifecycle/main/default/**'
- 'ehis-source/app-programworkareaassignment/main/default/**'
- 'ehis-source/app-segmentationterritories/main/default/**'
- 'ehis-source/core/main/default/**'
- '.github/workflows/PR_Code_Deployment_Hotfix.yml'
- '!sfdx-project.json'

Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/PR_Code_Validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,13 @@ on:
paths:
- 'src/main/default/**'
- 'src-access-mgmt/main/default/**'
- 'src-ui/main/default/**'
- 'src-ui/main/default/**'
- 'ehis-source/app-contactonboardinglifecycle/main/default/**'
- 'ehis-source/app-datasecurity/main/default/**'
- 'ehis-source/app-onboardinglifecycle/main/default/**'
- 'ehis-source/app-programworkareaassignment/main/default/**'
- 'ehis-source/app-segmentationterritories/main/default/**'
- 'ehis-source/core/main/default/**'
- '.github/workflows/PR_Code_Validation.yml'
- '!sfdx-project.json'
jobs:
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/PR_Code_Validation_Hotfix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,13 @@ on:
paths:
- 'src/main/default/**'
- 'src-access-mgmt/main/default/**'
- 'src-ui/main/default/**'
- 'src-ui/main/default/**'
- 'ehis-source/app-contactonboardinglifecycle/main/default/**'
- 'ehis-source/app-datasecurity/main/default/**'
- 'ehis-source/app-onboardinglifecycle/main/default/**'
- 'ehis-source/app-programworkareaassignment/main/default/**'
- 'ehis-source/app-segmentationterritories/main/default/**'
- 'ehis-source/core/main/default/**'
- '.github/workflows/PR_Code_Validation_Hotfix.yml'
- '!sfdx-project.json'
jobs:
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@
<recordTriggerType>Create</recordTriggerType>
<triggerType>RecordAfterSave</triggerType>
</start>
<status>Obsolete</status>
<status>Draft</status>
<variables>
<name>ListAssetRecordsToUpdate</name>
<dataType>SObject</dataType>
Expand Down
162 changes: 162 additions & 0 deletions Archive/Flows/GenerateRenewalsForAccounts.flow-meta.xml
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>&lt;p style=&quot;text-align: center;&quot;&gt;&lt;strong style=&quot;color: rgb(228, 13, 13);&quot;&gt;Only ALR Admin can initiate the renewal process&lt;/strong&gt;&lt;/p&gt;</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>&lt;p&gt;&lt;strong style=&quot;color: rgb(3, 45, 96); background-color: rgb(255, 255, 255); font-size: 14px;&quot;&gt;Renewal Process: &lt;/strong&gt;&lt;strong style=&quot;color: rgb(3, 45, 96); background-color: rgb(255, 255, 255); font-size: 16px;&quot;&gt;{!renewalYearText}&lt;/strong&gt;&lt;/p&gt;</fieldText>
<fieldType>DisplayText</fieldType>
</fields>
<fields>
<name>renewalInfo</name>
<fieldText>&lt;p&gt;&lt;span style=&quot;font-size: 16px; color: rgb(3, 45, 96);&quot;&gt;Renewal Year: &lt;/span&gt;&lt;strong style=&quot;font-size: 16px; color: rgb(3, 45, 96);&quot;&gt;{!renewalYearText}&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px; color: rgb(3, 45, 96);&quot;&gt;Active Residences: &lt;/span&gt;&lt;strong style=&quot;font-size: 16px; color: rgb(3, 45, 96); background-color: rgb(255, 255, 255);&quot;&gt;{!renewalAccCount}&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: rgb(255, 255, 255); font-size: 16px; color: rgb(3, 45, 96);&quot;&gt;Renewals will be generated for all residences with a status of &quot;Registered Active&quot;, &quot;Registered Active with Conditions&quot;, &quot;Registered Active Progressive Enforcement&quot; without a renewal in progress.&lt;/span&gt;&lt;/p&gt;</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>
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@
<recordTriggerType>Create</recordTriggerType>
<triggerType>RecordAfterSave</triggerType>
</start>
<status>Obsolete</status>
<status>Draft</status>
<variables>
<name>AmountValue</name>
<dataType>String</dataType>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
<recordTriggerType>Create</recordTriggerType>
<triggerType>RecordAfterSave</triggerType>
</start>
<status>Obsolete</status>
<status>Draft</status>
<variables>
<name>PicklistValue</name>
<dataType>String</dataType>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@
<recordTriggerType>CreateAndUpdate</recordTriggerType>
<triggerType>RecordAfterSave</triggerType>
</start>
<status>Obsolete</status>
<status>Draft</status>
<variables>
<name>AssignCDLValues</name>
<dataType>SObject</dataType>
Expand Down
File renamed without changes.
Loading

0 comments on commit e1688c6

Please sign in to comment.