Expand my Community achievements bar.

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

Avatar

Level 1

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

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

2 Replies

Avatar

Employee Advisor

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

Avatar

Community Advisor

@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