how to append a string to an attribute using enrichment activity | Community
Skip to main content
Level 4
February 21, 2024
Solved

how to append a string to an attribute using enrichment activity

  • February 21, 2024
  • 2 replies
  • 1106 views
 
 

@AndreaBriceno

@ParthaSarathy

@ParthaSarathy 

@ParthaS 

@AkshayAnand 

@Craig_Thonis 

@Manoj_Kumar_ 

@Amine_Abedour 

@Marcel_Szimonisz

@DavidKangni 

@Amit_Kumar 

@ShashankNigam02

@Ganesh5067

@Jonathon_wodnicki

 

@ParthaSarathy

@ParthaSarathy 

@ParthaS 

@AkshayAnand 

@Craig_Thonis 

@Manoj_Kumar_ 

@Amine_Abedour 

@Marcel_Szimonisz

@DavidKangni 

@Amit_Kumar 

@ShashankNigam02

@Ganesh5067

@Jonathon_wodnicki

 

Hi All

Please help

 

how to append a string to an attribute using enrichment activity

my ask is from query activity we are receiving value of 'slip number' as

123,

446,

457like that

i want to add a new attribute via enrichment activity--name of new attribute is 'custom slip number' and value should be equal to

slipn_123,

slipn_446,

slipn_457

 

please help how can i do this

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Josh-W

Hi DishaSharma

 

In an enrichment activity you select the Add Data option

 

Then Data linked to the filtering dimension

 

Then Data of the filtering dimension

 

From the next screen you can select Add and create an expression like this

 

 

 

 

 

2 replies

Manoj_Kumar
Community Advisor
Community Advisor
February 21, 2024

Hello @dishasharma 

 

You can do it like this:

'slipn_'+@SLIP_NUMBER
Manoj     Find me on LinkedIn
Josh-WAccepted solution
February 21, 2024

Hi DishaSharma

 

In an enrichment activity you select the Add Data option

 

Then Data linked to the filtering dimension

 

Then Data of the filtering dimension

 

From the next screen you can select Add and create an expression like this

 

 

 

 

 

Level 4
February 22, 2024

@_manoj_kumar_ 

in my case data type was integer

 

query activity we are receiving value of 'slip number' as--integrer datat type

123,

446,

457like that

 

i want to add a new attribute-SHOULD BE OF STRING TYPE via enrichment activity--name of new attribute is 'custom slip number' and value should be equal to

slipn_123,

slipn_446,

slipn_454

 

'custom slip number=

'slipn_'+@SLIP_NUMBER

I THINK I NEED TO DO CoNVERSION HERE CAN YOU PLEASE GIVE ME CORRECT CODE TO CONVERT TOS TRING FIst thrn append