How is your experience with the OutSystems Community?
25
Views
7
Comments
Odc test env
Question

Hi All,

 1.Tables in dev environment are updated and deleted rows after deployment to test env,

In Dev in resources I have changes the resource and published but still it shows the old data,

I need to delete the entity and add bootstrap action again-Any workaround here with just changing the resource excel.

2.On country change,region is updating in dev ,but in test env ,this functionality not working,Ran the timer for regions and regions are populating in picklist but it is not populating based on country.

But working in DEV,

Please suggest

Regards


2024-01-31 05-29-41
Akshay Deshpande

Hello

I want to give try as 

For Issue 1:

  • Simply updating the Excel resource does not update existing entity data automatically if records already exist.
  • Ensure the Bootstrap action is executed again (or use a custom synchronization/import action). Republishing alone won't reload the data.
  • Deleting and recreating the entity is not required unless the bootstrap logic only inserts on the first execution.

Issue 2:

  • If it works in DEV but not TEST, compare the following:
    • Region and Country master data in both environments.
    • Foreign key/identifier values (IDs may differ between environments).
    • Timer execution logs and whether all required data was imported successfully.
    • Any Site Properties or environment-specific configurations.
  • If the Region picklist is populated but filtering by Country fails, it's usually a data mapping (CountryId mismatch) or environment data inconsistency, not an OutSystems platform issue.

I'd start by comparing the Country and Region records (including IDs) between DEV and TEST, as that's the most common root cause.


hope you will find it helpful

Thanks and Regards,
Akshay Deshpande

UserImage.jpg
Preeti zade

Hello,

1.changing the resource and update action to bootstrap is not removing the record,hence delete and create has to do,but in this case you have mentioned  to bootstrap again or import data, what is import?

2.there is no fk for region,those data are not from os db,so only values to be matched ,there is no env specific changes as both env point to same master data,

But the region values to be matched so in dev it is working but not in test,

Thank you


2026-01-28 16-57-48
Mihai Melencu
Champion

Hi @Preeti zade ,

Can you please provide the logic of your flow and your excel file ? Thank you.

2026-07-23 14-34-51
Nuno Reis
 
MVP

Hello.

This seems to be two topics. One is the bootstrap of data to the entities. The other is the onChange on the dropdown.

Is data being loaded?
Is onchange what doesn't work?

I think it can be because you set CountryId in the region data assuming the Id it got in Dev. In Test the ids don't match so there is no relation and regions can't be filtered by country.

UserImage.jpg
Preeti zade

Issue 1 imported and worked,but delete all records used as the earlier data it was not removing.

Issue2 on change ,

Ex country and regions  are loading if country blank as in aggregate provided condition as region.countrycode =country.cide or country.code =""

But once I select country the regions no populating ,

But in dev working


UserImage.jpg
Preeti zade

I put message well country code is passing  but regions not populating but regions ticklish populate on screen load,ran the timer as well

UserImage.jpg
Preeti zade

This issue resolved as excel column mismatch but still this issue in dev working but not deployed so deployment was the issue ,marking resolved

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