|
|
@@ -1,94 +0,0 @@ |
|
|
|
{ |
|
|
|
"autoname": "field:workflow_name", |
|
|
|
"creation": "2012-12-28 10:49:55.000000", |
|
|
|
"description": "Defines workflow states and rules for a document.", |
|
|
|
"docstatus": 0, |
|
|
|
"doctype": "DocType", |
|
|
|
"document_type": "Transaction", |
|
|
|
"fields": [ |
|
|
|
{ |
|
|
|
"fieldname": "workflow_name", |
|
|
|
"fieldtype": "Data", |
|
|
|
"label": "Workflow Name", |
|
|
|
"permlevel": 0, |
|
|
|
"read_only": 0, |
|
|
|
"reqd": 1 |
|
|
|
}, |
|
|
|
{ |
|
|
|
"description": "DocType on which this Workflow is applicable.", |
|
|
|
"fieldname": "document_type", |
|
|
|
"fieldtype": "Link", |
|
|
|
"label": "Document Type", |
|
|
|
"options": "DocType", |
|
|
|
"permlevel": 0, |
|
|
|
"reqd": 1 |
|
|
|
}, |
|
|
|
{ |
|
|
|
"description": "If checked, all other workflows become inactive.", |
|
|
|
"fieldname": "is_active", |
|
|
|
"fieldtype": "Check", |
|
|
|
"label": "Is Active", |
|
|
|
"permlevel": 0 |
|
|
|
}, |
|
|
|
{ |
|
|
|
"description": "Different \"States\" this document can exist in. Like \"Open\", \"Pending Approval\" etc.", |
|
|
|
"fieldname": "states", |
|
|
|
"fieldtype": "Section Break", |
|
|
|
"label": "States", |
|
|
|
"permlevel": 0 |
|
|
|
}, |
|
|
|
{ |
|
|
|
"description": "All possible Workflow States and roles of the workflow. <br>Docstatus Options: 0 is\"Saved\", 1 is \"Submitted\" and 2 is \"Cancelled\"", |
|
|
|
"fieldname": "workflow_document_states", |
|
|
|
"fieldtype": "Table", |
|
|
|
"label": "Workflow Document States", |
|
|
|
"options": "Workflow Document State", |
|
|
|
"permlevel": 0, |
|
|
|
"reqd": 1 |
|
|
|
}, |
|
|
|
{ |
|
|
|
"description": "Rules for how states are transitions, like next state and which role is allowed to change state etc.", |
|
|
|
"fieldname": "transition_rules", |
|
|
|
"fieldtype": "Section Break", |
|
|
|
"label": "Transition Rules", |
|
|
|
"permlevel": 0 |
|
|
|
}, |
|
|
|
{ |
|
|
|
"description": "Rules defining transition of state in the workflow.", |
|
|
|
"fieldname": "workflow_transitions", |
|
|
|
"fieldtype": "Table", |
|
|
|
"label": "Workflow Transitions", |
|
|
|
"options": "Workflow Transition", |
|
|
|
"permlevel": 0, |
|
|
|
"reqd": 1 |
|
|
|
}, |
|
|
|
{ |
|
|
|
"default": "workflow_state", |
|
|
|
"description": "Field that represents the Workflow State of the transaction (if field is not present, a new hidden Custom Field will be created)", |
|
|
|
"fieldname": "workflow_state_field", |
|
|
|
"fieldtype": "Data", |
|
|
|
"label": "Workflow State Field", |
|
|
|
"permlevel": 0 |
|
|
|
} |
|
|
|
], |
|
|
|
"icon": "icon-random", |
|
|
|
"idx": 1, |
|
|
|
"modified": "2014-01-20 17:49:35.000000", |
|
|
|
"modified_by": "Administrator", |
|
|
|
"module": "Core", |
|
|
|
"name": "Workflow", |
|
|
|
"owner": "Administrator", |
|
|
|
"permissions": [ |
|
|
|
{ |
|
|
|
"cancel": 1, |
|
|
|
"create": 1, |
|
|
|
"delete": 1, |
|
|
|
"email": 1, |
|
|
|
"permlevel": 0, |
|
|
|
"print": 1, |
|
|
|
"read": 1, |
|
|
|
"role": "System Manager", |
|
|
|
"write": 1 |
|
|
|
} |
|
|
|
] |
|
|
|
} |