Skip to content

vt7.3 - Events & Workflows - Cannot trigger workflow conditions for Start Time or End Time

When creating / editing an Event you can set / change the 'Start Date & Time' and 'End Date & Time' fields. You can also add workflow conditions against these two fields as well for example- 'Start Date & Time has changed' However changing the time never triggers the workflow condition to be met.

This is because the Date and Time elements are actually stored in 2x separate fields, but the workflow only allows you to select one of them - the date part (which is labelled date & time).

If you edit the vtiger_field entries for the events module, and change the display_type of the 2x time fields to be 1 instead of 3, then you can select the Time fields in the workflow conditions independently of the Dates, save it, and then the workflow will trigger correctly if the time is changed.

However changing this means that the Start Time and End Time fields are show TWICE in the UI when adding / editing an Event.

I also suspect that the same will happen with Calendars/ToDo records as this stores/displays Start Dates/Times in a similar way.

Edited by Apparao G