[
 {
  "owner": "swarnalata@webnotestech.com", 
  "docstatus": 0, 
  "creation": "2012-03-27 14:36:26", 
  "modified_by": "Administrator", 
  "modified": "2012-03-27 14:36:26"
 }, 
 {
  "section_style": "Tray", 
  "search_fields": "select_form,rule_status", 
  "module": "Setup", 
  "doctype": "DocType", 
  "document_type": "Master", 
  "autoname": "field:rule_name", 
  "name": "__common__", 
  "colour": "White:FFF", 
  "server_code_error": " ", 
  "show_in_menu": 0, 
  "version": 31
 }, 
 {
  "name": "__common__", 
  "parent": "Workflow Rule", 
  "doctype": "DocField", 
  "parenttype": "DocType", 
  "permlevel": 0, 
  "parentfield": "fields"
 }, 
 {
  "parent": "Workflow Rule", 
  "read": 1, 
  "report": 1, 
  "name": "__common__", 
  "create": 1, 
  "doctype": "DocPerm", 
  "write": 1, 
  "parenttype": "DocType", 
  "role": "System Manager", 
  "permlevel": 0, 
  "parentfield": "permissions"
 }, 
 {
  "name": "Workflow Rule", 
  "doctype": "DocType"
 }, 
 {
  "doctype": "DocPerm"
 }, 
 {
  "oldfieldtype": "Section Break", 
  "doctype": "DocField", 
  "label": "Rule Definition", 
  "fieldname": "rule_definition", 
  "fieldtype": "Section Break"
 }, 
 {
  "oldfieldtype": "HTML", 
  "doctype": "DocField", 
  "label": "Intro HTML", 
  "fieldname": "intro_html", 
  "fieldtype": "HTML", 
  "options": "<b>Select form for which you want to define rules,set priority & status.</b>"
 }, 
 {
  "oldfieldtype": "Data", 
  "doctype": "DocField", 
  "label": "Rule Name", 
  "oldfieldname": "rule_name", 
  "fieldname": "rule_name", 
  "fieldtype": "Data", 
  "reqd": 1
 }, 
 {
  "search_index": 0, 
  "colour": "White:FFF", 
  "doctype": "DocField", 
  "label": "Rule Status", 
  "oldfieldname": "rule_status", 
  "fieldname": "rule_status", 
  "fieldtype": "Select", 
  "oldfieldtype": "Select", 
  "reqd": 1, 
  "options": "\nActive\nInactive", 
  "in_filter": 1
 }, 
 {
  "oldfieldtype": "Link", 
  "colour": "White:FFF", 
  "doctype": "DocField", 
  "label": "Select Form", 
  "oldfieldname": "select_form", 
  "trigger": "Client", 
  "fieldname": "select_form", 
  "fieldtype": "Link", 
  "search_index": 1, 
  "reqd": 1, 
  "options": "DocType", 
  "in_filter": 1
 }, 
 {
  "oldfieldtype": "Int", 
  "doctype": "DocField", 
  "label": "Rule Priority", 
  "oldfieldname": "rule_priority", 
  "fieldname": "rule_priority", 
  "fieldtype": "Int", 
  "reqd": 0
 }, 
 {
  "oldfieldtype": "Section Break", 
  "colour": "White:FFF", 
  "doctype": "DocField", 
  "label": "Define Rule", 
  "fieldname": "define_rule", 
  "fieldtype": "Section Break", 
  "options": "Simple"
 }, 
 {
  "oldfieldtype": "Table", 
  "doctype": "DocField", 
  "label": "Workflow Rule Details", 
  "oldfieldname": "workflow_rule_details", 
  "width": "100px", 
  "fieldname": "workflow_rule_details", 
  "fieldtype": "Table", 
  "options": "Workflow Rule Detail"
 }, 
 {
  "print_hide": 1, 
  "oldfieldtype": "Code", 
  "colour": "White:FFF", 
  "doctype": "DocField", 
  "label": "Extra Condition", 
  "oldfieldname": "extra_condition", 
  "fieldname": "extra_condition", 
  "fieldtype": "Code", 
  "hidden": 1
 }, 
 {
  "oldfieldtype": "Section Break", 
  "colour": "White:FFF", 
  "doctype": "DocField", 
  "label": "Action Detail", 
  "fieldname": "action_detail", 
  "fieldtype": "Section Break"
 }, 
 {
  "oldfieldtype": "HTML", 
  "doctype": "DocField", 
  "label": "Action html", 
  "fieldname": "action_html", 
  "fieldtype": "HTML", 
  "options": "<b>Specify actions to be taken  when conditions hold satisfied</b>"
 }, 
 {
  "oldfieldtype": "Table", 
  "doctype": "DocField", 
  "label": "Workflow Action Details", 
  "oldfieldname": "workflow_action_details", 
  "fieldname": "workflow_action_details", 
  "fieldtype": "Table", 
  "options": "Workflow Action Detail"
 }, 
 {
  "print_hide": 1, 
  "no_copy": 1, 
  "oldfieldtype": "HTML", 
  "colour": "White:FFF", 
  "doctype": "DocField", 
  "label": "Reject HTML", 
  "fieldname": "reject_html", 
  "fieldtype": "HTML", 
  "hidden": 1, 
  "options": "<b>If any condition holds false the following message will be displayed . If you wish to stop rule engine when condition holds false then set 'Raise Exception' as 'Yes' otherwise keep this field blank or 'No'.</b>", 
  "report_hide": 1
 }, 
 {
  "print_hide": 1, 
  "no_copy": 1, 
  "oldfieldtype": "Text", 
  "colour": "White:FFF", 
  "doctype": "DocField", 
  "label": "Enter message", 
  "oldfieldname": "message", 
  "fieldname": "message", 
  "fieldtype": "Text", 
  "hidden": 1, 
  "report_hide": 1
 }, 
 {
  "print_hide": 1, 
  "no_copy": 1, 
  "oldfieldtype": "Select", 
  "colour": "White:FFF", 
  "doctype": "DocField", 
  "label": "Raise Exception", 
  "oldfieldname": "raise_exception", 
  "fieldname": "raise_exception", 
  "fieldtype": "Select", 
  "hidden": 1, 
  "options": "\nYes\nNo", 
  "report_hide": 1
 }
]