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.
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'
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.
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
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.