コミュニティアチーブメントバーを展開する。

Join Adobe Journey Optimizer product experts for a live Ask Me Anything on October 15th at 8 AM PT about Expanding Your Mobile Reach with RCS & WhatsApp in AJO!
解決済み

Data type mismatch in condition with @readAudience enrichment reference

Avatar

Level 5

Hi,

 

I created an audience with enrichment data. One field is type "string", the other field is "integer".

 

When I create a condition rule on the string field, AJO correctly validates the syntax and the flow.

 

However, when I create a condition rule on the integer, with a typecast, the condition validates, but the flow complaints about a type mismatch error:
Condition on integer field (validates):

(toInteger(@readAudience{ProfileFieldGroup.nr_travels})) >= 6

Flow error:

stefanm38281801_0-1710943857902.png

 

Anyone any idea on what's wrong?
FYI, the condition must be integer comparison, I can't use string (lexicographic) here.

1 受け入れられたソリューション

Avatar

正解者
Level 5

Hi,

 

thanks, just tried it; the syntax that does work is

 

#{ExperiencePlatform.ProfileFieldGroup.profile._tenant.audienceEnrichment.entry('AO').audienceEnrichmentChildMap.entry('<audienceId>').nr_travels}>= 6

no 'tenant' part before the nr_travels.

 

the <audienceId> being the UUID of the audience.

 

Stefan 

元の投稿で解決策を見る

3 返信

Avatar

Employee Advisor

Can you try it on the following lines and see if that works ?

 

#{ExperiencePlatform.ProfileFieldGroup.profile._tenant.audienceEnrichment.entry('AO').audienceEnrichmentChildMap.entry('<audienceId>').tenant_nr_travels}>= 6

 

Avatar

正解者
Level 5

Hi,

 

thanks, just tried it; the syntax that does work is

 

#{ExperiencePlatform.ProfileFieldGroup.profile._tenant.audienceEnrichment.entry('AO').audienceEnrichmentChildMap.entry('<audienceId>').nr_travels}>= 6

no 'tenant' part before the nr_travels.

 

the <audienceId> being the UUID of the audience.

 

Stefan 

Avatar

Employee

What is the ('AO') for in the following? 

#{ExperiencePlatform.ProfileFieldGroup.profile._tenant.audienceEnrichment.entry('AO').audienceEnrichmentChildMap.entry('<audienceId>').tenant_nr_travels}>= 6