[ { "docstatus": 0, "doctype": "Workflow", "document_type": "PPM OF ELECTRICAL PANELS", "is_active": 1, "modified": "2024-12-12 19:11:58.318892", "name": "PPM OF ELECTRICAL PANELS", "override_status": 0, "send_email_alert": 0, "states": [ { "allow_edit": "Maintenance Manager", "avoid_status_override": 0, "doc_status": "0", "is_optional_state": 0, "message": null, "next_action_email_template": null, "parent": "PPM OF ELECTRICAL PANELS", "parentfield": "states", "parenttype": "Workflow", "state": "Draft", "update_field": null, "update_value": null, "workflow_builder_id": null }, { "allow_edit": "Technician", "avoid_status_override": 0, "doc_status": "0", "is_optional_state": 0, "message": null, "next_action_email_template": null, "parent": "PPM OF ELECTRICAL PANELS", "parentfield": "states", "parenttype": "Workflow", "state": "Sent to technician", "update_field": null, "update_value": null, "workflow_builder_id": null }, { "allow_edit": "Maintenance Manager", "avoid_status_override": 0, "doc_status": "0", "is_optional_state": 0, "message": null, "next_action_email_template": null, "parent": "PPM OF ELECTRICAL PANELS", "parentfield": "states", "parenttype": "Workflow", "state": "Pending Approval", "update_field": null, "update_value": null, "workflow_builder_id": null }, { "allow_edit": "Maintenance Manager", "avoid_status_override": 0, "doc_status": "0", "is_optional_state": 0, "message": null, "next_action_email_template": null, "parent": "PPM OF ELECTRICAL PANELS", "parentfield": "states", "parenttype": "Workflow", "state": "Rejected", "update_field": null, "update_value": null, "workflow_builder_id": null }, { "allow_edit": "Maintenance Manager", "avoid_status_override": 0, "doc_status": "1", "is_optional_state": 0, "message": null, "next_action_email_template": null, "parent": "PPM OF ELECTRICAL PANELS", "parentfield": "states", "parenttype": "Workflow", "state": "Approved", "update_field": null, "update_value": null, "workflow_builder_id": null } ], "transitions": [ { "action": "Apply", "allow_self_approval": 1, "allowed": "Maintenance Manager", "condition": null, "next_state": "Sent to technician", "parent": "PPM OF ELECTRICAL PANELS", "parentfield": "transitions", "parenttype": "Workflow", "state": "Draft", "workflow_builder_id": null }, { "action": "Send For Approval", "allow_self_approval": 1, "allowed": "Technician", "condition": null, "next_state": "Pending Approval", "parent": "PPM OF ELECTRICAL PANELS", "parentfield": "transitions", "parenttype": "Workflow", "state": "Sent to technician", "workflow_builder_id": null }, { "action": "Approve", "allow_self_approval": 1, "allowed": "Maintenance Manager", "condition": null, "next_state": "Approved", "parent": "PPM OF ELECTRICAL PANELS", "parentfield": "transitions", "parenttype": "Workflow", "state": "Pending Approval", "workflow_builder_id": null }, { "action": "Reject", "allow_self_approval": 1, "allowed": "Maintenance Manager", "condition": null, "next_state": "Rejected", "parent": "PPM OF ELECTRICAL PANELS", "parentfield": "transitions", "parenttype": "Workflow", "state": "Pending Approval", "workflow_builder_id": null } ], "workflow_data": null, "workflow_name": "PPM OF ELECTRICAL PANELS", "workflow_state_field": "workflow_state" }, { "docstatus": 0, "doctype": "Workflow", "document_type": "PPM OF FIRE ALARM DEVICES", "is_active": 1, "modified": "2024-12-12 19:11:58.501893", "name": "PPM OF FIRE ALARM DEVICES", "override_status": 0, "send_email_alert": 0, "states": [ { "allow_edit": "Maintenance Manager", "avoid_status_override": 0, "doc_status": "0", "is_optional_state": 0, "message": null, "next_action_email_template": null, "parent": "PPM OF FIRE ALARM DEVICES", "parentfield": "states", "parenttype": "Workflow", "state": "Draft", "update_field": null, "update_value": null, "workflow_builder_id": null }, { "allow_edit": "Technician", "avoid_status_override": 0, "doc_status": "0", "is_optional_state": 0, "message": null, "next_action_email_template": null, "parent": "PPM OF FIRE ALARM DEVICES", "parentfield": "states", "parenttype": "Workflow", "state": "Sent to technician", "update_field": null, "update_value": null, "workflow_builder_id": null }, { "allow_edit": "Maintenance Manager", "avoid_status_override": 0, "doc_status": "0", "is_optional_state": 0, "message": null, "next_action_email_template": null, "parent": "PPM OF FIRE ALARM DEVICES", "parentfield": "states", "parenttype": "Workflow", "state": "Pending Approval", "update_field": null, "update_value": null, "workflow_builder_id": null }, { "allow_edit": "Maintenance Manager", "avoid_status_override": 0, "doc_status": "0", "is_optional_state": 0, "message": null, "next_action_email_template": null, "parent": "PPM OF FIRE ALARM DEVICES", "parentfield": "states", "parenttype": "Workflow", "state": "Rejected", "update_field": null, "update_value": null, "workflow_builder_id": null }, { "allow_edit": "Maintenance Manager", "avoid_status_override": 0, "doc_status": "1", "is_optional_state": 0, "message": null, "next_action_email_template": null, "parent": "PPM OF FIRE ALARM DEVICES", "parentfield": "states", "parenttype": "Workflow", "state": "Approved", "update_field": null, "update_value": null, "workflow_builder_id": null } ], "transitions": [ { "action": "Apply", "allow_self_approval": 1, "allowed": "Maintenance Manager", "condition": null, "next_state": "Sent to technician", "parent": "PPM OF FIRE ALARM DEVICES", "parentfield": "transitions", "parenttype": "Workflow", "state": "Draft", "workflow_builder_id": null }, { "action": "Send For Approval", "allow_self_approval": 1, "allowed": "Technician", "condition": null, "next_state": "Pending Approval", "parent": "PPM OF FIRE ALARM DEVICES", "parentfield": "transitions", "parenttype": "Workflow", "state": "Sent to technician", "workflow_builder_id": null }, { "action": "Approve", "allow_self_approval": 1, "allowed": "Maintenance Manager", "condition": null, "next_state": "Approved", "parent": "PPM OF FIRE ALARM DEVICES", "parentfield": "transitions", "parenttype": "Workflow", "state": "Pending Approval", "workflow_builder_id": null }, { "action": "Reject", "allow_self_approval": 1, "allowed": "Maintenance Manager", "condition": null, "next_state": "Rejected", "parent": "PPM OF FIRE ALARM DEVICES", "parentfield": "transitions", "parenttype": "Workflow", "state": "Pending Approval", "workflow_builder_id": null } ], "workflow_data": null, "workflow_name": "PPM OF FIRE ALARM DEVICES", "workflow_state_field": "workflow_state" }, { "docstatus": 0, "doctype": "Workflow", "document_type": "PPM OF ELECTRICAL FIXTURES INSIDE ROOMS", "is_active": 1, "modified": "2024-12-12 19:11:58.649076", "name": "PPM OF ELECTRICAL FIXTURES INSIDE ROOMS", "override_status": 0, "send_email_alert": 0, "states": [ { "allow_edit": "Maintenance Manager", "avoid_status_override": 0, "doc_status": "0", "is_optional_state": 0, "message": null, "next_action_email_template": null, "parent": "PPM OF ELECTRICAL FIXTURES INSIDE ROOMS", "parentfield": "states", "parenttype": "Workflow", "state": "Draft", "update_field": null, "update_value": null, "workflow_builder_id": null }, { "allow_edit": "Technician", "avoid_status_override": 0, "doc_status": "0", "is_optional_state": 0, "message": null, "next_action_email_template": null, "parent": "PPM OF ELECTRICAL FIXTURES INSIDE ROOMS", "parentfield": "states", "parenttype": "Workflow", "state": "Sent to technician", "update_field": null, "update_value": null, "workflow_builder_id": null }, { "allow_edit": "Maintenance Manager", "avoid_status_override": 0, "doc_status": "0", "is_optional_state": 0, "message": null, "next_action_email_template": null, "parent": "PPM OF ELECTRICAL FIXTURES INSIDE ROOMS", "parentfield": "states", "parenttype": "Workflow", "state": "Pending Approval", "update_field": null, "update_value": null, "workflow_builder_id": null }, { "allow_edit": "Maintenance Manager", "avoid_status_override": 0, "doc_status": "0", "is_optional_state": 0, "message": null, "next_action_email_template": null, "parent": "PPM OF ELECTRICAL FIXTURES INSIDE ROOMS", "parentfield": "states", "parenttype": "Workflow", "state": "Rejected", "update_field": null, "update_value": null, "workflow_builder_id": null }, { "allow_edit": "Maintenance Manager", "avoid_status_override": 0, "doc_status": "1", "is_optional_state": 0, "message": null, "next_action_email_template": null, "parent": "PPM OF ELECTRICAL FIXTURES INSIDE ROOMS", "parentfield": "states", "parenttype": "Workflow", "state": "Approved", "update_field": null, "update_value": null, "workflow_builder_id": null } ], "transitions": [ { "action": "Apply", "allow_self_approval": 1, "allowed": "Maintenance Manager", "condition": null, "next_state": "Sent to technician", "parent": "PPM OF ELECTRICAL FIXTURES INSIDE ROOMS", "parentfield": "transitions", "parenttype": "Workflow", "state": "Draft", "workflow_builder_id": null }, { "action": "Send For Approval", "allow_self_approval": 1, "allowed": "Technician", "condition": null, "next_state": "Pending Approval", "parent": "PPM OF ELECTRICAL FIXTURES INSIDE ROOMS", "parentfield": "transitions", "parenttype": "Workflow", "state": "Sent to technician", "workflow_builder_id": null }, { "action": "Approve", "allow_self_approval": 1, "allowed": "Maintenance Manager", "condition": null, "next_state": "Approved", "parent": "PPM OF ELECTRICAL FIXTURES INSIDE ROOMS", "parentfield": "transitions", "parenttype": "Workflow", "state": "Pending Approval", "workflow_builder_id": null }, { "action": "Reject", "allow_self_approval": 1, "allowed": "Maintenance Manager", "condition": null, "next_state": "Rejected", "parent": "PPM OF ELECTRICAL FIXTURES INSIDE ROOMS", "parentfield": "transitions", "parenttype": "Workflow", "state": "Pending Approval", "workflow_builder_id": null } ], "workflow_data": null, "workflow_name": "PPM OF ELECTRICAL FIXTURES INSIDE ROOMS", "workflow_state_field": "workflow_state" }, { "docstatus": 0, "doctype": "Workflow", "document_type": "PPM OF CT SCAN MACHINE", "is_active": 1, "modified": "2024-12-12 19:11:58.778342", "name": "PPM OF CT SCAN MACHINE", "override_status": 0, "send_email_alert": 0, "states": [ { "allow_edit": "Maintenance Manager", "avoid_status_override": 0, "doc_status": "0", "is_optional_state": 0, "message": null, "next_action_email_template": null, "parent": "PPM OF CT SCAN MACHINE", "parentfield": "states", "parenttype": "Workflow", "state": "Draft", "update_field": null, "update_value": null, "workflow_builder_id": null }, { "allow_edit": "Technician", "avoid_status_override": 0, "doc_status": "0", "is_optional_state": 0, "message": null, "next_action_email_template": null, "parent": "PPM OF CT SCAN MACHINE", "parentfield": "states", "parenttype": "Workflow", "state": "Sent to technician", "update_field": null, "update_value": null, "workflow_builder_id": null }, { "allow_edit": "Maintenance Manager", "avoid_status_override": 0, "doc_status": "0", "is_optional_state": 0, "message": null, "next_action_email_template": null, "parent": "PPM OF CT SCAN MACHINE", "parentfield": "states", "parenttype": "Workflow", "state": "Pending Approval", "update_field": null, "update_value": null, "workflow_builder_id": null }, { "allow_edit": "Maintenance Manager", "avoid_status_override": 0, "doc_status": "0", "is_optional_state": 0, "message": null, "next_action_email_template": null, "parent": "PPM OF CT SCAN MACHINE", "parentfield": "states", "parenttype": "Workflow", "state": "Rejected", "update_field": null, "update_value": null, "workflow_builder_id": null }, { "allow_edit": "Maintenance Manager", "avoid_status_override": 0, "doc_status": "1", "is_optional_state": 0, "message": null, "next_action_email_template": null, "parent": "PPM OF CT SCAN MACHINE", "parentfield": "states", "parenttype": "Workflow", "state": "Approved", "update_field": null, "update_value": null, "workflow_builder_id": null } ], "transitions": [ { "action": "Apply", "allow_self_approval": 1, "allowed": "Maintenance Manager", "condition": null, "next_state": "Sent to technician", "parent": "PPM OF CT SCAN MACHINE", "parentfield": "transitions", "parenttype": "Workflow", "state": "Draft", "workflow_builder_id": null }, { "action": "Send For Approval", "allow_self_approval": 1, "allowed": "Technician", "condition": null, "next_state": "Pending Approval", "parent": "PPM OF CT SCAN MACHINE", "parentfield": "transitions", "parenttype": "Workflow", "state": "Sent to technician", "workflow_builder_id": null }, { "action": "Approve", "allow_self_approval": 1, "allowed": "Maintenance Manager", "condition": null, "next_state": "Approved", "parent": "PPM OF CT SCAN MACHINE", "parentfield": "transitions", "parenttype": "Workflow", "state": "Pending Approval", "workflow_builder_id": null }, { "action": "Reject", "allow_self_approval": 1, "allowed": "Maintenance Manager", "condition": null, "next_state": "Rejected", "parent": "PPM OF CT SCAN MACHINE", "parentfield": "transitions", "parenttype": "Workflow", "state": "Pending Approval", "workflow_builder_id": null } ], "workflow_data": null, "workflow_name": "PPM OF CT SCAN MACHINE", "workflow_state_field": "workflow_state" }, { "docstatus": 0, "doctype": "Workflow", "document_type": "PPM OF MRI SCAN MACHINE", "is_active": 1, "modified": "2024-12-12 19:11:58.903013", "name": "PPM OF MRI SCAN MACHINE", "override_status": 0, "send_email_alert": 0, "states": [ { "allow_edit": "Maintenance Manager", "avoid_status_override": 0, "doc_status": "0", "is_optional_state": 0, "message": null, "next_action_email_template": null, "parent": "PPM OF MRI SCAN MACHINE", "parentfield": "states", "parenttype": "Workflow", "state": "Draft", "update_field": null, "update_value": null, "workflow_builder_id": null }, { "allow_edit": "Technician", "avoid_status_override": 0, "doc_status": "0", "is_optional_state": 0, "message": null, "next_action_email_template": null, "parent": "PPM OF MRI SCAN MACHINE", "parentfield": "states", "parenttype": "Workflow", "state": "Sent to technician", "update_field": null, "update_value": null, "workflow_builder_id": null }, { "allow_edit": "Maintenance Manager", "avoid_status_override": 0, "doc_status": "0", "is_optional_state": 0, "message": null, "next_action_email_template": null, "parent": "PPM OF MRI SCAN MACHINE", "parentfield": "states", "parenttype": "Workflow", "state": "Pending Approval", "update_field": null, "update_value": null, "workflow_builder_id": null }, { "allow_edit": "Maintenance Manager", "avoid_status_override": 0, "doc_status": "0", "is_optional_state": 0, "message": null, "next_action_email_template": null, "parent": "PPM OF MRI SCAN MACHINE", "parentfield": "states", "parenttype": "Workflow", "state": "Rejected", "update_field": null, "update_value": null, "workflow_builder_id": null }, { "allow_edit": "Maintenance Manager", "avoid_status_override": 0, "doc_status": "1", "is_optional_state": 0, "message": null, "next_action_email_template": null, "parent": "PPM OF MRI SCAN MACHINE", "parentfield": "states", "parenttype": "Workflow", "state": "Approved", "update_field": null, "update_value": null, "workflow_builder_id": null } ], "transitions": [ { "action": "Apply", "allow_self_approval": 1, "allowed": "Maintenance Manager", "condition": null, "next_state": "Sent to technician", "parent": "PPM OF MRI SCAN MACHINE", "parentfield": "transitions", "parenttype": "Workflow", "state": "Draft", "workflow_builder_id": null }, { "action": "Send For Approval", "allow_self_approval": 1, "allowed": "Technician", "condition": null, "next_state": "Pending Approval", "parent": "PPM OF MRI SCAN MACHINE", "parentfield": "transitions", "parenttype": "Workflow", "state": "Sent to technician", "workflow_builder_id": null }, { "action": "Approve", "allow_self_approval": 1, "allowed": "Maintenance Manager", "condition": null, "next_state": "Approved", "parent": "PPM OF MRI SCAN MACHINE", "parentfield": "transitions", "parenttype": "Workflow", "state": "Pending Approval", "workflow_builder_id": null }, { "action": "Reject", "allow_self_approval": 1, "allowed": "Maintenance Manager", "condition": null, "next_state": "Rejected", "parent": "PPM OF MRI SCAN MACHINE", "parentfield": "transitions", "parenttype": "Workflow", "state": "Pending Approval", "workflow_builder_id": null } ], "workflow_data": null, "workflow_name": "PPM OF MRI SCAN MACHINE", "workflow_state_field": "workflow_state" }, { "docstatus": 0, "doctype": "Workflow", "document_type": "Material Request", "is_active": 1, "modified": "2025-02-17 21:00:22.691674", "name": "Purchase Request", "override_status": 0, "send_email_alert": 1, "states": [ { "allow_edit": "Technician", "avoid_status_override": 0, "doc_status": "0", "is_optional_state": 0, "message": null, "next_action_email_template": null, "parent": "Purchase Request", "parentfield": "states", "parenttype": "Workflow", "state": "Draft", "update_field": null, "update_value": null, "workflow_builder_id": null }, { "allow_edit": "Maintenance Manager", "avoid_status_override": 0, "doc_status": "0", "is_optional_state": 0, "message": null, "next_action_email_template": null, "parent": "Purchase Request", "parentfield": "states", "parenttype": "Workflow", "state": "Applied", "update_field": null, "update_value": null, "workflow_builder_id": null }, { "allow_edit": "Finance User", "avoid_status_override": 0, "doc_status": "0", "is_optional_state": 0, "message": null, "next_action_email_template": null, "parent": "Purchase Request", "parentfield": "states", "parenttype": "Workflow", "state": "Sent to Procurement User", "update_field": null, "update_value": null, "workflow_builder_id": null }, { "allow_edit": "Finance User", "avoid_status_override": 0, "doc_status": "0", "is_optional_state": 0, "message": null, "next_action_email_template": null, "parent": "Purchase Request", "parentfield": "states", "parenttype": "Workflow", "state": "Rejected", "update_field": null, "update_value": null, "workflow_builder_id": null }, { "allow_edit": "Finance User", "avoid_status_override": 0, "doc_status": "1", "is_optional_state": 0, "message": null, "next_action_email_template": null, "parent": "Purchase Request", "parentfield": "states", "parenttype": "Workflow", "state": "Approved", "update_field": null, "update_value": null, "workflow_builder_id": null } ], "transitions": [ { "action": "Apply", "allow_self_approval": 1, "allowed": "Technician", "condition": null, "next_state": "Applied", "parent": "Purchase Request", "parentfield": "transitions", "parenttype": "Workflow", "state": "Draft", "workflow_builder_id": null }, { "action": "Send For Approval", "allow_self_approval": 1, "allowed": "Maintenance Manager", "condition": null, "next_state": "Sent to Procurement User", "parent": "Purchase Request", "parentfield": "transitions", "parenttype": "Workflow", "state": "Applied", "workflow_builder_id": null }, { "action": "Reject", "allow_self_approval": 1, "allowed": "Finance User", "condition": null, "next_state": "Rejected", "parent": "Purchase Request", "parentfield": "transitions", "parenttype": "Workflow", "state": "Sent to Procurement User", "workflow_builder_id": null }, { "action": "Approve", "allow_self_approval": 1, "allowed": "Finance User", "condition": null, "next_state": "Approved", "parent": "Purchase Request", "parentfield": "transitions", "parenttype": "Workflow", "state": "Sent to Procurement User", "workflow_builder_id": null } ], "workflow_data": null, "workflow_name": "Purchase Request", "workflow_state_field": "workflow_state" }, { "docstatus": 0, "doctype": "Workflow", "document_type": "Purchase Order", "is_active": 1, "modified": "2024-12-12 19:11:59.023214", "name": "Purchase Order", "override_status": 0, "send_email_alert": 1, "states": [ { "allow_edit": "Finance User", "avoid_status_override": 0, "doc_status": "0", "is_optional_state": 0, "message": null, "next_action_email_template": null, "parent": "Purchase Order", "parentfield": "states", "parenttype": "Workflow", "state": "Draft", "update_field": null, "update_value": null, "workflow_builder_id": null }, { "allow_edit": "Finance Manager", "avoid_status_override": 0, "doc_status": "0", "is_optional_state": 0, "message": null, "next_action_email_template": null, "parent": "Purchase Order", "parentfield": "states", "parenttype": "Workflow", "state": "Pending Approval", "update_field": null, "update_value": null, "workflow_builder_id": null }, { "allow_edit": "Finance Manager", "avoid_status_override": 0, "doc_status": "0", "is_optional_state": 0, "message": null, "next_action_email_template": null, "parent": "Purchase Order", "parentfield": "states", "parenttype": "Workflow", "state": "Rejected", "update_field": null, "update_value": null, "workflow_builder_id": null }, { "allow_edit": "Finance Manager", "avoid_status_override": 0, "doc_status": "1", "is_optional_state": 0, "message": null, "next_action_email_template": null, "parent": "Purchase Order", "parentfield": "states", "parenttype": "Workflow", "state": "Approved", "update_field": null, "update_value": null, "workflow_builder_id": null }, { "allow_edit": "Finance Manager", "avoid_status_override": 0, "doc_status": "2", "is_optional_state": 0, "message": null, "next_action_email_template": null, "parent": "Purchase Order", "parentfield": "states", "parenttype": "Workflow", "state": "Cancelled", "update_field": null, "update_value": null, "workflow_builder_id": null } ], "transitions": [ { "action": "Apply", "allow_self_approval": 1, "allowed": "Finance User", "condition": null, "next_state": "Pending Approval", "parent": "Purchase Order", "parentfield": "transitions", "parenttype": "Workflow", "state": "Draft", "workflow_builder_id": null }, { "action": "Approve", "allow_self_approval": 1, "allowed": "Finance Manager", "condition": "", "next_state": "Approved", "parent": "Purchase Order", "parentfield": "transitions", "parenttype": "Workflow", "state": "Pending Approval", "workflow_builder_id": null }, { "action": "Reject", "allow_self_approval": 1, "allowed": "Finance Manager", "condition": "", "next_state": "Rejected", "parent": "Purchase Order", "parentfield": "transitions", "parenttype": "Workflow", "state": "Pending Approval", "workflow_builder_id": null }, { "action": "Cancel", "allow_self_approval": 1, "allowed": "Finance Manager", "condition": null, "next_state": "Cancelled", "parent": "Purchase Order", "parentfield": "transitions", "parenttype": "Workflow", "state": "Approved", "workflow_builder_id": null } ], "workflow_data": null, "workflow_name": "Purchase Order", "workflow_state_field": "workflow_state" }, { "docstatus": 0, "doctype": "Workflow", "document_type": "PPM", "is_active": 1, "modified": "2024-12-12 19:11:59.320482", "name": "PPM", "override_status": 0, "send_email_alert": 0, "states": [ { "allow_edit": "Technician", "avoid_status_override": 0, "doc_status": "0", "is_optional_state": 0, "message": null, "next_action_email_template": null, "parent": "PPM", "parentfield": "states", "parenttype": "Workflow", "state": "Sent to technician", "update_field": null, "update_value": null, "workflow_builder_id": null }, { "allow_edit": "Maintenance Manager", "avoid_status_override": 0, "doc_status": "0", "is_optional_state": 0, "message": null, "next_action_email_template": null, "parent": "PPM", "parentfield": "states", "parenttype": "Workflow", "state": "Pending Approval", "update_field": null, "update_value": null, "workflow_builder_id": null }, { "allow_edit": "Maintenance Manager", "avoid_status_override": 0, "doc_status": "0", "is_optional_state": 0, "message": null, "next_action_email_template": null, "parent": "PPM", "parentfield": "states", "parenttype": "Workflow", "state": "Rejected", "update_field": null, "update_value": null, "workflow_builder_id": null }, { "allow_edit": "Maintenance Manager", "avoid_status_override": 0, "doc_status": "1", "is_optional_state": 0, "message": null, "next_action_email_template": null, "parent": "PPM", "parentfield": "states", "parenttype": "Workflow", "state": "Approved", "update_field": null, "update_value": null, "workflow_builder_id": null } ], "transitions": [ { "action": "Send For Approval", "allow_self_approval": 1, "allowed": "Technician", "condition": null, "next_state": "Pending Approval", "parent": "PPM", "parentfield": "transitions", "parenttype": "Workflow", "state": "Sent to technician", "workflow_builder_id": null }, { "action": "Approve", "allow_self_approval": 1, "allowed": "Maintenance Manager", "condition": null, "next_state": "Approved", "parent": "PPM", "parentfield": "transitions", "parenttype": "Workflow", "state": "Pending Approval", "workflow_builder_id": null }, { "action": "Reject", "allow_self_approval": 1, "allowed": "Maintenance Manager", "condition": null, "next_state": "Rejected", "parent": "PPM", "parentfield": "transitions", "parenttype": "Workflow", "state": "Pending Approval", "workflow_builder_id": null } ], "workflow_data": null, "workflow_name": "PPM", "workflow_state_field": "workflow_state" }, { "docstatus": 0, "doctype": "Workflow", "document_type": "Asset Maintenance Log", "is_active": 1, "modified": "2025-04-03 18:03:31.213381", "name": "Asset Maintenance Log", "override_status": 0, "send_email_alert": 0, "states": [ { "allow_edit": "Maintenance Manager", "avoid_status_override": 0, "doc_status": "0", "is_optional_state": 0, "message": null, "next_action_email_template": null, "parent": "Asset Maintenance Log", "parentfield": "states", "parenttype": "Workflow", "state": "Draft", "update_field": null, "update_value": null, "workflow_builder_id": null }, { "allow_edit": "Technician", "avoid_status_override": 0, "doc_status": "0", "is_optional_state": 0, "message": null, "next_action_email_template": null, "parent": "Asset Maintenance Log", "parentfield": "states", "parenttype": "Workflow", "state": "Draft", "update_field": null, "update_value": null, "workflow_builder_id": null }, { "allow_edit": "Technician", "avoid_status_override": 0, "doc_status": "0", "is_optional_state": 0, "message": null, "next_action_email_template": null, "parent": "Asset Maintenance Log", "parentfield": "states", "parenttype": "Workflow", "state": "Applied", "update_field": null, "update_value": null, "workflow_builder_id": null }, { "allow_edit": "Maintenance Manager", "avoid_status_override": 0, "doc_status": "1", "is_optional_state": 0, "message": null, "next_action_email_template": null, "parent": "Asset Maintenance Log", "parentfield": "states", "parenttype": "Workflow", "state": "Approved", "update_field": null, "update_value": null, "workflow_builder_id": null }, { "allow_edit": "Technician", "avoid_status_override": 0, "doc_status": "0", "is_optional_state": 0, "message": null, "next_action_email_template": null, "parent": "Asset Maintenance Log", "parentfield": "states", "parenttype": "Workflow", "state": "Rejected", "update_field": null, "update_value": null, "workflow_builder_id": null } ], "transitions": [ { "action": "Apply", "allow_self_approval": 1, "allowed": "Technician", "condition": null, "next_state": "Applied", "parent": "Asset Maintenance Log", "parentfield": "transitions", "parenttype": "Workflow", "state": "Draft", "workflow_builder_id": null }, { "action": "Approve", "allow_self_approval": 1, "allowed": "Maintenance Manager", "condition": null, "next_state": "Approved", "parent": "Asset Maintenance Log", "parentfield": "transitions", "parenttype": "Workflow", "state": "Applied", "workflow_builder_id": null }, { "action": "Reject", "allow_self_approval": 1, "allowed": "Maintenance Manager", "condition": null, "next_state": "Rejected", "parent": "Asset Maintenance Log", "parentfield": "transitions", "parenttype": "Workflow", "state": "Applied", "workflow_builder_id": null }, { "action": "Apply", "allow_self_approval": 1, "allowed": "Technician", "condition": null, "next_state": "Applied", "parent": "Asset Maintenance Log", "parentfield": "transitions", "parenttype": "Workflow", "state": "Rejected", "workflow_builder_id": null } ], "workflow_data": null, "workflow_name": "Asset Maintenance Log", "workflow_state_field": "workflow_state" }, { "docstatus": 0, "doctype": "Workflow", "document_type": "Work_Order", "is_active": 1, "modified": "2025-08-26 14:05:43.721579", "name": "Work Job Order", "override_status": 0, "send_email_alert": 0, "states": [ { "allow_edit": "End user", "avoid_status_override": 0, "doc_status": "0", "is_optional_state": 0, "message": null, "next_action_email_template": null, "parent": "Work Job Order", "parentfield": "states", "parenttype": "Workflow", "state": "Draft", "update_field": "repair_status", "update_value": "Open", "workflow_builder_id": null }, { "allow_edit": "Maintenance Manager", "avoid_status_override": 0, "doc_status": "0", "is_optional_state": 0, "message": null, "next_action_email_template": null, "parent": "Work Job Order", "parentfield": "states", "parenttype": "Workflow", "state": "Sent To Maintenance manger", "update_field": "repair_status", "update_value": "Open", "workflow_builder_id": null }, { "allow_edit": "Technician", "avoid_status_override": 0, "doc_status": "0", "is_optional_state": 0, "message": null, "next_action_email_template": null, "parent": "Work Job Order", "parentfield": "states", "parenttype": "Workflow", "state": "Repair InProgress", "update_field": "repair_status", "update_value": "Work In Progress", "workflow_builder_id": null }, { "allow_edit": "Technician", "avoid_status_override": 0, "doc_status": "0", "is_optional_state": 0, "message": null, "next_action_email_template": null, "parent": "Work Job Order", "parentfield": "states", "parenttype": "Workflow", "state": "Repair InProgress", "update_field": null, "update_value": null, "workflow_builder_id": null }, { "allow_edit": "Finance Manager", "avoid_status_override": 0, "doc_status": "0", "is_optional_state": 0, "message": null, "next_action_email_template": null, "parent": "Work Job Order", "parentfield": "states", "parenttype": "Workflow", "state": "Pending Purchase", "update_field": null, "update_value": null, "workflow_builder_id": null }, { "allow_edit": "Maintenance Manager", "avoid_status_override": 0, "doc_status": "0", "is_optional_state": 0, "message": null, "next_action_email_template": null, "parent": "Work Job Order", "parentfield": "states", "parenttype": "Workflow", "state": "Pending Approval", "update_field": "repair_status", "update_value": "Pending Review", "workflow_builder_id": null }, { "allow_edit": "Cluster Manager", "avoid_status_override": 0, "doc_status": "2", "is_optional_state": 0, "message": null, "next_action_email_template": null, "parent": "Work Job Order", "parentfield": "states", "parenttype": "Workflow", "state": "Cancelled", "update_field": "repair_status", "update_value": "Cancelled", "workflow_builder_id": null }, { "allow_edit": "Maintenance Manager", "avoid_status_override": 0, "doc_status": "1", "is_optional_state": 0, "message": null, "next_action_email_template": null, "parent": "Work Job Order", "parentfield": "states", "parenttype": "Workflow", "state": "Rejected", "update_field": "", "update_value": "", "workflow_builder_id": null }, { "allow_edit": "Maintenance Manager", "avoid_status_override": 0, "doc_status": "1", "is_optional_state": 0, "message": null, "next_action_email_template": null, "parent": "Work Job Order", "parentfield": "states", "parenttype": "Workflow", "state": "Completed", "update_field": "repair_status", "update_value": "Completed", "workflow_builder_id": null }, { "allow_edit": "PHCC Site Manager", "avoid_status_override": 0, "doc_status": "1", "is_optional_state": 0, "message": null, "next_action_email_template": null, "parent": "Work Job Order", "parentfield": "states", "parenttype": "Workflow", "state": "Completed", "update_field": "repair_status", "update_value": "Completed", "workflow_builder_id": null }, { "allow_edit": "PHCC End User", "avoid_status_override": 0, "doc_status": "0", "is_optional_state": 0, "message": null, "next_action_email_template": null, "parent": "Work Job Order", "parentfield": "states", "parenttype": "Workflow", "state": "Draft", "update_field": "repair_status", "update_value": "Open", "workflow_builder_id": null }, { "allow_edit": "PHCC Site Manager", "avoid_status_override": 0, "doc_status": "0", "is_optional_state": 0, "message": null, "next_action_email_template": null, "parent": "Work Job Order", "parentfield": "states", "parenttype": "Workflow", "state": "Sent To Site Manager", "update_field": "repair_status", "update_value": "Open", "workflow_builder_id": null }, { "allow_edit": "PHCC Site Manager", "avoid_status_override": 0, "doc_status": "0", "is_optional_state": 0, "message": null, "next_action_email_template": null, "parent": "Work Job Order", "parentfield": "states", "parenttype": "Workflow", "state": "Pending Approval", "update_field": "repair_status", "update_value": "Pending Review", "workflow_builder_id": null }, { "allow_edit": "PHCC Site Manager", "avoid_status_override": 0, "doc_status": "0", "is_optional_state": 0, "message": null, "next_action_email_template": null, "parent": "Work Job Order", "parentfield": "states", "parenttype": "Workflow", "state": "Rejected", "update_field": null, "update_value": null, "workflow_builder_id": null }, { "allow_edit": "Technician", "avoid_status_override": 0, "doc_status": "0", "is_optional_state": 0, "message": null, "next_action_email_template": null, "parent": "Work Job Order", "parentfield": "states", "parenttype": "Workflow", "state": "Draft", "update_field": "repair_status", "update_value": "Open", "workflow_builder_id": null }, { "allow_edit": "Cluster Manager", "avoid_status_override": 0, "doc_status": "0", "is_optional_state": 0, "message": null, "next_action_email_template": null, "parent": "Work Job Order", "parentfield": "states", "parenttype": "Workflow", "state": "Closed", "update_field": "repair_status", "update_value": "Closed", "workflow_builder_id": null }, { "allow_edit": "General WOA", "avoid_status_override": 0, "doc_status": "0", "is_optional_state": 0, "message": null, "next_action_email_template": null, "parent": "Work Job Order", "parentfield": "states", "parenttype": "Workflow", "state": "Sent to General WOA", "update_field": "repair_status", "update_value": "Open", "workflow_builder_id": null }, { "allow_edit": "General Contractor", "avoid_status_override": 0, "doc_status": "0", "is_optional_state": 0, "message": null, "next_action_email_template": null, "parent": "Work Job Order", "parentfield": "states", "parenttype": "Workflow", "state": "Repair InProgress", "update_field": "repair_status", "update_value": "Work In Progress", "workflow_builder_id": null }, { "allow_edit": "General Contractor", "avoid_status_override": 0, "doc_status": "0", "is_optional_state": 0, "message": null, "next_action_email_template": null, "parent": "Work Job Order", "parentfield": "states", "parenttype": "Workflow", "state": "Pending Approval", "update_field": "repair_status", "update_value": "Pending Review", "workflow_builder_id": null }, { "allow_edit": "General WOA", "avoid_status_override": 0, "doc_status": "0", "is_optional_state": 0, "message": null, "next_action_email_template": null, "parent": "Work Job Order", "parentfield": "states", "parenttype": "Workflow", "state": "Pending Approval", "update_field": "repair_status", "update_value": "Pending Review", "workflow_builder_id": null } ], "transitions": [ { "action": "Apply", "allow_self_approval": 1, "allowed": "End user", "condition": "doc.asset_type != \"Non Biomedical\" and not doc.site_name", "next_state": "Sent To Maintenance manger", "parent": "Work Job Order", "parentfield": "transitions", "parenttype": "Workflow", "state": "Draft", "workflow_builder_id": null }, { "action": "Apply", "allow_self_approval": 1, "allowed": "Technician", "condition": "doc.asset_type == \"Biomedical\"", "next_state": "Sent To Maintenance manger", "parent": "Work Job Order", "parentfield": "transitions", "parenttype": "Workflow", "state": "Draft", "workflow_builder_id": null }, { "action": "Send For Repair", "allow_self_approval": 1, "allowed": "Maintenance Manager", "condition": null, "next_state": "Repair InProgress", "parent": "Work Job Order", "parentfield": "transitions", "parenttype": "Workflow", "state": "Sent To Maintenance manger", "workflow_builder_id": null }, { "action": "Send For Approval", "allow_self_approval": 1, "allowed": "Technician", "condition": "", "next_state": "Pending Approval", "parent": "Work Job Order", "parentfield": "transitions", "parenttype": "Workflow", "state": "Repair InProgress", "workflow_builder_id": null }, { "action": "Material Request", "allow_self_approval": 1, "allowed": "Technician", "condition": "doc.need_procurement == 1", "next_state": "Pending Purchase", "parent": "Work Job Order", "parentfield": "transitions", "parenttype": "Workflow", "state": "Repair InProgress", "workflow_builder_id": null }, { "action": "Send For Repair", "allow_self_approval": 1, "allowed": "Finance Manager", "condition": null, "next_state": "Repair InProgress", "parent": "Work Job Order", "parentfield": "transitions", "parenttype": "Workflow", "state": "Pending Purchase", "workflow_builder_id": null }, { "action": "Accept", "allow_self_approval": 1, "allowed": "Maintenance Manager", "condition": "", "next_state": "Completed", "parent": "Work Job Order", "parentfield": "transitions", "parenttype": "Workflow", "state": "Pending Approval", "workflow_builder_id": null }, { "action": "Reject", "allow_self_approval": 1, "allowed": "Maintenance Manager", "condition": null, "next_state": "Rejected", "parent": "Work Job Order", "parentfield": "transitions", "parenttype": "Workflow", "state": "Pending Approval", "workflow_builder_id": null }, { "action": "Apply", "allow_self_approval": 1, "allowed": "PHCC End User", "condition": "doc.site_name and doc.asset_type == \"Biomedical\"", "next_state": "Sent To Maintenance manger", "parent": "Work Job Order", "parentfield": "transitions", "parenttype": "Workflow", "state": "Draft", "workflow_builder_id": null }, { "action": "Close", "allow_self_approval": 1, "allowed": "Cluster Manager", "condition": null, "next_state": "Closed", "parent": "Work Job Order", "parentfield": "transitions", "parenttype": "Workflow", "state": "Sent To Maintenance manger", "workflow_builder_id": null }, { "action": "Close", "allow_self_approval": 1, "allowed": "Cluster Manager", "condition": null, "next_state": "Closed", "parent": "Work Job Order", "parentfield": "transitions", "parenttype": "Workflow", "state": "Repair InProgress", "workflow_builder_id": null }, { "action": "Close", "allow_self_approval": 1, "allowed": "Cluster Manager", "condition": null, "next_state": "Closed", "parent": "Work Job Order", "parentfield": "transitions", "parenttype": "Workflow", "state": "Pending Purchase", "workflow_builder_id": null }, { "action": "Close", "allow_self_approval": 1, "allowed": "Cluster Manager", "condition": null, "next_state": "Closed", "parent": "Work Job Order", "parentfield": "transitions", "parenttype": "Workflow", "state": "Pending Approval", "workflow_builder_id": null }, { "action": "Close", "allow_self_approval": 1, "allowed": "Cluster Manager", "condition": null, "next_state": "Closed", "parent": "Work Job Order", "parentfield": "transitions", "parenttype": "Workflow", "state": "Sent to General WOA", "workflow_builder_id": null }, { "action": "Re-Open", "allow_self_approval": 1, "allowed": "Cluster Manager", "condition": "doc.asset_type != \"Non Biomedical\"", "next_state": "Sent To Maintenance manger", "parent": "Work Job Order", "parentfield": "transitions", "parenttype": "Workflow", "state": "Closed", "workflow_builder_id": null }, { "action": "Re-Open", "allow_self_approval": 1, "allowed": "Cluster Manager", "condition": "doc.site_name and doc.asset_type == \"Non Biomedical\"", "next_state": "Sent to General WOA", "parent": "Work Job Order", "parentfield": "transitions", "parenttype": "Workflow", "state": "Closed", "workflow_builder_id": null }, { "action": "Cancel", "allow_self_approval": 1, "allowed": "Cluster Manager", "condition": null, "next_state": "Cancelled", "parent": "Work Job Order", "parentfield": "transitions", "parenttype": "Workflow", "state": "Completed", "workflow_builder_id": null }, { "action": "Cancel", "allow_self_approval": 1, "allowed": "Cluster Manager", "condition": "doc.docstatus == 1", "next_state": "Cancelled", "parent": "Work Job Order", "parentfield": "transitions", "parenttype": "Workflow", "state": "Rejected", "workflow_builder_id": null }, { "action": "Apply", "allow_self_approval": 1, "allowed": "PHCC End User", "condition": "doc.site_name and doc.asset_type == \"Non Biomedical\"", "next_state": "Sent to General WOA", "parent": "Work Job Order", "parentfield": "transitions", "parenttype": "Workflow", "state": "Draft", "workflow_builder_id": null }, { "action": "Send For Repair", "allow_self_approval": 1, "allowed": "General WOA", "condition": "doc.custom_assign_to_contractor", "next_state": "Repair InProgress", "parent": "Work Job Order", "parentfield": "transitions", "parenttype": "Workflow", "state": "Sent to General WOA", "workflow_builder_id": null }, { "action": "Send For Approval", "allow_self_approval": 1, "allowed": "General Contractor", "condition": null, "next_state": "Pending Approval", "parent": "Work Job Order", "parentfield": "transitions", "parenttype": "Workflow", "state": "Repair InProgress", "workflow_builder_id": null }, { "action": "Accept", "allow_self_approval": 1, "allowed": "General WOA", "condition": null, "next_state": "Completed", "parent": "Work Job Order", "parentfield": "transitions", "parenttype": "Workflow", "state": "Pending Approval", "workflow_builder_id": null }, { "action": "Reject", "allow_self_approval": 1, "allowed": "General WOA", "condition": null, "next_state": "Rejected", "parent": "Work Job Order", "parentfield": "transitions", "parenttype": "Workflow", "state": "Pending Approval", "workflow_builder_id": null } ], "workflow_data": null, "workflow_name": "Work Job Order", "workflow_state_field": "workflow_state" } ]