- TLC Home Home
- Discussions Discussions
- Documentation Documentation
- Knowledge Base Knowledge Base
- Education Education
- Blog Blog
- Support Desk Support Desk
03-16-2022 01:45 AM
Hi everyone,
One thing I've been unable to do so far is transform a number-attribute to a string-attribute for a specific connector.
Use-case:
We have a scoring system (number attribute on visitor level). Based on certain conditions this score is increased. At the end of the visit I'd like to send over the score with a connector. Sadly, this connector only accepts string values.
Problem:
As the number-attribute is created in AS, I want to use it directly from there to always have the latest "score"-value. In the connector mapping, I can't add quotationmarks ("") to the variable mapping (connector doesn't support this). So I have to transform the variable before configuring it in the connector.
One solution:
I did think of adding a new string attribute that has an enrichment, but this would mean I'd have to manually create an enrichment with rules every possible score.
Does anyone know how to do this? I can't imagine simple transformation of variables like from number to string would be impossible.
03-20-2022 07:28 AM - edited 03-20-2022 07:30 AM
Hi BOoms,
You can use "Join Attributes" string enrichment for converting Number to String.
And it's done.
Check below screenshots for reference:
Hope this helps!!
Copyright All Rights Reserved © 2008-2023