INSERT INTO `workflow_type` (`id`, `name`, `code`, `is_active`, `created_by`, `created_date`, `updated_by`, `updated_date`)
VALUES (1, 'Test workflow type', 'TEST_WORKFLOW_TYPE', 1, 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00');
INSERT INTO `workflow` (`id`, `name`, `code`, `workflow_type_id`, `is_active`, `created_by`, `created_date`, `updated_by`, `updated_date`)
VALUES (1, 'Leave workflow', 'LW1', 1, 1, 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00');
INSERT INTO `workflow_enabled` (`id`, `workflow_type_code`, `is_enabled`, `created_by`, `created_date`, `updated_by`, `updated_date`)
VALUES (1, '1', 1, 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00');
INSERT INTO `workflow_state` (`id`, `name`, `is_initial`, `is_final`, `workflow_id`, `is_active`, `created_by`, `created_date`, `updated_by`, `updated_date`)
VALUES
	(1, 'Applied', 1, 0, 1, 1, 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
	(2, 'Verified', 0, 0, 1, 1, 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
	(3, 'Recommend', 0, 0, 1, 1, 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
	(4, 'Approved', 0, 1, 1, 1, 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00');
INSERT INTO `workflow_transition` (`id`, `name`, `workflow_id`, `workflow_state_id_source`, `workflow_state_id_destination`, `role`,`user_id`, `is_active`, `created_by`, `created_date`, `updated_by`, `updated_date`)
VALUES
	(1, 'Verify', 1, 1, 2, 'GROUP_TUTOR', NULL,1, 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
	(2, 'Recommend', 1, 2, 3, 'HOD', NULL, 1, 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
	(3, 'Recommend', 1, 2, 3, 'INDIVIDUAL_STAFF',25, 1, 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
	(4, 'Approve', 1, 3, 4, 'PRINCIPAL', NULL, 1, 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00');
