I have two parent groups - Control and Offer and within them we will define multiple segments, say for example - Seg_A, Seg_B etc. When I get the final output I want something like this - Control.Seg_A, Offer.Seg_A etc.
When I check the option
in the Split activity I get the following error - XTK-170036 Unable to parse expression '[targetData/@segmentCode]+'Seg_A''
Is there a way to make this work or any workaround that can be used. I want to avoid manually entering the extended code every time.
Solved! Go to Solution.
Views
Replies
Total Likes
Hello @sauravp
In the second split activity (where you see the error) > General tab please update the Filtering settings to Use the additional data only
Hope this helps!
Have you double checked the usage of quotes? Sometimes you have to go into the expression editor to check them. The visual is sometimes odd. The error you have looks like your quotes are in the wrong place.
I believe you want something like this.
'[targetData/@segmentCode]' + 'Seg_A'
Views
Replies
Total Likes
The expression is being generated within the activity.
The error is because it is looking for targetData/@segmentCode, whereas the segmentCode from the previous activity is accessible directly as @segmentCode.
Views
Replies
Total Likes
Can you add a screen shot of the activity with the targeting?
Views
Replies
Total Likes
This is a sample of how it will be in the workflows. First segment would be control or offer and then further segments will be created on those. Finally the segment which is stored in broadLog should look like - Control.Seg_A or Offer.Seg_B
Views
Replies
Total Likes
Hi @sauravp,
Were you able to resolve this query or do you still need more help here? Do let us know.
Thanks!
Views
Replies
Total Likes
Hi @Sukrity_Wadhwa ,
The issue is not resolved. We are manually setting the concatenated segment codes for now.
This looks like a bug in the activity code, which is preventing me from using it as intended.
Thanks for the update! I will escalate it further among SMEs and see if they can help you further.
Hello @sauravp
In the second split activity (where you see the error) > General tab please update the Filtering settings to Use the additional data only
Hope this helps!
Hi @sauravp,
Was this solution helpful to resolve your query? Do let us know.
Thanks!
Views
Replies
Total Likes