Why do I get different values between <%= delivery.id %> and <%= message.delivery.id %> | Community
Skip to main content
September 24, 2024
Solved

Why do I get different values between <%= delivery.id %> and <%= message.delivery.id %>

  • September 24, 2024
  • 2 replies
  • 866 views

Hi Team

 

I am developing my web app, and I am encountering a delay between  <%= delivery.id %> and <%= message.delivery.id %> Is this normal?

 

 

Thanks

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 DavidKangni

@ikrambo @craig_thonis 

 

I believe it's an autocorrect which change diff/difference to delay.

That being said if you're meaning difference  <%= delivery.id %> and <%= message.delivery.id %>,  yes this is normal for some delivery types.

 

As example recurring deliveries have a parent id which will be <%= delivery.id %>. When the workflow executes, it will create the execution id which will be your <%= message.delivery.id %>

 

Hope it helps. Thanks,

David

2 replies

Craig_Thonis
Adobe Employee
Adobe Employee
September 24, 2024

Hi ikramBo,

Can you elaborate on what you are looking for? Your title states that you are getting different values, while your description talks about a performance difference. Can you confirm what your actual concern is?

 

If the issue is different values, do we have an example? As both come from two separate schemas, I wouldn't expect the data to be the same.

 

Additionally, if it is performance-related, can you detail what you mean by a "delay between <%= delivery.id %> and <%= message.delivery.id %>"? Are you talking about querying both tables separately, and does one take longer to return, or are you talking about some level of delay when one schema is linked to the other?

Regards,

Craig

DavidKangni
Community Advisor
DavidKangniCommunity AdvisorAccepted solution
Community Advisor
September 24, 2024

@ikrambo @craig_thonis 

 

I believe it's an autocorrect which change diff/difference to delay.

That being said if you're meaning difference  <%= delivery.id %> and <%= message.delivery.id %>,  yes this is normal for some delivery types.

 

As example recurring deliveries have a parent id which will be <%= delivery.id %>. When the workflow executes, it will create the execution id which will be your <%= message.delivery.id %>

 

Hope it helps. Thanks,

David

David Kangni