Page 1 of 1

event creation through Milestones sets End Date to ?

PostPosted: Wed Oct 19, 2016 6:16 pm
by Regine
Hi John and Dan,

I am suddenly having my end date set to ? when the event is created automatically through Milestones.

This then results in the event not showing on the calendar.

I haven't done anything to the script or milestones, the only thing I did recently was updating to the latest version of Dayback.

Attached a screenshot of the milestone and the script step with the end date creation.

Please can you assist, how I can avoid the question mark in each event.

Thanks

Kind regards

Regine

Re: event creation through Milestones sets End Date to ?

PostPosted: Thu Oct 20, 2016 10:55 am
by DanW
Hi Regine,

Thank you very much for letting us know about this. I was able to find the cause of this issue, which appears to only happen when the avoid weekends option is enabled and the milestone duration is set to 0.

To correct this, in the the "Load Milestones Into Contact Events" script, wrap the Set Field step for EventsContactsEvents::DateEnd in an IF step as highlighted in the attached screenshot. This will leave the end date empty as expected when the milestone duration is set to 0.

If you use Project milestones, make the same modification around the ProjectContactsEdit::DateEnd Set Field step within the "Load Milestones Into Project Events" script. Let me know if that works for you.

Thanks again!

Re: event creation through Milestones sets End Date to ?

PostPosted: Thu Oct 20, 2016 9:47 pm
by Regine
Thanks Dan, that has solved the problem.

Kind regards

Regine

Re: event creation through Milestones sets End Date to ?

PostPosted: Fri Oct 21, 2016 8:25 am
by JasonYoung
Great! and thanks again for posting!