2265 lines
61 KiB
JSON

[
{
"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": "2026-01-29 15:12:46.870927",
"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
},
{
"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": "Applied",
"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
},
{
"action": "Apply",
"allow_self_approval": 1,
"allowed": "Maintenance Manager",
"condition": null,
"next_state": "Applied",
"parent": "Asset Maintenance Log",
"parentfield": "transitions",
"parenttype": "Workflow",
"state": "Draft",
"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": "2026-08-14 13:26:21.302350",
"name": "Work 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 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 Order",
"parentfield": "states",
"parenttype": "Workflow",
"state": "Sent to Team Leader",
"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 Order",
"parentfield": "states",
"parenttype": "Workflow",
"state": "Repair InProgress",
"update_field": "repair_status",
"update_value": "Work In Progress",
"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 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 Order",
"parentfield": "states",
"parenttype": "Workflow",
"state": "Pending Approval",
"update_field": "repair_status",
"update_value": "Pending Review",
"workflow_builder_id": null
},
{
"allow_edit": "End user",
"avoid_status_override": 0,
"doc_status": "0",
"is_optional_state": 0,
"message": null,
"next_action_email_template": null,
"parent": "Work Order",
"parentfield": "states",
"parenttype": "Workflow",
"state": "Completed",
"update_field": "repair_status",
"update_value": "Completed",
"workflow_builder_id": null
},
{
"allow_edit": "Site Supervisor",
"avoid_status_override": 0,
"doc_status": "0",
"is_optional_state": 0,
"message": null,
"next_action_email_template": null,
"parent": "Work Order",
"parentfield": "states",
"parenttype": "Workflow",
"state": "Completed",
"update_field": "repair_status",
"update_value": "Completed",
"workflow_builder_id": null
},
{
"allow_edit": "Projects Manager",
"avoid_status_override": 0,
"doc_status": "0",
"is_optional_state": 0,
"message": null,
"next_action_email_template": null,
"parent": "Work Order",
"parentfield": "states",
"parenttype": "Workflow",
"state": "Completed",
"update_field": "repair_status",
"update_value": "Completed",
"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 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": "0",
"is_optional_state": 0,
"message": null,
"next_action_email_template": null,
"parent": "Work 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": "0",
"is_optional_state": 0,
"message": null,
"next_action_email_template": null,
"parent": "Work 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": "0",
"is_optional_state": 0,
"message": null,
"next_action_email_template": null,
"parent": "Work 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 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 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 Order",
"parentfield": "states",
"parenttype": "Workflow",
"state": "Pending Approval",
"update_field": "repair_status",
"update_value": "Pending Review",
"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 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 Order",
"parentfield": "states",
"parenttype": "Workflow",
"state": "Closed",
"update_field": "repair_status",
"update_value": "Closed",
"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 Order",
"parentfield": "states",
"parenttype": "Workflow",
"state": "Closed",
"update_field": "repair_status",
"update_value": "Closed",
"workflow_builder_id": null
},
{
"allow_edit": "End user",
"avoid_status_override": 0,
"doc_status": "0",
"is_optional_state": 0,
"message": null,
"next_action_email_template": null,
"parent": "Work Order",
"parentfield": "states",
"parenttype": "Workflow",
"state": "Closed",
"update_field": "repair_status",
"update_value": "Closed",
"workflow_builder_id": null
},
{
"allow_edit": "Projects Manager",
"avoid_status_override": 0,
"doc_status": "0",
"is_optional_state": 0,
"message": null,
"next_action_email_template": null,
"parent": "Work Order",
"parentfield": "states",
"parenttype": "Workflow",
"state": "Sent To Project Manager",
"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 Order",
"parentfield": "states",
"parenttype": "Workflow",
"state": "Sent To Maintenance manger",
"update_field": null,
"update_value": null,
"workflow_builder_id": null
}
],
"transitions": [
{
"action": "Apply",
"allow_self_approval": 1,
"allowed": "End user",
"condition": "(doc.company == \"Iman General Hospital\" or doc.company == \"Mobile Team - Iman\")",
"next_state": "Sent to Team Leader",
"parent": "Work Order",
"parentfield": "transitions",
"parenttype": "Workflow",
"state": "Draft",
"workflow_builder_id": null
},
{
"action": "Apply",
"allow_self_approval": 1,
"allowed": "Technician",
"condition": "doc.asset_type == \"Biomedical\" and (doc.company == \"Iman General Hospital\" or doc.company == \"Mobile Team - Iman\")",
"next_state": "Sent to Team Leader",
"parent": "Work Order",
"parentfield": "transitions",
"parenttype": "Workflow",
"state": "Draft",
"workflow_builder_id": null
},
{
"action": "Send For Repair",
"allow_self_approval": 1,
"allowed": "Maintenance Manager",
"condition": "doc.custom_assign_to_contractor and (doc.company == \"Iman General Hospital\" or doc.company == \"Mobile Team - Iman\")",
"next_state": "Repair InProgress",
"parent": "Work Order",
"parentfield": "transitions",
"parenttype": "Workflow",
"state": "Sent to Team Leader",
"workflow_builder_id": null
},
{
"action": "Send For Approval",
"allow_self_approval": 1,
"allowed": "Technician",
"condition": "(doc.company == \"Iman General Hospital\" or doc.company == \"Mobile Team - Iman\")",
"next_state": "Pending Approval",
"parent": "Work 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 and (doc.company == \"Iman General Hospital\" or doc.company == \"Mobile Team - Iman\")",
"next_state": "Pending Purchase",
"parent": "Work Order",
"parentfield": "transitions",
"parenttype": "Workflow",
"state": "Repair InProgress",
"workflow_builder_id": null
},
{
"action": "Send For Repair",
"allow_self_approval": 1,
"allowed": "Finance Manager",
"condition": "(doc.company == \"Iman General Hospital\" or doc.company == \"Mobile Team - Iman\")",
"next_state": "Repair InProgress",
"parent": "Work Order",
"parentfield": "transitions",
"parenttype": "Workflow",
"state": "Pending Purchase",
"workflow_builder_id": null
},
{
"action": "Accept",
"allow_self_approval": 1,
"allowed": "Maintenance Manager",
"condition": "(doc.company == \"Iman General Hospital\" or doc.company == \"Mobile Team - Iman\")",
"next_state": "Completed",
"parent": "Work Order",
"parentfield": "transitions",
"parenttype": "Workflow",
"state": "Pending Approval",
"workflow_builder_id": null
},
{
"action": "Reject",
"allow_self_approval": 1,
"allowed": "Maintenance Manager",
"condition": "(doc.company == \"Iman General Hospital\" or doc.company == \"Mobile Team - Iman\")",
"next_state": "Rejected",
"parent": "Work 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\" and (doc.company == \"Iman General Hospital\" or doc.company == \"Mobile Team - Iman\")",
"next_state": "Sent to Team Leader",
"parent": "Work Order",
"parentfield": "transitions",
"parenttype": "Workflow",
"state": "Draft",
"workflow_builder_id": null
},
{
"action": "Close",
"allow_self_approval": 1,
"allowed": "End user",
"condition": "(doc.company == \"Iman General Hospital\" or doc.company == \"Mobile Team - Iman\")",
"next_state": "Closed",
"parent": "Work Order",
"parentfield": "transitions",
"parenttype": "Workflow",
"state": "Completed",
"workflow_builder_id": null
},
{
"action": "Cancel",
"allow_self_approval": 1,
"allowed": "Cluster Manager",
"condition": "(doc.company == \"Iman General Hospital\" or doc.company == \"Mobile Team - Iman\")",
"next_state": "Cancelled",
"parent": "Work Order",
"parentfield": "transitions",
"parenttype": "Workflow",
"state": "Closed",
"workflow_builder_id": null
},
{
"action": "Cancel",
"allow_self_approval": 1,
"allowed": "Cluster Manager",
"condition": "(doc.company == \"Iman General Hospital\" or doc.company == \"Mobile Team - Iman\")",
"next_state": "Cancelled",
"parent": "Work Order",
"parentfield": "transitions",
"parenttype": "Workflow",
"state": "Rejected",
"workflow_builder_id": null
},
{
"action": "Re-Open",
"allow_self_approval": 1,
"allowed": "Maintenance Manager",
"condition": "(doc.company == \"Iman General Hospital\" or doc.company == \"Mobile Team - Iman\")",
"next_state": "Repair InProgress",
"parent": "Work Order",
"parentfield": "transitions",
"parenttype": "Workflow",
"state": "Completed",
"workflow_builder_id": null
},
{
"action": "Apply",
"allow_self_approval": 1,
"allowed": "End user",
"condition": "doc.custom_assign_to_contractor and (doc.company != \"Iman General Hospital\" and doc.company != \"Mobile Team - Iman\")",
"next_state": "Repair InProgress",
"parent": "Work Order",
"parentfield": "transitions",
"parenttype": "Workflow",
"state": "Draft",
"workflow_builder_id": null
},
{
"action": "Apply",
"allow_self_approval": 1,
"allowed": "Technician",
"condition": "doc.custom_assign_to_contractor and (doc.company != \"Iman General Hospital\" and doc.company != \"Mobile Team - Iman\")",
"next_state": "Repair InProgress",
"parent": "Work Order",
"parentfield": "transitions",
"parenttype": "Workflow",
"state": "Draft",
"workflow_builder_id": null
},
{
"action": "Work Done",
"allow_self_approval": 1,
"allowed": "Technician",
"condition": "doc.custom_assign_to_contractor and (doc.company != \"Iman General Hospital\" and doc.company != \"Mobile Team - Iman\")",
"next_state": "Completed",
"parent": "Work Order",
"parentfield": "transitions",
"parenttype": "Workflow",
"state": "Repair InProgress",
"workflow_builder_id": null
},
{
"action": "Approve & Close",
"allow_self_approval": 1,
"allowed": "End user",
"condition": "doc.custom_assign_to_contractor and (doc.company != \"Iman General Hospital\" and doc.company != \"Mobile Team - Iman\")",
"next_state": "Closed",
"parent": "Work Order",
"parentfield": "transitions",
"parenttype": "Workflow",
"state": "Completed",
"workflow_builder_id": null
},
{
"action": "Approve & Close",
"allow_self_approval": 1,
"allowed": "Projects Manager",
"condition": "doc.custom_assign_to_contractor and (doc.company != \"Iman General Hospital\" and doc.company != \"Mobile Team - Iman\")",
"next_state": "Closed",
"parent": "Work Order",
"parentfield": "transitions",
"parenttype": "Workflow",
"state": "Completed",
"workflow_builder_id": null
},
{
"action": "Approve & Close",
"allow_self_approval": 1,
"allowed": "Site Supervisor",
"condition": "doc.custom_assign_to_contractor and (doc.company != \"Iman General Hospital\" and doc.company != \"Mobile Team - Iman\")",
"next_state": "Closed",
"parent": "Work Order",
"parentfield": "transitions",
"parenttype": "Workflow",
"state": "Completed",
"workflow_builder_id": null
},
{
"action": "Apply",
"allow_self_approval": 1,
"allowed": "End user",
"condition": "(doc.company == \"Long-Term Care Hospital\" or doc.company == \"Mobile Team - LCH\")",
"next_state": "Sent To Project Manager",
"parent": "Work Order",
"parentfield": "transitions",
"parenttype": "Workflow",
"state": "Draft",
"workflow_builder_id": null
},
{
"action": "Apply",
"allow_self_approval": 1,
"allowed": "Technician",
"condition": "(doc.company == \"Long-Term Care Hospital\" or doc.company == \"Mobile Team - LCH\")",
"next_state": "Sent To Project Manager",
"parent": "Work Order",
"parentfield": "transitions",
"parenttype": "Workflow",
"state": "Draft",
"workflow_builder_id": null
},
{
"action": "Send For Repair",
"allow_self_approval": 1,
"allowed": "Projects Manager",
"condition": "doc.custom_assign_to_contractor",
"next_state": "Repair InProgress",
"parent": "Work Order",
"parentfield": "transitions",
"parenttype": "Workflow",
"state": "Sent To Project Manager",
"workflow_builder_id": null
},
{
"action": "Apply",
"allow_self_approval": 1,
"allowed": "End user",
"condition": "doc.company == \"Imam Abdulrahman AlFaisal Hospital\"",
"next_state": "Sent To Maintenance manger",
"parent": "Work Order",
"parentfield": "transitions",
"parenttype": "Workflow",
"state": "Draft",
"workflow_builder_id": null
},
{
"action": "Apply",
"allow_self_approval": 1,
"allowed": "Technician",
"condition": "doc.company == \"Imam Abdulrahman AlFaisal Hospital\"",
"next_state": "Sent To Maintenance manger",
"parent": "Work Order",
"parentfield": "transitions",
"parenttype": "Workflow",
"state": "Draft",
"workflow_builder_id": null
},
{
"action": "Send For Repair",
"allow_self_approval": 1,
"allowed": "Maintenance Manager",
"condition": "doc.custom_assign_to_contractor",
"next_state": "Repair InProgress",
"parent": "Work Order",
"parentfield": "transitions",
"parenttype": "Workflow",
"state": "Sent To Maintenance manger",
"workflow_builder_id": null
}
],
"workflow_data": null,
"workflow_name": "Work Order",
"workflow_state_field": "workflow_state"
},
{
"docstatus": 0,
"doctype": "Workflow",
"document_type": "Work_Order",
"is_active": 0,
"modified": "2026-08-11 15:09:53.752228",
"name": "Work Order Flow",
"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 Order Flow",
"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 Order Flow",
"parentfield": "states",
"parenttype": "Workflow",
"state": "Sent to Team Leader",
"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 Order Flow",
"parentfield": "states",
"parenttype": "Workflow",
"state": "Repair InProgress",
"update_field": "repair_status",
"update_value": "Work In Progress",
"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 Order Flow",
"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 Order Flow",
"parentfield": "states",
"parenttype": "Workflow",
"state": "Pending Approval",
"update_field": "repair_status",
"update_value": "Pending Review",
"workflow_builder_id": null
},
{
"allow_edit": "End user",
"avoid_status_override": 0,
"doc_status": "0",
"is_optional_state": 0,
"message": null,
"next_action_email_template": null,
"parent": "Work Order Flow",
"parentfield": "states",
"parenttype": "Workflow",
"state": "Pending Approval",
"update_field": "repair_status",
"update_value": "Pending Review",
"workflow_builder_id": null
},
{
"allow_edit": "Site Supervisor",
"avoid_status_override": 0,
"doc_status": "0",
"is_optional_state": 0,
"message": null,
"next_action_email_template": null,
"parent": "Work Order Flow",
"parentfield": "states",
"parenttype": "Workflow",
"state": "Pending Approval",
"update_field": "repair_status",
"update_value": "Pending Review",
"workflow_builder_id": null
},
{
"allow_edit": "Projects Manager",
"avoid_status_override": 0,
"doc_status": "0",
"is_optional_state": 0,
"message": null,
"next_action_email_template": null,
"parent": "Work Order Flow",
"parentfield": "states",
"parenttype": "Workflow",
"state": "Pending Approval",
"update_field": "repair_status",
"update_value": "Pending Review",
"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 Order Flow",
"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": "0",
"is_optional_state": 0,
"message": null,
"next_action_email_template": null,
"parent": "Work Order Flow",
"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 Order Flow",
"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 Order Flow",
"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 Order Flow",
"parentfield": "states",
"parenttype": "Workflow",
"state": "Pending Approval",
"update_field": "repair_status",
"update_value": "Pending Review",
"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 Order Flow",
"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 Order Flow",
"parentfield": "states",
"parenttype": "Workflow",
"state": "Closed",
"update_field": "repair_status",
"update_value": "Closed",
"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 Order Flow",
"parentfield": "states",
"parenttype": "Workflow",
"state": "Closed",
"update_field": "repair_status",
"update_value": "Closed",
"workflow_builder_id": null
},
{
"allow_edit": "End user",
"avoid_status_override": 0,
"doc_status": "0",
"is_optional_state": 0,
"message": null,
"next_action_email_template": null,
"parent": "Work Order Flow",
"parentfield": "states",
"parenttype": "Workflow",
"state": "Closed",
"update_field": "repair_status",
"update_value": "Closed",
"workflow_builder_id": null
},
{
"allow_edit": "Projects Manager",
"avoid_status_override": 0,
"doc_status": "0",
"is_optional_state": 0,
"message": null,
"next_action_email_template": null,
"parent": "Work Order Flow",
"parentfield": "states",
"parenttype": "Workflow",
"state": "Sent To Project Manager",
"update_field": null,
"update_value": null,
"workflow_builder_id": null
}
],
"transitions": [
{
"action": "Apply",
"allow_self_approval": 1,
"allowed": "End user",
"condition": null,
"next_state": "Repair InProgress",
"parent": "Work Order Flow",
"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": "Work Order Flow",
"parentfield": "transitions",
"parenttype": "Workflow",
"state": "Repair InProgress",
"workflow_builder_id": null
},
{
"action": "Approve & Close",
"allow_self_approval": 1,
"allowed": "End user",
"condition": null,
"next_state": "Closed",
"parent": "Work Order Flow",
"parentfield": "transitions",
"parenttype": "Workflow",
"state": "Pending Approval",
"workflow_builder_id": null
},
{
"action": "Approve & Close",
"allow_self_approval": 1,
"allowed": "Projects Manager",
"condition": null,
"next_state": "Closed",
"parent": "Work Order Flow",
"parentfield": "transitions",
"parenttype": "Workflow",
"state": "Pending Approval",
"workflow_builder_id": null
},
{
"action": "Approve & Close",
"allow_self_approval": 1,
"allowed": "Site Supervisor",
"condition": null,
"next_state": "Closed",
"parent": "Work Order Flow",
"parentfield": "transitions",
"parenttype": "Workflow",
"state": "Pending Approval",
"workflow_builder_id": null
},
{
"action": "Apply",
"allow_self_approval": 1,
"allowed": "End user",
"condition": "(doc.company == \"Long-Term Care Hospital\" or doc.company == \"Mobile Team - LCH\")",
"next_state": "Sent To Project Manager",
"parent": "Work Order Flow",
"parentfield": "transitions",
"parenttype": "Workflow",
"state": "Draft",
"workflow_builder_id": null
},
{
"action": "Send For Repair",
"allow_self_approval": 1,
"allowed": "Projects Manager",
"condition": null,
"next_state": "Repair InProgress",
"parent": "Work Order Flow",
"parentfield": "transitions",
"parenttype": "Workflow",
"state": "Sent To Project Manager",
"workflow_builder_id": null
}
],
"workflow_data": null,
"workflow_name": "Work Order Flow",
"workflow_state_field": "workflow_state"
}
]