INSERT INTO ohrm_workflow VALUES ('ASSET', 'asset', 'Asset', '1,3', null, null, null, (SELECT `id` FROM `ohrm_module` WHERE `name`='asset'), 10);

INSERT INTO ohrm_workflow_state_machine (workflow, state, action, role, resulting_state) VALUES
("ASSET", "In-stock","Decommission","Admin","Decommissioned"),
("ASSET", "In-use","Decommission","Admin","Decommissioned"),
("ASSET", "Decommissioned","Make Available","Admin","In-stock"),
("ASSET", "In-use","Return","Admin","In-stock"),
("ASSET", "Stolen","Mark Found","Admin","In-stock"),
("ASSET", "In-stock","Assign","Admin","In-use"),
("ASSET", "In-stock","Mark Stolen","Admin","Stolen"),
("ASSET", "In-use","Mark Stolen","Admin","Stolen"),
("ASSET", "In-use","Return","Supervisor","In-stock"),
("ASSET", "In-stock","Assign","Supervisor","In-use"),
("ASSET", "In-use","Update Assignment","Admin","In-use"),
("ASSET", "In-use","Update Assignment","Supervisor","In-use");

insert into ohrm_workflow_screen (workflow_name, module, action) values ('asset', 'asset', 'changeAssetStatus');