Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Removal of old Segmentation/Query

jae_lee
Level 3
Level 3

In our system, we have some queries/segments set up that are looking for a particular value.  

You’ll see a query looking for "Is User Valid’ @IsUserValid = 1":

This code/logic is apparently a left over from when we were using Aprimo and it is an old piece of logic that no longer applies.  If queries are set up like this, they are not picking up new contacts in the system that do not have this value set to 1.  

We are wondering if there is an easy way to either remove this field system-wide or will we need to go into each filter/segment, etc and look for this logic and remove it from where it exists?

Thank you.

1 Accepted Solution
unifica
Correct answer by
Level 1
Level 1

Hi Jae,

A script could be written to achieve this by looping through all workflows and modifying the WHERE clause within each Query object.
However, I wouldn't describe it as being an 'easy way'. You may find it quicker to perform the task manually.

Thanks,

Jordan Dolan - Adobe Campaign Consultant

View solution in original post

0 Replies
unifica
Correct answer by
Level 1
Level 1

Hi Jae,

A script could be written to achieve this by looping through all workflows and modifying the WHERE clause within each Query object.
However, I wouldn't describe it as being an 'easy way'. You may find it quicker to perform the task manually.

Thanks,

Jordan Dolan - Adobe Campaign Consultant

View solution in original post

Vapsy
Employee
Employee

Hi Jae,

You can modify the schema column and apply default constraint to be as 1 instead of 0.

every new record will get created as isValid=1

Other thing is to modify your workflow that inserts new recipients and ensure that isValid field is configured to be set to 1.

alistairk396804
Level 3
Level 3

Depending on how many workflows you currently have it may just be quicker and easier to set aside an hour or two and manually remove them.