Starting from v1.95 using workflow will throw error like this: Fatal Error: MySQL: Unknown column 'template_id' in 'field list' (# 1054)
SQL query: SELECT SQL_CALC_FOUND_ROWS wf_arc.workflow_id, wf_arc.transition_id, place_id, direction, arc_type, task_id, role_id, transition_trigger, time_limit, template_id FROM wf_arc LEFT JOIN wf_transition ON (wf_transition.workflow_id=wf_arc.workflow_id AND wf_transition.transition_id=wf_arc.transition_id) WHERE wf_arc.workflow_id='6' AND wf_arc.place_id='1' AND wf_arc.direction='IN' ORDER BY wf_arc.workflow_id, wf_arc.transition_id, wf_arc.place_id, wf_arc.direction asc LOCK IN SHARE MODE
This is coming from wf_token.class.inc, function _cm_post_insertRecord. There is no template_id column in any of the workflow tables.