How to find current day in AJO
I have a field called ReminderDay in my profile schema. The value can be Sunday, Monday, Tuesday, Wednesday, and so on.
When a profile enters the journey, I want to send the email only on the reminderDay. For example, if the profile’s ReminderDay value is Friday and If today is Friday, the email should be sent immediately. If today is not Friday, the profile should wait until the upcoming Friday before receiving the email.Due to limitations on the number of nodes, I want to implement this logic using custom code in the wait condition.
However, I am struggling to determine the current day within the custom code.
Is there a way to retrieve the current day using custom code, or is there an alternative approach that achieves this with a minimal number of nodes?
Thanks ,in Advance
Deepak Vasudevan