Skip to main content
Sep 24, 2024 10:32 AM UTC
Solved

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

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.
DavidKangni
DavidKangniAccepted solution
Adobe Champion and Community Advisor
Sep 24, 2024 3:44 PM UTC

@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

2 replies

Craig_Thonis
Adobe Employee
Adobe Employee
Sep 24, 2024 1:23 PM UTC

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

Translate
DavidKangni
Adobe Champion and Community Advisor
DavidKangniAdobe Champion and Community AdvisorAccepted solution
Adobe Champion and Community Advisor
Sep 24, 2024 3:44 PM UTC

@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

Translate
David Kangni