I have created a Journey that updates the profile in the DEV sandbox.
When in test mode, everything works fine. But then, when Published, the path that the journey takes is sometimes the correct one and other times the alternative error/timeout one.
I am doing the same tests in test mode as when Published. Why this might happen?
P:S: I am able to see the events in the profile while published
Views
Replies
Total Likes
Could you share the screenshot of the journey with the details of the branching ?
Views
Replies
Total Likes
Of course, here they are:
The journey:
And the "recibo pendiente" code:
if (
isEmpty(#{ExperiencePlatform.fieldgroup1.profile._clienttechsa.customPersonalization})
)
then (
concat (
concat (
concat (
concat(
concat(
concat ('[{\"importeTotal\":',
toString(@event{kafkaEvent._clienttechsa.kafka.paymentDocument.totalAmount})),
',\"numeroPoliza\":'),
toString(@event{kafkaEvent._clienttechsa.kafka.policy.number})),
',\"tipoSegmento\":\"segmento recibo\",\"idObjeto\":\"'),
@Event{kafkaEvent._clienttechsa.kafka.invoice.id}),
'\",\"tipoObjeto\":\"recibo\"}]')
)
else (
if (
not ( contain(#{ExperiencePlatform.fieldgroup1.profile._clienttechsa.customPersonalization}, @Event{kafkaEvent._clienttechsa.kafka.invoice.id} ) )
)
then (
concat(
concat (
concat (
concat (
concat(
concat(
concat ('[{\"importeTotal\":',
toString(@event{kafkaEvent._clienttechsa.kafka.paymentDocument.totalAmount})),
',\"numeroPoliza\":'),
toString(@event{kafkaEvent._clienttechsa.kafka.policy.number})),
',\"tipoSegmento\":\"segmento recibo\",\"idObjeto\":\"'),
@Event{kafkaEvent._clienttechsa.kafka.invoice.id}),
'\",\"tipoObjeto\":\"recibo\"},'),
substr(#{ExperiencePlatform.fieldgroup1.profile._clienttechsa.customPersonalization}, 1))
)
else (#{ExperiencePlatform.fieldgroup1.profile._clienttechsa.customPersonalization})
)
Basically I am trying to create a parseble JSON so any platform can read and personalize the user's experience.
Once again, when I am trying in test mode, there is no problem, but then, when I am sending events via an HTTP connection, I am getting all the errors from the screenshot.
Views
Replies
Total Likes
It is not possible to post data into the profile level using a JSON structure with the update profile activity.
Views
Replies
Total Likes
I see you are forming a stringified JSON and updating it on profile. Can you query the step events and see what is the http error code ?
Views
Replies
Total Likes
Views
Likes
Replies