23
Views
5
Comments
Solved
Refactor

Hi Team,


I’m working on an enterprise OutSystems project where we recently refactored multiple modules — entities and logic were moved across core and supporting modules.


After completing refactoring in Service Studio, I want to make sure the architecture is correctly validated and that architecture violations are accurately reflected.

2025-09-25 14-38-22
Lokesh Kumar Yadav
Solution

Once the sync is completed:


The Architecture Dashboard will reflect the latest module structure


Old or outdated violations caused by the previous architecture should disappear


Any new violations introduced during refactoring will be shown correctly


If you are checking violations before syncing with Discovery, you may still see issues related to the old design. Therefore, always validate architecture after publishing and syncing, not immediately after refactoring in Service Studio.

UserImage.jpg
Vijay Thakur

Got it  thanks lokesh

2024-08-20 07-51-02
David Nieuwenhuizen
Champion

Hi Vijay,

You can check this in 2 ways:

- Discovery Forge component and create a new snapshot of your current architecture. 

- Otherwise you can wait for the next timer to run in AI mentor Studio. It should run every 6 hours.

Is this what you meant?

Otherwise, please explain in further detail.

KR,

David

2025-09-25 14-38-22
Lokesh Kumar Yadav

Just to better understand your scenario and give a precise answer, could you please clarify a 

After refactoring the modules in Service Studio, have you already synced the application with Discovery, or are you checking architecture violations before doing that?

UserImage.jpg
Vijay Thakur

OutSystems requires write access to the database at least once when running the Configuration Tool to complete platform setup. After the platform is successfully configured and registered, the database can then operate in read-only (replica) mode for DR purposes.

2025-09-25 14-38-22
Lokesh Kumar Yadav
Solution

Once the sync is completed:


The Architecture Dashboard will reflect the latest module structure


Old or outdated violations caused by the previous architecture should disappear


Any new violations introduced during refactoring will be shown correctly


If you are checking violations before syncing with Discovery, you may still see issues related to the old design. Therefore, always validate architecture after publishing and syncing, not immediately after refactoring in Service Studio.

UserImage.jpg
Vijay Thakur

Got it  thanks lokesh

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.