Question
Cognizant
IN
Last activity: 13 Jun 2024 2:31 EDT
if we circumstance on a property say customer id and it went to production now a change came like we want to circumstance based on timezone how to handle this
if we circumstance on a property say customer id and it went to production now a change came like we want to circumstance based on timezone how to handle this
***Edited by Moderator Rupashree S. to add Capability tags***
-
Reply
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Updated: 12 Jun 2024 3:45 EDT
Pegasystems Inc.
CA
For example:
Section rule is saved in 01-01-35 (initial Production deployment)
01-01-36 RSV (includes 2 rules) - you can package 01-01-36 RSV in your product file to push this change to a higher environment
1. The withdrawn rule is based on the previous circumstance version.
2. new rule based on the update to the circumstance rule with your current business requirement.
Updated: 4 Jun 2024 9:59 EDT
Pegasystems Inc.
CA
You can withdraw the old circumstance rule based on the customer ID. You can create a new circumstance rule based on the timezone based on your requirements
Cognizant
IN
@RameshSangili then in order to deploy it to the production what changes i need to include in the product rule.As the base property will be same just changing the circumstance condition.
Accepted Solution
Updated: 12 Jun 2024 3:45 EDT
Pegasystems Inc.
CA
For example:
Section rule is saved in 01-01-35 (initial Production deployment)
01-01-36 RSV (includes 2 rules) - you can package 01-01-36 RSV in your product file to push this change to a higher environment
1. The withdrawn rule is based on the previous circumstance version.
2. new rule based on the update to the circumstance rule with your current business requirement.
Pegasystems Inc.
IN
@TanyaS58 - Modify the circumstance rule condition in lower environment and deploy the rule to the production.
Thank you.
Cognizant
IN
@Priyanka Boga how to do so?
LTIMindtree
AU
Modify the circumstance rule condition in lower environment and deploy the rule to the production.
Eclatprime Digital Private Limited
AU
Hi @TanyaS58,
Handling a change in the circumstance from a property like customer id
to timezone
in Pega, especially when it's already in production, requires a careful approach to ensure smooth transitions and maintain system integrity. Here’s a step-by-step guide on how to handle this:
Step 1: Understand Existing Circumstances
Before making any changes, review the existing circumstances based on customer id
to understand how they are implemented and used throughout the application.
Step 2: Plan the Transition
Planning the transition involves determining how the new circumstances based on timezone
will be integrated and how to phase out the old circumstances based on customer id
.
Step 3: Create New Circumstance Definitions
Create new circumstance definitions based on the timezone
property.
-
Identify the Rules to Circumstance:
- Determine which rules need to be circumstanced based on
timezone
.
- Determine which rules need to be circumstanced based on
-
Create Circumstanced Versions:
Hi @TanyaS58,
Handling a change in the circumstance from a property like customer id
to timezone
in Pega, especially when it's already in production, requires a careful approach to ensure smooth transitions and maintain system integrity. Here’s a step-by-step guide on how to handle this:
Step 1: Understand Existing Circumstances
Before making any changes, review the existing circumstances based on customer id
to understand how they are implemented and used throughout the application.
Step 2: Plan the Transition
Planning the transition involves determining how the new circumstances based on timezone
will be integrated and how to phase out the old circumstances based on customer id
.
Step 3: Create New Circumstance Definitions
Create new circumstance definitions based on the timezone
property.
-
Identify the Rules to Circumstance:
- Determine which rules need to be circumstanced based on
timezone
.
- Determine which rules need to be circumstanced based on
-
Create Circumstanced Versions:
- For each rule, create a new circumstanced version based on
timezone
.
- For each rule, create a new circumstanced version based on
Example:
- Rule to Circumstance:
YourRule
- Base Rule:
YourRule
- Circumstance Property:
Timezone
Steps:
- Open the Rule: Open
YourRule
. - Create Circumstance: In the rule form, select
Actions
>Circumstance
>Template
. - Define Template: Create a new circumstance template with
Timezone
as the circumstance property. - Save Circumstanced Rule: Save the rule with the new circumstance template.
Step 4: Update Case Types and Workflows
Update the case types and workflows to ensure they utilize the new circumstances based on timezone
.
- Review Case Types: Identify where the old
customer id
circumstances were used. - Update References: Update these references to use the new
timezone
circumstances.
Step 5: Migrate Data and Cases
If there are existing cases that depend on the old circumstances, plan a migration strategy.
- Identify Affected Cases: Identify cases that are currently using the old
customer id
circumstances. - Data Migration: Write scripts or use Pega utilities to update these cases to the new circumstances based on
timezone
.
Step 6: Testing
Thoroughly test the changes in a development or staging environment before deploying to production.
- Unit Testing: Test individual rules to ensure they behave correctly with the new circumstances.
- Integration Testing: Test the entire process flow to ensure there are no breaks.
- User Acceptance Testing (UAT): Have end-users test the application to ensure it meets business requirements.
Step 7: Deployment to Production
Deploy the changes to production following your organization's deployment process.
- Schedule Downtime (if necessary): Schedule a maintenance window if the changes require downtime.
- Deploy Changes: Deploy the new rules and circumstances to production.
- Monitor Post-Deployment: Monitor the system post-deployment to ensure everything is functioning correctly.
Step 8: Communicate Changes
Communicate the changes to all relevant stakeholders, including any changes to how the system should be used or understood.
Example Scenario
Before:
- Circumstance Property:
customer id
- Circumstance Rule:
YourRule_custID
After:
- Circumstance Property:
timezone
- Circumstance Rule:
YourRule_timezone
Steps:
- Identify Rules:
YourRule
circumstanced bycustomer id
. - Create New Circumstanced Rules:
- Open
YourRule
. - Create a new circumstance based on
timezone
.
- Open
- Update Workflow:
- Ensure all references to
YourRule_custID
are updated toYourRule_timezone
.
- Ensure all references to
- Migrate Data:
- Update existing cases from
customer id
circumstances totimezone
.
- Update existing cases from
- Test:
- Perform unit, integration, and UAT testing.
- Deploy:
- Deploy changes to production.
- Monitor:
- Monitor system performance and behavior post-deployment.
Summary
By carefully planning and executing these steps, you can transition from circumstances based on customer id
to those based on timezone
smoothly, ensuring minimal disruption and maintaining the integrity of your Pega application.
Cognizant
IN
@Koti Raja how to migrate data?this i didnt get
Eclatprime Digital Private Limited
AU
Hi @TanyaS58
Please do the following :
"You can create one activity to transfer the data from the old circumstanced property to the new circumstanced property.
Alternatively, you can save the base rule to a higher version and apply circumstance to the rule with the timezone. Afterward, the cases will execute the circumstanced rule based on the timezone rather than the customer ID."
Cognizant
IN
@Koti Raja so if base rule is saved to a higher version the older version will not be picked of this base version?
Eclatprime Digital Private Limited
AU
Hi @TanyaS58,
Yes, In runtime it execute the higher version rather than lower version. so you can modify the changes in higher version and saved it.