Using journey builder we send both LINE and EMAIL communications on the same journey.

Each contact key has more than one record and we need to send communication to all the records based on unique value (example: Contact Key has 3 records and we need to send 3 communication to them)

We use journey settings entry source as Re-Entry anytime

Our requirement is to update the flag value into the DE field when the user receives the LINE/EMAIL message.

When we use Update Contact Activity its updating based on Contact Key but in our log DE having the more than one record for the Contact Key. So we are updating the value against some unique fields like PET NUMBER (its unique field in the log DE).

When we use the UPDATE AMPscript methods also (updateDE, updateData, UpsertDE and UpsertData). It's not updating

Scenario 1:
When we use the UPDATE AMPscript method its not updating while sending the consecutive emails.

UPDATE AMPscript methods are not working in LINE message

So could you please help us with the above two scenarios?

SET @petNum=[petNum]
SET @updatedDate = Now()
UpdateDE("WelcomeJourney_SendingDE",1,"petNum", @petNum, "WelcomeJourney1", 'true', "coupon1entrydate", @updatedDate)
SET @cuoponCode1_1 = LOOKUP('Test_Pet DB','couponCode1', 'petNum',@petNum)
Japan Test LINE POC Content
This is your Coupon Code1.1: %%=v(@cuoponCode1_1)=%%
  • Can you please post the full ampscript you are using in your Email and LINE messages? – Rain Jul 24 at 9:24
  • Added AMPScript in the above description pls check Thanks – user85686 Jul 24 at 10:21
  • What field is the primary key in WelcomeJourney_SendingDE ? – Jonas Lamberty Jul 24 at 14:40
  • petNum is the PrimaryKey in WelcomeJourney_SendingDE – user85686 Jul 24 at 14:42
  • its working when we use the attaributevalue and updatedata ampscript function – user85686 Jul 28 at 7:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.