Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

Test activity - time condition not working correctly

FilipFiebiger
Level 1
Level 1

Hello everyone!
I'm using below as a condition in my test activity:
Hour(GetDate())>13
Does anyone have any idea why this condition doesn't work correctly?
I checked and when for example using enrichment with this function and I can see the data is populated correctly.
But for some reason this test is giving me wrong results. I'm extremely confused about it, it this some Adobe bug?

3 Replies
taplondon_josh
Level 2
Level 2

Hi @FilipFiebiger ,

Just tested this in our sandbox instance and it worked as expected for me (current time 4pm here):

taplondon_josh_0-1627916352659.png

taplondon_josh_2-1627916433736.png

What time (+time zone) did you run your test and what time zone is your ACS server time in?

Thanks,

Josh

FilipFiebiger
Level 1
Level 1

@taplondon_joshthanks for replying!
Since writing the post I investigated the issue further and it turned out that the time for test activity is different than time for other blocks.

So for example Hour(getDate()) executed in enrichment gives 13 and the same expressions Hour(getDate()) executed in test gives 11.
It is now with Adobe support, they suspect it's discrepancy between application and database server... It is extremely frustrating how such a bug can happen?
Where can I find my server time zone for Adobe Campaign Standard?
PS. I know your reply isn't correct answer but I miss clicked and can't change it 😕