Is there any way to CLEANUP the CODE which is created by importing the BLUEPRINT. Currently, I could only find the manual deletion of instances but want to know if there are any automated steps to clear all the rules that are created with import of blueprint.
could you give some more details about what you are trying to “clean up”? The point of importing a Blueprint is to accelerate your development, as it creates working software straight away (you get a full functional Constellation application). You can choose what objects to import (case/data/persona etc.) so that gives you control, but those objects need to be fully working upon import so every rule and data instance is designed to be there.
If you start picking and choosing rules or data instances, you start getting introducing risk of creating bugs (I see this commonly on the User Experience Expert Circle for Constellation).
So would be good to understand a little more context @RojaG, on what you want to delete or refactor.
Hi @RojaG : When a blueprint is imported, the rules will be in branch. So you can delete the branch. But please note that there will be still few residual non versioned rules which you may need to delete manually.
Ideally, you wouldn’t get into this situation if you have a high fidelity Blueprint.
For a worst case situation, you can also plan for a database restoration.
I agree that a blueprint clean up process would be beneficial for letting users experiment more with them. We’ve seen issues with importing blueprints multiple times as users refine their approach.
Hello Marc, I have imported the blueprint which was created with draft requirements. So, now as the requirements are more settled, we plan to import a cleaner blueprint code and delete the once which are created during the trial process.
Hi @ArulDevan Correct, i did delete the instances manually and have deleted the branch. Also, the manual deletion is restricted for the rules within locked rulesets. These locked rulesets are created during the blue print import process and I am unable to unlock them as i am not sure on the passwords. I tried the universal password -’rules’ but that didn’t work. So i am not able to fully clear the code.
Could you please elaborate on the database restoration option or provide inputs to unlock the locked rulesets.
@RojaG are you a member of Blueprint and App Design - Pega Forums ? I would really like to move this out of the General Category and into Blueprint so others can find it in the right discussions topics.
However, if i move it, and you are not a member, then you will not be able to reply to the conversation (so want to avoid any poor UX for you). Please join and let me know, i’ll only move it after you confirm
Hi @RojaG : Password - refer to @MarcCheong reply. This should help you in this case.
Regarding the DB restoration, this works only if there is a DB backup available. if you are in PegaCloud, raise a request to validate. If you are in on-Premises, check with the DB team.
Please also note that DB restoration will remove other changes done too from the point of restoration till now.
I hope you don’t need this option with the password shared already.