I have 1 data extension, with 4 sets of unique voucher codes. Each set has 5k vouchers (so 20k all together), and there is a voucher code type next to each unique code. e.g. 10% off, 20% off, 30% off and 40% off. I know that this can be done in 4 different DE, but I wanted to know if it's possible to have them all in one DE, and then somehow use the claim row function, or any function to only allocate the correct voucher code type. The incoming data will be stamped with which discount voucher codes needs to be use.

Is this possible to do?


  • As long as each of the voucher codes are unique across each of the 4 different sets, then the claimrow() function should work according to the documentation. Commented Apr 10, 2018 at 2:53

1 Answer 1


Unfortunately you can’t have a condition within the ClaimRow function. I have been facing same use case, and after consulting Salesforce, I saw no other options than utilising separate DEs, one for each type of code/discount.

  • Thanks Lukas - I thought so. Spent hours trying to figure it out, and then in the end went with the different DE per voucher code type option Commented Apr 11, 2018 at 10:17
  • I will suggest reaching out to SF, so they can add this to their product roadmap - as this is something they are quite open to. If enough requests are made around same features, they might actually be implemented. Commented Apr 11, 2018 at 10:22
  • Great - will do. Is this via a case? Commented Apr 11, 2018 at 15:01
  • Or reach out to your account executive Commented Apr 11, 2018 at 15:32

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .