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

Offer Eligibility dynamic query retrieval

adithyacs86
Level 5
Level 5

Hi, 

 

I have a requirement to extract the dynamic query condition that is a part of the offer eligibility criteria

adithyacs86_0-1611211020292.png

 

we can get this in the offer table. 

adithyacs86_2-1611211200178.png

 

But want to retrieve the humanCond and then query the same in the query activity. 

 

Requesting for any suggestions on how to read the dynamic entries and query the same in the query activity. 

 

Thanks,
Adithya

0 Replies
Milan_Vucetic
Community Advisor
Community Advisor

Hi @adithyacs86,

these conditions are not stored as a independent column in database. They are just a part of offer XML code stored in MDATA column (memo).

In order to see them in AC, use Query Editor, pick nms:offer table and click on the preview tab, rigth click / Configure List and add field filter/humanCond - this will list conditions in the offers to be viewed or copied. You may export one offer as a package and check definition and condition structure.

Regards,

Milan

adithyacs86
Level 5
Level 5
Hi Milan, I get that point, I have checked that part, but want to make this filter query (which is a human condition) work in the normal query activity in an automated way. Like suppose " I create a new offer with some eligibility rules and then on the other side, I have to get eligible recipients from the query activity in a different workflow through an automated way" . Thanks,