2582 lines
66 KiB
JSON
2582 lines
66 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",
|
|
"send_email": 0,
|
|
"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",
|
|
"send_email": 0,
|
|
"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",
|
|
"send_email": 0,
|
|
"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",
|
|
"send_email": 0,
|
|
"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",
|
|
"send_email": 0,
|
|
"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",
|
|
"send_email_to_creator": 0,
|
|
"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",
|
|
"send_email_to_creator": 0,
|
|
"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",
|
|
"send_email_to_creator": 0,
|
|
"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",
|
|
"send_email_to_creator": 0,
|
|
"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",
|
|
"send_email": 0,
|
|
"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",
|
|
"send_email": 0,
|
|
"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",
|
|
"send_email": 0,
|
|
"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",
|
|
"send_email": 0,
|
|
"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",
|
|
"send_email": 0,
|
|
"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",
|
|
"send_email_to_creator": 0,
|
|
"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",
|
|
"send_email_to_creator": 0,
|
|
"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",
|
|
"send_email_to_creator": 0,
|
|
"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",
|
|
"send_email_to_creator": 0,
|
|
"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",
|
|
"send_email": 0,
|
|
"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",
|
|
"send_email": 0,
|
|
"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",
|
|
"send_email": 0,
|
|
"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",
|
|
"send_email": 0,
|
|
"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",
|
|
"send_email": 0,
|
|
"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",
|
|
"send_email_to_creator": 0,
|
|
"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",
|
|
"send_email_to_creator": 0,
|
|
"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",
|
|
"send_email_to_creator": 0,
|
|
"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",
|
|
"send_email_to_creator": 0,
|
|
"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",
|
|
"send_email": 0,
|
|
"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",
|
|
"send_email": 0,
|
|
"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",
|
|
"send_email": 0,
|
|
"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",
|
|
"send_email": 0,
|
|
"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",
|
|
"send_email": 0,
|
|
"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",
|
|
"send_email_to_creator": 0,
|
|
"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",
|
|
"send_email_to_creator": 0,
|
|
"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",
|
|
"send_email_to_creator": 0,
|
|
"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",
|
|
"send_email_to_creator": 0,
|
|
"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",
|
|
"send_email": 0,
|
|
"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",
|
|
"send_email": 0,
|
|
"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",
|
|
"send_email": 0,
|
|
"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",
|
|
"send_email": 0,
|
|
"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",
|
|
"send_email": 0,
|
|
"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",
|
|
"send_email_to_creator": 0,
|
|
"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",
|
|
"send_email_to_creator": 0,
|
|
"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",
|
|
"send_email_to_creator": 0,
|
|
"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",
|
|
"send_email_to_creator": 0,
|
|
"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",
|
|
"send_email": 0,
|
|
"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",
|
|
"send_email": 0,
|
|
"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",
|
|
"send_email": 0,
|
|
"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",
|
|
"send_email": 0,
|
|
"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",
|
|
"send_email": 0,
|
|
"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",
|
|
"send_email_to_creator": 0,
|
|
"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",
|
|
"send_email_to_creator": 0,
|
|
"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",
|
|
"send_email_to_creator": 0,
|
|
"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",
|
|
"send_email_to_creator": 0,
|
|
"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",
|
|
"send_email": 0,
|
|
"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",
|
|
"send_email": 0,
|
|
"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",
|
|
"send_email": 0,
|
|
"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",
|
|
"send_email": 0,
|
|
"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",
|
|
"send_email": 0,
|
|
"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",
|
|
"send_email_to_creator": 0,
|
|
"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",
|
|
"send_email_to_creator": 0,
|
|
"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",
|
|
"send_email_to_creator": 0,
|
|
"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",
|
|
"send_email_to_creator": 0,
|
|
"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",
|
|
"send_email": 0,
|
|
"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",
|
|
"send_email": 0,
|
|
"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",
|
|
"send_email": 0,
|
|
"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",
|
|
"send_email": 0,
|
|
"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",
|
|
"send_email_to_creator": 0,
|
|
"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",
|
|
"send_email_to_creator": 0,
|
|
"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",
|
|
"send_email_to_creator": 0,
|
|
"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",
|
|
"send_email": 0,
|
|
"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",
|
|
"send_email": 0,
|
|
"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",
|
|
"send_email": 0,
|
|
"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",
|
|
"send_email": 0,
|
|
"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",
|
|
"send_email": 0,
|
|
"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",
|
|
"send_email_to_creator": 0,
|
|
"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",
|
|
"send_email_to_creator": 0,
|
|
"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",
|
|
"send_email_to_creator": 0,
|
|
"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",
|
|
"send_email_to_creator": 0,
|
|
"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": 0,
|
|
"modified": "2026-01-06 13:49:22.777598",
|
|
"name": "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": "Job Order",
|
|
"parentfield": "states",
|
|
"parenttype": "Workflow",
|
|
"send_email": 1,
|
|
"state": "Draft",
|
|
"update_field": null,
|
|
"update_value": null,
|
|
"workflow_builder_id": null
|
|
},
|
|
{
|
|
"allow_edit": "Work Control",
|
|
"avoid_status_override": 0,
|
|
"doc_status": "0",
|
|
"is_optional_state": 0,
|
|
"message": null,
|
|
"next_action_email_template": null,
|
|
"parent": "Job Order",
|
|
"parentfield": "states",
|
|
"parenttype": "Workflow",
|
|
"send_email": 1,
|
|
"state": "Under Review",
|
|
"update_field": null,
|
|
"update_value": null,
|
|
"workflow_builder_id": null
|
|
},
|
|
{
|
|
"allow_edit": "Contractor Engineer",
|
|
"avoid_status_override": 0,
|
|
"doc_status": "0",
|
|
"is_optional_state": 0,
|
|
"message": null,
|
|
"next_action_email_template": null,
|
|
"parent": "Job Order",
|
|
"parentfield": "states",
|
|
"parenttype": "Workflow",
|
|
"send_email": 1,
|
|
"state": "Acknowledged",
|
|
"update_field": null,
|
|
"update_value": null,
|
|
"workflow_builder_id": null
|
|
},
|
|
{
|
|
"allow_edit": "Contractor Supervisor",
|
|
"avoid_status_override": 0,
|
|
"doc_status": "0",
|
|
"is_optional_state": 0,
|
|
"message": null,
|
|
"next_action_email_template": null,
|
|
"parent": "Job Order",
|
|
"parentfield": "states",
|
|
"parenttype": "Workflow",
|
|
"send_email": 1,
|
|
"state": "Sent to Supervisor",
|
|
"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": "Job Order",
|
|
"parentfield": "states",
|
|
"parenttype": "Workflow",
|
|
"send_email": 1,
|
|
"state": "Under Inspection",
|
|
"update_field": "repair_status",
|
|
"update_value": "Work In Progress",
|
|
"workflow_builder_id": null
|
|
},
|
|
{
|
|
"allow_edit": "Contractor Engineer",
|
|
"avoid_status_override": 0,
|
|
"doc_status": "0",
|
|
"is_optional_state": 0,
|
|
"message": null,
|
|
"next_action_email_template": null,
|
|
"parent": "Job Order",
|
|
"parentfield": "states",
|
|
"parenttype": "Workflow",
|
|
"send_email": 1,
|
|
"state": "Execution In Progress",
|
|
"update_field": null,
|
|
"update_value": null,
|
|
"workflow_builder_id": null
|
|
},
|
|
{
|
|
"allow_edit": "Contractor Supervisor",
|
|
"avoid_status_override": 0,
|
|
"doc_status": "0",
|
|
"is_optional_state": 0,
|
|
"message": null,
|
|
"next_action_email_template": null,
|
|
"parent": "Job Order",
|
|
"parentfield": "states",
|
|
"parenttype": "Workflow",
|
|
"send_email": 1,
|
|
"state": "Executed",
|
|
"update_field": "repair_status",
|
|
"update_value": "Executed",
|
|
"workflow_builder_id": null
|
|
},
|
|
{
|
|
"allow_edit": "Work Control",
|
|
"avoid_status_override": 0,
|
|
"doc_status": "1",
|
|
"is_optional_state": 0,
|
|
"message": null,
|
|
"next_action_email_template": null,
|
|
"parent": "Job Order",
|
|
"parentfield": "states",
|
|
"parenttype": "Workflow",
|
|
"send_email": 1,
|
|
"state": "Approved",
|
|
"update_field": "repair_status",
|
|
"update_value": "Completed",
|
|
"workflow_builder_id": null
|
|
},
|
|
{
|
|
"allow_edit": "Work Control",
|
|
"avoid_status_override": 0,
|
|
"doc_status": "1",
|
|
"is_optional_state": 0,
|
|
"message": null,
|
|
"next_action_email_template": null,
|
|
"parent": "Job Order",
|
|
"parentfield": "states",
|
|
"parenttype": "Workflow",
|
|
"send_email": 1,
|
|
"state": "Closed",
|
|
"update_field": "repair_status",
|
|
"update_value": "Closed",
|
|
"workflow_builder_id": null
|
|
},
|
|
{
|
|
"allow_edit": "Contractor Supervisor",
|
|
"avoid_status_override": 0,
|
|
"doc_status": "0",
|
|
"is_optional_state": 0,
|
|
"message": null,
|
|
"next_action_email_template": null,
|
|
"parent": "Job Order",
|
|
"parentfield": "states",
|
|
"parenttype": "Workflow",
|
|
"send_email": 1,
|
|
"state": "Procurement initiated",
|
|
"update_field": "",
|
|
"update_value": "",
|
|
"workflow_builder_id": null
|
|
}
|
|
],
|
|
"transitions": [
|
|
{
|
|
"action": "Apply",
|
|
"allow_self_approval": 1,
|
|
"allowed": "End user",
|
|
"condition": null,
|
|
"next_state": "Under Review",
|
|
"parent": "Job Order",
|
|
"parentfield": "transitions",
|
|
"parenttype": "Workflow",
|
|
"send_email_to_creator": 0,
|
|
"state": "Draft",
|
|
"workflow_builder_id": null
|
|
},
|
|
{
|
|
"action": "Send to Contractor",
|
|
"allow_self_approval": 1,
|
|
"allowed": "Work Control",
|
|
"condition": null,
|
|
"next_state": "Acknowledged",
|
|
"parent": "Job Order",
|
|
"parentfield": "transitions",
|
|
"parenttype": "Workflow",
|
|
"send_email_to_creator": 0,
|
|
"state": "Under Review",
|
|
"workflow_builder_id": null
|
|
},
|
|
{
|
|
"action": "Send to Supervisor",
|
|
"allow_self_approval": 1,
|
|
"allowed": "Contractor Engineer",
|
|
"condition": null,
|
|
"next_state": "Sent to Supervisor",
|
|
"parent": "Job Order",
|
|
"parentfield": "transitions",
|
|
"parenttype": "Workflow",
|
|
"send_email_to_creator": 0,
|
|
"state": "Acknowledged",
|
|
"workflow_builder_id": null
|
|
},
|
|
{
|
|
"action": "Assign Technician",
|
|
"allow_self_approval": 1,
|
|
"allowed": "Contractor Supervisor",
|
|
"condition": "doc.assigned_technician",
|
|
"next_state": "Under Inspection",
|
|
"parent": "Job Order",
|
|
"parentfield": "transitions",
|
|
"parenttype": "Workflow",
|
|
"send_email_to_creator": 0,
|
|
"state": "Sent to Supervisor",
|
|
"workflow_builder_id": null
|
|
},
|
|
{
|
|
"action": "Send to Execution",
|
|
"allow_self_approval": 1,
|
|
"allowed": "Technician",
|
|
"condition": null,
|
|
"next_state": "Execution In Progress",
|
|
"parent": "Job Order",
|
|
"parentfield": "transitions",
|
|
"parenttype": "Workflow",
|
|
"send_email_to_creator": 0,
|
|
"state": "Under Inspection",
|
|
"workflow_builder_id": null
|
|
},
|
|
{
|
|
"action": "Mark As Executed",
|
|
"allow_self_approval": 1,
|
|
"allowed": "Contractor Engineer",
|
|
"condition": null,
|
|
"next_state": "Executed",
|
|
"parent": "Job Order",
|
|
"parentfield": "transitions",
|
|
"parenttype": "Workflow",
|
|
"send_email_to_creator": 0,
|
|
"state": "Execution In Progress",
|
|
"workflow_builder_id": null
|
|
},
|
|
{
|
|
"action": "Approve",
|
|
"allow_self_approval": 1,
|
|
"allowed": "Contractor Supervisor",
|
|
"condition": null,
|
|
"next_state": "Approved",
|
|
"parent": "Job Order",
|
|
"parentfield": "transitions",
|
|
"parenttype": "Workflow",
|
|
"send_email_to_creator": 0,
|
|
"state": "Executed",
|
|
"workflow_builder_id": null
|
|
},
|
|
{
|
|
"action": "Return for Correction",
|
|
"allow_self_approval": 1,
|
|
"allowed": "Contractor Supervisor",
|
|
"condition": null,
|
|
"next_state": "Under Inspection",
|
|
"parent": "Job Order",
|
|
"parentfield": "transitions",
|
|
"parenttype": "Workflow",
|
|
"send_email_to_creator": 0,
|
|
"state": "Executed",
|
|
"workflow_builder_id": null
|
|
},
|
|
{
|
|
"action": "Final Closure",
|
|
"allow_self_approval": 1,
|
|
"allowed": "Work Control",
|
|
"condition": null,
|
|
"next_state": "Closed",
|
|
"parent": "Job Order",
|
|
"parentfield": "transitions",
|
|
"parenttype": "Workflow",
|
|
"send_email_to_creator": 0,
|
|
"state": "Approved",
|
|
"workflow_builder_id": null
|
|
},
|
|
{
|
|
"action": "Need Procurement",
|
|
"allow_self_approval": 1,
|
|
"allowed": "Technician",
|
|
"condition": "doc.need_procurement == 1",
|
|
"next_state": "Procurement initiated",
|
|
"parent": "Job Order",
|
|
"parentfield": "transitions",
|
|
"parenttype": "Workflow",
|
|
"send_email_to_creator": 0,
|
|
"state": "Under Inspection",
|
|
"workflow_builder_id": null
|
|
},
|
|
{
|
|
"action": "Issue Spares",
|
|
"allow_self_approval": 1,
|
|
"allowed": "Contractor Supervisor",
|
|
"condition": null,
|
|
"next_state": "Under Inspection",
|
|
"parent": "Job Order",
|
|
"parentfield": "transitions",
|
|
"parenttype": "Workflow",
|
|
"send_email_to_creator": 0,
|
|
"state": "Procurement initiated",
|
|
"workflow_builder_id": null
|
|
}
|
|
],
|
|
"workflow_data": null,
|
|
"workflow_name": "Job Order",
|
|
"workflow_state_field": "workflow_state"
|
|
},
|
|
{
|
|
"docstatus": 0,
|
|
"doctype": "Workflow",
|
|
"document_type": "Work_Order",
|
|
"is_active": 1,
|
|
"modified": "2026-02-18 14:15:26.468599",
|
|
"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",
|
|
"send_email": 1,
|
|
"state": "Draft",
|
|
"update_field": null,
|
|
"update_value": null,
|
|
"workflow_builder_id": null
|
|
},
|
|
{
|
|
"allow_edit": "Work Control",
|
|
"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",
|
|
"send_email": 1,
|
|
"state": "Draft",
|
|
"update_field": null,
|
|
"update_value": null,
|
|
"workflow_builder_id": null
|
|
},
|
|
{
|
|
"allow_edit": "Work Control",
|
|
"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",
|
|
"send_email": 1,
|
|
"state": "Sent to Work Control",
|
|
"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_Order",
|
|
"parentfield": "states",
|
|
"parenttype": "Workflow",
|
|
"send_email": 1,
|
|
"state": "Repair InProgress",
|
|
"update_field": "repair_status",
|
|
"update_value": "Work In Progress",
|
|
"workflow_builder_id": null
|
|
},
|
|
{
|
|
"allow_edit": "Contractor Engineer",
|
|
"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",
|
|
"send_email": 1,
|
|
"state": "Pending Approval",
|
|
"update_field": "repair_status",
|
|
"update_value": "Work In Progress",
|
|
"workflow_builder_id": null
|
|
},
|
|
{
|
|
"allow_edit": "Contractor 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",
|
|
"send_email": 1,
|
|
"state": "Approved",
|
|
"update_field": "repair_status",
|
|
"update_value": "Completed",
|
|
"workflow_builder_id": null
|
|
},
|
|
{
|
|
"allow_edit": "Contractor 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",
|
|
"send_email": 1,
|
|
"state": "Closed",
|
|
"update_field": "repair_status",
|
|
"update_value": "Closed",
|
|
"workflow_builder_id": null
|
|
},
|
|
{
|
|
"allow_edit": "Contractor 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",
|
|
"send_email": 1,
|
|
"state": "Sent to Work Control",
|
|
"update_field": "repair_status",
|
|
"update_value": "Open",
|
|
"workflow_builder_id": null
|
|
},
|
|
{
|
|
"allow_edit": "Contractor 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",
|
|
"send_email": 1,
|
|
"state": "Rejected",
|
|
"update_field": null,
|
|
"update_value": null,
|
|
"workflow_builder_id": null
|
|
},
|
|
{
|
|
"allow_edit": "Work Control",
|
|
"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",
|
|
"send_email": 1,
|
|
"state": "Closed",
|
|
"update_field": "repair_status",
|
|
"update_value": "Closed",
|
|
"workflow_builder_id": null
|
|
},
|
|
{
|
|
"allow_edit": "Contractor Engineer",
|
|
"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",
|
|
"send_email": 1,
|
|
"state": "Sent to Engineer",
|
|
"update_field": "repair_status",
|
|
"update_value": "Work In Progress",
|
|
"workflow_builder_id": null
|
|
},
|
|
{
|
|
"allow_edit": "Contractor 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",
|
|
"send_email": 1,
|
|
"state": "Sent to Supervisor",
|
|
"update_field": "repair_status",
|
|
"update_value": "Pending Review",
|
|
"workflow_builder_id": null
|
|
},
|
|
{
|
|
"allow_edit": "Contractor Engineer",
|
|
"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",
|
|
"send_email": 1,
|
|
"state": "Rejected",
|
|
"update_field": null,
|
|
"update_value": null,
|
|
"workflow_builder_id": null
|
|
},
|
|
{
|
|
"allow_edit": "Work Control",
|
|
"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",
|
|
"send_email": 1,
|
|
"state": "Cancelled",
|
|
"update_field": "repair_status",
|
|
"update_value": "Cancelled",
|
|
"workflow_builder_id": null
|
|
}
|
|
],
|
|
"transitions": [
|
|
{
|
|
"action": "Apply",
|
|
"allow_self_approval": 1,
|
|
"allowed": "End user",
|
|
"condition": null,
|
|
"next_state": "Sent to Work Control",
|
|
"parent": "Work_Order",
|
|
"parentfield": "transitions",
|
|
"parenttype": "Workflow",
|
|
"send_email_to_creator": 0,
|
|
"state": "Draft",
|
|
"workflow_builder_id": null
|
|
},
|
|
{
|
|
"action": "Apply",
|
|
"allow_self_approval": 1,
|
|
"allowed": "Work Control",
|
|
"condition": null,
|
|
"next_state": "Sent to Engineer",
|
|
"parent": "Work_Order",
|
|
"parentfield": "transitions",
|
|
"parenttype": "Workflow",
|
|
"send_email_to_creator": 0,
|
|
"state": "Draft",
|
|
"workflow_builder_id": null
|
|
},
|
|
{
|
|
"action": "Apply",
|
|
"allow_self_approval": 1,
|
|
"allowed": "Work Control",
|
|
"condition": null,
|
|
"next_state": "Sent to Engineer",
|
|
"parent": "Work_Order",
|
|
"parentfield": "transitions",
|
|
"parenttype": "Workflow",
|
|
"send_email_to_creator": 0,
|
|
"state": "Sent to Work Control",
|
|
"workflow_builder_id": null
|
|
},
|
|
{
|
|
"action": "Cancel",
|
|
"allow_self_approval": 1,
|
|
"allowed": "Work Control",
|
|
"condition": "doc.first_responded_on",
|
|
"next_state": "Cancelled",
|
|
"parent": "Work_Order",
|
|
"parentfield": "transitions",
|
|
"parenttype": "Workflow",
|
|
"send_email_to_creator": 0,
|
|
"state": "Sent to Work Control",
|
|
"workflow_builder_id": null
|
|
},
|
|
{
|
|
"action": "Assign Technician",
|
|
"allow_self_approval": 1,
|
|
"allowed": "Contractor Engineer",
|
|
"condition": null,
|
|
"next_state": "Repair InProgress",
|
|
"parent": "Work_Order",
|
|
"parentfield": "transitions",
|
|
"parenttype": "Workflow",
|
|
"send_email_to_creator": 0,
|
|
"state": "Sent to Engineer",
|
|
"workflow_builder_id": null
|
|
},
|
|
{
|
|
"action": "Back To Controller",
|
|
"allow_self_approval": 1,
|
|
"allowed": "Contractor Engineer",
|
|
"condition": null,
|
|
"next_state": "Sent to Work Control",
|
|
"parent": "Work_Order",
|
|
"parentfield": "transitions",
|
|
"parenttype": "Workflow",
|
|
"send_email_to_creator": 0,
|
|
"state": "Sent to Engineer",
|
|
"workflow_builder_id": null
|
|
},
|
|
{
|
|
"action": "Send to Supervisor",
|
|
"allow_self_approval": 1,
|
|
"allowed": "Contractor Engineer",
|
|
"condition": null,
|
|
"next_state": "Sent to Supervisor",
|
|
"parent": "Work_Order",
|
|
"parentfield": "transitions",
|
|
"parenttype": "Workflow",
|
|
"send_email_to_creator": 0,
|
|
"state": "Sent to Engineer",
|
|
"workflow_builder_id": null
|
|
},
|
|
{
|
|
"action": "Send For Approval",
|
|
"allow_self_approval": 1,
|
|
"allowed": "Technician",
|
|
"condition": null,
|
|
"next_state": "Pending Approval",
|
|
"parent": "Work_Order",
|
|
"parentfield": "transitions",
|
|
"parenttype": "Workflow",
|
|
"send_email_to_creator": 0,
|
|
"state": "Repair InProgress",
|
|
"workflow_builder_id": null
|
|
},
|
|
{
|
|
"action": "Back To Controller",
|
|
"allow_self_approval": 1,
|
|
"allowed": "Technician",
|
|
"condition": null,
|
|
"next_state": "Sent to Work Control",
|
|
"parent": "Work_Order",
|
|
"parentfield": "transitions",
|
|
"parenttype": "Workflow",
|
|
"send_email_to_creator": 0,
|
|
"state": "Repair InProgress",
|
|
"workflow_builder_id": null
|
|
},
|
|
{
|
|
"action": "Approve",
|
|
"allow_self_approval": 1,
|
|
"allowed": "Contractor Engineer",
|
|
"condition": null,
|
|
"next_state": "Sent to Supervisor",
|
|
"parent": "Work_Order",
|
|
"parentfield": "transitions",
|
|
"parenttype": "Workflow",
|
|
"send_email_to_creator": 0,
|
|
"state": "Pending Approval",
|
|
"workflow_builder_id": null
|
|
},
|
|
{
|
|
"action": "Reject",
|
|
"allow_self_approval": 1,
|
|
"allowed": "Contractor Engineer",
|
|
"condition": null,
|
|
"next_state": "Rejected",
|
|
"parent": "Work_Order",
|
|
"parentfield": "transitions",
|
|
"parenttype": "Workflow",
|
|
"send_email_to_creator": 0,
|
|
"state": "Pending Approval",
|
|
"workflow_builder_id": null
|
|
},
|
|
{
|
|
"action": "Approve & Close",
|
|
"allow_self_approval": 1,
|
|
"allowed": "Contractor Supervisor",
|
|
"condition": null,
|
|
"next_state": "Closed",
|
|
"parent": "Work_Order",
|
|
"parentfield": "transitions",
|
|
"parenttype": "Workflow",
|
|
"send_email_to_creator": 0,
|
|
"state": "Sent to Supervisor",
|
|
"workflow_builder_id": null
|
|
},
|
|
{
|
|
"action": "Reject",
|
|
"allow_self_approval": 1,
|
|
"allowed": "Contractor Supervisor",
|
|
"condition": null,
|
|
"next_state": "Rejected",
|
|
"parent": "Work_Order",
|
|
"parentfield": "transitions",
|
|
"parenttype": "Workflow",
|
|
"send_email_to_creator": 0,
|
|
"state": "Sent to Supervisor",
|
|
"workflow_builder_id": null
|
|
},
|
|
{
|
|
"action": "Close",
|
|
"allow_self_approval": 1,
|
|
"allowed": "Contractor Supervisor",
|
|
"condition": null,
|
|
"next_state": "Closed",
|
|
"parent": "Work_Order",
|
|
"parentfield": "transitions",
|
|
"parenttype": "Workflow",
|
|
"send_email_to_creator": 0,
|
|
"state": "Approved",
|
|
"workflow_builder_id": null
|
|
},
|
|
{
|
|
"action": "Close",
|
|
"allow_self_approval": 1,
|
|
"allowed": "Work Control",
|
|
"condition": null,
|
|
"next_state": "Closed",
|
|
"parent": "Work_Order",
|
|
"parentfield": "transitions",
|
|
"parenttype": "Workflow",
|
|
"send_email_to_creator": 0,
|
|
"state": "Approved",
|
|
"workflow_builder_id": null
|
|
},
|
|
{
|
|
"action": "Close",
|
|
"allow_self_approval": 1,
|
|
"allowed": "Cluster Manager",
|
|
"condition": null,
|
|
"next_state": "Closed",
|
|
"parent": "Work_Order",
|
|
"parentfield": "transitions",
|
|
"parenttype": "Workflow",
|
|
"send_email_to_creator": 0,
|
|
"state": "Draft",
|
|
"workflow_builder_id": null
|
|
},
|
|
{
|
|
"action": "Close",
|
|
"allow_self_approval": 1,
|
|
"allowed": "Cluster Manager",
|
|
"condition": null,
|
|
"next_state": "Closed",
|
|
"parent": "Work_Order",
|
|
"parentfield": "transitions",
|
|
"parenttype": "Workflow",
|
|
"send_email_to_creator": 0,
|
|
"state": "Sent to Work Control",
|
|
"workflow_builder_id": null
|
|
},
|
|
{
|
|
"action": "Close",
|
|
"allow_self_approval": 1,
|
|
"allowed": "Cluster Manager",
|
|
"condition": null,
|
|
"next_state": "Closed",
|
|
"parent": "Work_Order",
|
|
"parentfield": "transitions",
|
|
"parenttype": "Workflow",
|
|
"send_email_to_creator": 0,
|
|
"state": "Sent to Engineer",
|
|
"workflow_builder_id": null
|
|
},
|
|
{
|
|
"action": "Close",
|
|
"allow_self_approval": 1,
|
|
"allowed": "Cluster Manager",
|
|
"condition": null,
|
|
"next_state": "Closed",
|
|
"parent": "Work_Order",
|
|
"parentfield": "transitions",
|
|
"parenttype": "Workflow",
|
|
"send_email_to_creator": 0,
|
|
"state": "Repair InProgress",
|
|
"workflow_builder_id": null
|
|
},
|
|
{
|
|
"action": "Close",
|
|
"allow_self_approval": 1,
|
|
"allowed": "Cluster Manager",
|
|
"condition": null,
|
|
"next_state": "Closed",
|
|
"parent": "Work_Order",
|
|
"parentfield": "transitions",
|
|
"parenttype": "Workflow",
|
|
"send_email_to_creator": 0,
|
|
"state": "Pending Approval",
|
|
"workflow_builder_id": null
|
|
}
|
|
],
|
|
"workflow_data": null,
|
|
"workflow_name": "Work_Order",
|
|
"workflow_state_field": "workflow_state"
|
|
},
|
|
{
|
|
"docstatus": 0,
|
|
"doctype": "Workflow",
|
|
"document_type": "Inspection",
|
|
"is_active": 1,
|
|
"modified": "2026-02-11 10:17:25.411706",
|
|
"name": "Inspection",
|
|
"override_status": 0,
|
|
"send_email_alert": 0,
|
|
"states": [
|
|
{
|
|
"allow_edit": "Contractor Supervisor",
|
|
"avoid_status_override": 0,
|
|
"doc_status": "0",
|
|
"is_optional_state": 0,
|
|
"message": null,
|
|
"next_action_email_template": null,
|
|
"parent": "Inspection",
|
|
"parentfield": "states",
|
|
"parenttype": "Workflow",
|
|
"send_email": 1,
|
|
"state": "Draft",
|
|
"update_field": "status",
|
|
"update_value": "Open",
|
|
"workflow_builder_id": null
|
|
},
|
|
{
|
|
"allow_edit": "Work Control",
|
|
"avoid_status_override": 0,
|
|
"doc_status": "0",
|
|
"is_optional_state": 0,
|
|
"message": null,
|
|
"next_action_email_template": null,
|
|
"parent": "Inspection",
|
|
"parentfield": "states",
|
|
"parenttype": "Workflow",
|
|
"send_email": 1,
|
|
"state": "Sent to Work Control",
|
|
"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": "Inspection",
|
|
"parentfield": "states",
|
|
"parenttype": "Workflow",
|
|
"send_email": 1,
|
|
"state": "Sent to technician",
|
|
"update_field": "status",
|
|
"update_value": "In Progress",
|
|
"workflow_builder_id": null
|
|
},
|
|
{
|
|
"allow_edit": "Contractor Supervisor",
|
|
"avoid_status_override": 0,
|
|
"doc_status": "0",
|
|
"is_optional_state": 0,
|
|
"message": null,
|
|
"next_action_email_template": null,
|
|
"parent": "Inspection",
|
|
"parentfield": "states",
|
|
"parenttype": "Workflow",
|
|
"send_email": 1,
|
|
"state": "Sent to Supervisor",
|
|
"update_field": "status",
|
|
"update_value": "Pending Review",
|
|
"workflow_builder_id": null
|
|
},
|
|
{
|
|
"allow_edit": "Contractor Supervisor",
|
|
"avoid_status_override": 0,
|
|
"doc_status": "1",
|
|
"is_optional_state": 0,
|
|
"message": null,
|
|
"next_action_email_template": null,
|
|
"parent": "Inspection",
|
|
"parentfield": "states",
|
|
"parenttype": "Workflow",
|
|
"send_email": 1,
|
|
"state": "Closed",
|
|
"update_field": "status",
|
|
"update_value": "Closed",
|
|
"workflow_builder_id": null
|
|
}
|
|
],
|
|
"transitions": [
|
|
{
|
|
"action": "Apply",
|
|
"allow_self_approval": 1,
|
|
"allowed": "Contractor Supervisor",
|
|
"condition": null,
|
|
"next_state": "Sent to Work Control",
|
|
"parent": "Inspection",
|
|
"parentfield": "transitions",
|
|
"parenttype": "Workflow",
|
|
"send_email_to_creator": 0,
|
|
"state": "Draft",
|
|
"workflow_builder_id": null
|
|
},
|
|
{
|
|
"action": "Send to Technician",
|
|
"allow_self_approval": 1,
|
|
"allowed": "Work Control",
|
|
"condition": null,
|
|
"next_state": "Sent to technician",
|
|
"parent": "Inspection",
|
|
"parentfield": "transitions",
|
|
"parenttype": "Workflow",
|
|
"send_email_to_creator": 0,
|
|
"state": "Sent to Work Control",
|
|
"workflow_builder_id": null
|
|
},
|
|
{
|
|
"action": "Send to Supervisor",
|
|
"allow_self_approval": 1,
|
|
"allowed": "Technician",
|
|
"condition": null,
|
|
"next_state": "Sent to Supervisor",
|
|
"parent": "Inspection",
|
|
"parentfield": "transitions",
|
|
"parenttype": "Workflow",
|
|
"send_email_to_creator": 0,
|
|
"state": "Sent to technician",
|
|
"workflow_builder_id": null
|
|
},
|
|
{
|
|
"action": "Close",
|
|
"allow_self_approval": 1,
|
|
"allowed": "Contractor Supervisor",
|
|
"condition": null,
|
|
"next_state": "Closed",
|
|
"parent": "Inspection",
|
|
"parentfield": "transitions",
|
|
"parenttype": "Workflow",
|
|
"send_email_to_creator": 0,
|
|
"state": "Sent to Supervisor",
|
|
"workflow_builder_id": null
|
|
}
|
|
],
|
|
"workflow_data": null,
|
|
"workflow_name": "Inspection",
|
|
"workflow_state_field": "workflow_state"
|
|
},
|
|
{
|
|
"docstatus": 0,
|
|
"doctype": "Workflow",
|
|
"document_type": "Asset",
|
|
"is_active": 1,
|
|
"modified": "2026-02-05 10:32:05.476553",
|
|
"name": "Asset",
|
|
"override_status": 0,
|
|
"send_email_alert": 0,
|
|
"states": [
|
|
{
|
|
"allow_edit": "Work Control",
|
|
"avoid_status_override": 0,
|
|
"doc_status": "0",
|
|
"is_optional_state": 0,
|
|
"message": null,
|
|
"next_action_email_template": null,
|
|
"parent": "Asset",
|
|
"parentfield": "states",
|
|
"parenttype": "Workflow",
|
|
"send_email": 1,
|
|
"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",
|
|
"parentfield": "states",
|
|
"parenttype": "Workflow",
|
|
"send_email": 1,
|
|
"state": "Draft",
|
|
"update_field": null,
|
|
"update_value": null,
|
|
"workflow_builder_id": null
|
|
},
|
|
{
|
|
"allow_edit": "Contractor Engineer",
|
|
"avoid_status_override": 0,
|
|
"doc_status": "0",
|
|
"is_optional_state": 0,
|
|
"message": null,
|
|
"next_action_email_template": null,
|
|
"parent": "Asset",
|
|
"parentfield": "states",
|
|
"parenttype": "Workflow",
|
|
"send_email": 1,
|
|
"state": "Draft",
|
|
"update_field": null,
|
|
"update_value": null,
|
|
"workflow_builder_id": null
|
|
},
|
|
{
|
|
"allow_edit": "Contractor Supervisor",
|
|
"avoid_status_override": 0,
|
|
"doc_status": "0",
|
|
"is_optional_state": 0,
|
|
"message": null,
|
|
"next_action_email_template": null,
|
|
"parent": "Asset",
|
|
"parentfield": "states",
|
|
"parenttype": "Workflow",
|
|
"send_email": 1,
|
|
"state": "Sent to Supervisor",
|
|
"update_field": null,
|
|
"update_value": null,
|
|
"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": "Asset",
|
|
"parentfield": "states",
|
|
"parenttype": "Workflow",
|
|
"send_email": 1,
|
|
"state": "Pending Approval",
|
|
"update_field": null,
|
|
"update_value": null,
|
|
"workflow_builder_id": null
|
|
},
|
|
{
|
|
"allow_edit": "Cluster Manager",
|
|
"avoid_status_override": 0,
|
|
"doc_status": "1",
|
|
"is_optional_state": 0,
|
|
"message": null,
|
|
"next_action_email_template": null,
|
|
"parent": "Asset",
|
|
"parentfield": "states",
|
|
"parenttype": "Workflow",
|
|
"send_email": 1,
|
|
"state": "Approved",
|
|
"update_field": null,
|
|
"update_value": null,
|
|
"workflow_builder_id": null
|
|
}
|
|
],
|
|
"transitions": [
|
|
{
|
|
"action": "Apply",
|
|
"allow_self_approval": 1,
|
|
"allowed": "Work Control",
|
|
"condition": null,
|
|
"next_state": "Sent to Supervisor",
|
|
"parent": "Asset",
|
|
"parentfield": "transitions",
|
|
"parenttype": "Workflow",
|
|
"send_email_to_creator": 0,
|
|
"state": "Draft",
|
|
"workflow_builder_id": null
|
|
},
|
|
{
|
|
"action": "Apply",
|
|
"allow_self_approval": 1,
|
|
"allowed": "Technician",
|
|
"condition": null,
|
|
"next_state": "Sent to Supervisor",
|
|
"parent": "Asset",
|
|
"parentfield": "transitions",
|
|
"parenttype": "Workflow",
|
|
"send_email_to_creator": 0,
|
|
"state": "Draft",
|
|
"workflow_builder_id": null
|
|
},
|
|
{
|
|
"action": "Apply",
|
|
"allow_self_approval": 1,
|
|
"allowed": "Contractor Engineer",
|
|
"condition": null,
|
|
"next_state": "Sent to Supervisor",
|
|
"parent": "Asset",
|
|
"parentfield": "transitions",
|
|
"parenttype": "Workflow",
|
|
"send_email_to_creator": 0,
|
|
"state": "Draft",
|
|
"workflow_builder_id": null
|
|
},
|
|
{
|
|
"action": "Send For Approval",
|
|
"allow_self_approval": 1,
|
|
"allowed": "Contractor Supervisor",
|
|
"condition": null,
|
|
"next_state": "Pending Approval",
|
|
"parent": "Asset",
|
|
"parentfield": "transitions",
|
|
"parenttype": "Workflow",
|
|
"send_email_to_creator": 0,
|
|
"state": "Sent to Supervisor",
|
|
"workflow_builder_id": null
|
|
},
|
|
{
|
|
"action": "Approve",
|
|
"allow_self_approval": 1,
|
|
"allowed": "Cluster Manager",
|
|
"condition": null,
|
|
"next_state": "Approved",
|
|
"parent": "Asset",
|
|
"parentfield": "transitions",
|
|
"parenttype": "Workflow",
|
|
"send_email_to_creator": 0,
|
|
"state": "Pending Approval",
|
|
"workflow_builder_id": null
|
|
}
|
|
],
|
|
"workflow_data": null,
|
|
"workflow_name": "Asset",
|
|
"workflow_state_field": "workflow_state"
|
|
},
|
|
{
|
|
"docstatus": 0,
|
|
"doctype": "Workflow",
|
|
"document_type": "Delete Request",
|
|
"is_active": 0,
|
|
"modified": "2026-02-19 10:30:57.996139",
|
|
"name": "Delete Request",
|
|
"override_status": 0,
|
|
"send_email_alert": 0,
|
|
"states": [
|
|
{
|
|
"allow_edit": "Contractor Supervisor",
|
|
"avoid_status_override": 0,
|
|
"doc_status": "0",
|
|
"is_optional_state": 0,
|
|
"message": null,
|
|
"next_action_email_template": null,
|
|
"parent": "Delete Request",
|
|
"parentfield": "states",
|
|
"parenttype": "Workflow",
|
|
"send_email": 1,
|
|
"state": "Pending Supervisor",
|
|
"update_field": null,
|
|
"update_value": null,
|
|
"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": "Delete Request",
|
|
"parentfield": "states",
|
|
"parenttype": "Workflow",
|
|
"send_email": 1,
|
|
"state": "Pending Cluster Manager",
|
|
"update_field": null,
|
|
"update_value": null,
|
|
"workflow_builder_id": null
|
|
},
|
|
{
|
|
"allow_edit": "Cluster Manager",
|
|
"avoid_status_override": 0,
|
|
"doc_status": "1",
|
|
"is_optional_state": 0,
|
|
"message": null,
|
|
"next_action_email_template": null,
|
|
"parent": "Delete Request",
|
|
"parentfield": "states",
|
|
"parenttype": "Workflow",
|
|
"send_email": 1,
|
|
"state": "Approved",
|
|
"update_field": null,
|
|
"update_value": null,
|
|
"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": "Delete Request",
|
|
"parentfield": "states",
|
|
"parenttype": "Workflow",
|
|
"send_email": 1,
|
|
"state": "Rejected",
|
|
"update_field": null,
|
|
"update_value": null,
|
|
"workflow_builder_id": null
|
|
}
|
|
],
|
|
"transitions": [
|
|
{
|
|
"action": "Send For Approval",
|
|
"allow_self_approval": 1,
|
|
"allowed": "Contractor Supervisor",
|
|
"condition": null,
|
|
"next_state": "Pending Cluster Manager",
|
|
"parent": "Delete Request",
|
|
"parentfield": "transitions",
|
|
"parenttype": "Workflow",
|
|
"send_email_to_creator": 0,
|
|
"state": "Pending Supervisor",
|
|
"workflow_builder_id": null
|
|
},
|
|
{
|
|
"action": "Approve",
|
|
"allow_self_approval": 1,
|
|
"allowed": "Cluster Manager",
|
|
"condition": null,
|
|
"next_state": "Approved",
|
|
"parent": "Delete Request",
|
|
"parentfield": "transitions",
|
|
"parenttype": "Workflow",
|
|
"send_email_to_creator": 0,
|
|
"state": "Pending Cluster Manager",
|
|
"workflow_builder_id": null
|
|
},
|
|
{
|
|
"action": "Reject",
|
|
"allow_self_approval": 1,
|
|
"allowed": "Cluster Manager",
|
|
"condition": null,
|
|
"next_state": "Rejected",
|
|
"parent": "Delete Request",
|
|
"parentfield": "transitions",
|
|
"parenttype": "Workflow",
|
|
"send_email_to_creator": 0,
|
|
"state": "Pending Cluster Manager",
|
|
"workflow_builder_id": null
|
|
}
|
|
],
|
|
"workflow_data": null,
|
|
"workflow_name": "Delete Request",
|
|
"workflow_state_field": "workflow_state"
|
|
}
|
|
] |