Pattern Field Property in AEP Schema | Community
Skip to main content
SahuSa1
Level 3
March 20, 2026
Question

Pattern Field Property in AEP Schema

  • March 20, 2026
  • 1 reply
  • 25 views

Hi Adobe Community, Greetings!

 

Until early Feb or Feb end, I was able to see the pattern field property available for string fields in AEP and could freely test the regex pattern to filter out records which were invalid. For the use case, we wanted to filter out invalid Identity values and we could do the testing.

 

But until recently, Adobe has pushed an update it seems where the pattern field property is only available if dataset is not created from the schema. So to test the regex pattern you need to create schema → add pattern → create dataset → Ingest data to test if regex pattern is working or not.

 

Incase the pattern fails, then you need to delete the dataset → update regex pattern in the schema → create dataset → ingest data → and test again. 

 

So, I feel this is not very developer friendly. When I inquired this with adobe support, I got to know the reason why this change was made is, now Pattern is considered as a breaking change. I feel its not, as we can control the error threshold so that the whole batch does not fail even when multiple rows are rejected. 

 

What does the community think on this? Is Pattern really a breaking change?

 

Thanks,

Sambit

1 reply

AmitVishwakarma
Community Advisor
Community Advisor
March 21, 2026

Hi ​@SahuSa1 

Your observation is right: pattern is now treated as a breaking‑change constraint in AEP once a schema has any dataset attached. Why pattern is considered breaking

Changing a pattern after you've already ingested data can make previously valid values invalid, and can break downstream services that depend on the old contract, so the UI now blocks editing it once a dataset exists. That's why you only see the pattern field fully editable before the dataset is created.

Practical workaround for testing regex

Use a throwaway test schema in a dev sandbox:

  • Create schema > add string field + pattern.
  • Create dataset > ingest sample data.
  • If the regex is wrong, delete dataset + schema and recreate.
  • Or validate identities upstream (source system or ETL/Data Prep), and only put the final, stable regex into AEP when you're confident.

So: from AEP's point of view, yes, changing pattern on an existing schema with datasets is a breaking change and is intentionally blocked. Use separate test schemas or upstream validation for regex experimentation.

 

Amit Vishwakarma - Adobe Commerce Champion 2025 | 16x Adobe certified | 4x Adobe SME
SahuSa1
SahuSa1Author
Level 3
March 24, 2026

Thanks for your reply ​@AmitVishwakarma . I personally do think that this is not a developer friendly update and I think considering pattern as breaking change might be based on the fact that multiple schemas might be using the same field and it could affect them when changes made to one. 

 

I wish there was a different approach for this, for example if this feature could be updated n number of times until the schema is enabled for profile. And once enabled, only then it would behave as per the new update. 

 

Between, can we not just delete the dataset every time a regex did not work while testing and then the existing schema would allow to update the regex pattern? I mean, recreating schema again and again to validate a regex pattern doesn’t seem to be a developer friendly approach and would consume more time.

 

Thanks,

Sambit