{
    "ObjectFields": [
        {
            "Name": "WorkflowId",
            "Type": "number",
            "Required": false,
            "PostData": true,
            "DefaultValue": 0
        },
        {
            "Name": "WorkflowTenantId",
            "Type": "number",
            "Required": false,
            "PostData": true,
            "DefaultValue": -1
        },
        {
            "Name": "WorkflowName",
            "Type": "string",
            "Label": "Workflow.Name",
            "PostData": true,
            "Required": true,
            "ValidRegEx": "",
            "DefaultValue": "",
            "LinkId": "WorkflowId",
            "PicklistJSON": "WorkFlow",
            "Multiple": false,
            "PicklistTitle": "WorkflowName",
            "PlaceHolder": "Enter Workflow",
            "Width": 360,
            "AddNew": true,
            "IsFirstField": true,
            "MaxLength": 100,
            "isKeyField": true
        },
        {
            "Name": "WorkflowParticulars",
            "Type": "string",
            "Label": "Workflow.Particulars",
            "PlaceHolder": "Enter Particulars",
            "PostData": true,
            "Required": false,
            "DefaultValue": "",
            "Width": 300,
            "MaxLength": 200
        },
        {
            "Name": "WorkflowSortOrder",
            "Type": "number",
            "Label": "Workflow.SortOrder",
            "PostData": true,
            "Required": false,
            "DefaultValue": 9999,
            "MaxLength": 10,
            "Width": 100
        },
        {
            "Name": "WorkflowEntityId",
            "Type": "number",
            "Required": false,
            "PostData": true,
            "DefaultValue": -1
        },
        {
            "Name": "EntityName",
            "Type": "string",
            "Label": "WorkflowConfig.Entity",
            "PostData": false,
            "Required": true,
            "DefaultValue": "",
            "LinkId": "WorkflowEntityId",
            "PicklistJSON": "Entity",
            "Multiple": false,
            "PicklistTitle": "Name",
            "PlaceHolder": "Select Entity",
            "Width": 360,
            "AddNew": false,
            "IsFirstField": false
        },
        {
            "Name": "WorkflowSourceType",
            "Type": "number",
            "Label": "",
            "PostData": true,
            "Required": false,
            "DefaultValue": 1,
            "Width": 100
        },
        {
            "Name": "WorkflowStatus",
            "Type": "number",
            "Label": "",
            "PostData": true,
            "Required": false,
            "DefaultValue": 1,
            "Width": 100
        },
        {
            "Name": "WorkflowVersion",
            "Type": "number",
            "Label": "",
            "PostData": true,
            "Required": false,
            "DefaultValue": 1,
            "Width": 100
        },
        {
            "Name": "WorkflowModifiedOn",
            "Type": "string",
            "Label": "",
            "PostData": true,
            "Required": false,
            "DefaultValue": "2026-02-24T05:38:50.71",
            "Width": 100
        },
        {
            "Name": "WorkflowCreatedOn",
            "Type": "string",
            "Label": "",
            "PostData": true,
            "Required": false,
            "DefaultValue": "2026-02-24T05:38:50.71",
            "Width": 100
        },
        {
            "Name": "WorkflowModifiedById",
            "Type": "number",
            "Label": "",
            "PostData": true,
            "Required": false,
            "DefaultValue": -1,
            "Width": 100
        },
        {
            "Name": "WorkflowCreatedById",
            "Type": "number",
            "Label": "",
            "PostData": true,
            "Required": false,
            "DefaultValue": -1,
            "Width": 100
        },
        {
            "Name": "WorkflowDetailArray",
            "Type": "string",
            "Label": "Workflow.WorkFlowGrid",
            "PostData": true,
            "SLNOField": "WorkflowDetailSlNo",
            "Required": false,
            "Grid": [
                {
                    "Label": "#",
                    "value": "WorkflowDetailSlNo",
                    "width": 50,
                    "Type": "SNo",
                    "IsVisible": true,
                    "SNo": 1
                },
                {
                    "value": "WorkflowDetailId",
                    "Type": "number",
                    "IsVisible": false,
                    "SNo": 1,
                    "PostData": true,
                    "DefaultValue": 0
                },
                {
                    "value": "WorkflowDetailWorkflowId",
                    "Type": "number",
                    "IsVisible": false,
                    "SNo": 1,
                    "PostData": true,
                    "DefaultValue": -1
                },
                {
                    "value": "WorkflowApprovalLevel",
                    "Type": "CheckBox",
                    "IsVisible": true,
                    "Label": "Approval Level",
                    "Required": false,
                    "SNo": 7,
                    "width": 150,
                    "PostData": true,
                    "DefaultValue": 0
                },
                {
                    "Label": "Eval Condition*",
                    "value": "WorkflowEvalCondition",
                    "Type": "string",
                    "width": 200,
                    "Required": true,
                    "IsVisible": true,
                    "Placeholder": "Enter Eval Condition",
                    "SNo": 8,
                    "MaxLength": 100
                },
                {
                    "value": "WorkflowEscalationRuleGroupId",
                    "Type": "number",
                    "IsVisible": false,
                    "SNo": 7,
                    "PostData": true,
                    "DefaultValue": -1
                },
                {
                    "value": "WorkflowPickListId",
                    "Type": "number",
                    "IsVisible": false,
                    "SNo": 7,
                    "PostData": true,
                    "DefaultValue": -1
                },
                {
                    "value": "WorkflowDisplayLabelId",
                    "Type": "number",
                    "IsVisible": false,
                    "SNo": 7,
                    "PostData": true,
                    "DefaultValue": -1
                },
                {
                    "value": "WorkflowIsAutoApprove",
                    "Type": "CheckBox",
                    "IsVisible": true,
                    "Label": "Is Auto Approve",
                    "SNo": 7,
                    "width": 150,
                    "PostData": true,
                    "DefaultValue": 0
                },
                {
                    "Label": "Workflow.StepName",
                    "value": "WorkflowDisplayName",
                    "Type": "string",
                    "width": 200,
                    "Required": true,
                    "IsVisible": true,
                    "Placeholder": "Enter Step",
                    "SNo": 3,
                    "MaxLength": 100
                },
                {
                    "Label": "Workflow.StepType",
                    "value": "WorkflowStepType",
                    "Type": "ComboBox",
                    "width": 150,
                    "Required": true,
                    "IsVisible": true,
                    "SNo": 5,
                    "PickLists": [
                        {
                            "key": 0,
                            "value": "Start"
                        },
                        {
                            "key": 1,
                            "value": "Approval"
                        },
                        {
                            "key": 2,
                            "value": "Notification"
                        },
                        {
                            "key": 3,
                            "value": "Parallel"
                        },
                        {
                            "key": 4,
                            "value": "End"
                        }
                    ],
                    "DefaultValue": 0
                },
                {
                    "Label": "Workflow.AssignmentType",
                    "value": "WorkflowAssignmentType",
                    "Type": "ComboBox",
                    "width": 180,
                    "Required": false,
                    "IsVisible": true,
                    "SNo": 6,
                    "PickLists": [
                        {
                            "key": 0,
                            "value": "User"
                        },
                        {
                            "key": 1,
                            "value": "User Group"
                        },
                        {
                            "key": 2,
                            "value": "Enrich Qualifier"
                        },
                        {
                            "key": 3,
                            "value": "Dynamic SQL"
                        },
                        {
                            "key": 4,
                            "value": "Service"
                        }
                    ],
                    "DefaultValue": 0
                },
                {
                    "value": "WorkflowAssignmentId",
                    "Type": "number",
                    "IsVisible": false,
                    "SNo": 7,
                    "PostData": true,
                    "DefaultValue": -1
                },
                {
                    "Label": "Workflow.Assignment",
                    "value": "WorkflowAssignmentName",
                    "Type": "Picklist",
                    "width": 280,
                    "Required": false,
                    "IsVisible": true,
                    "SNo": 8,
                    "PicklistDetail": {
                        "PicklistUrl": "WorkFlowAssignment",
                        "PicklistDisplayText": "WorkflowAssignmentName",
                        "PicklistSearchFields": "WorkflowAssignmentName",
                        "Multiple": false,
                        "PicklistSelection": "WorkflowAssignmentId",
                        "PicklistTitle": "WorkflowAssignmentName",
                        "PlaceHolder": "Select Assignment",
                        "Label": "",
                        "Width": 250,
                        "LinkId": "WorkflowAssignmentId,WorkflowAssignmentName",
                        "AddNew": false,
                        "Params":"/?FirstNumber=1&MaxResult=50",
                        "MaxLength": 35,
                        "ColumnWidth": "250,380",
                        "ColumnType": "string,string"
                    }
                },
                {
                    "Label": "Workflow.IsInitial",
                    "value": "WorkflowIsInitial",
                    "Type": "CheckBox",
                    "width": 100,
                    "IsVisible": true,
                    "SNo": 9,
                    "DefaultValue": 0
                },
                {
                    "Label": "Workflow.IsFinal",
                    "value": "WorkflowIsFinal",
                    "Type": "CheckBox",
                    "width": 100,
                    "IsVisible": true,
                    "SNo": 10,
                    "DefaultValue": 0
                },
                {
                    "Label": "Workflow.SlaHours",
                    "value": "WorkflowSlaHours",
                    "Type": "number",
                    "width": 100,
                    "IsVisible": true,
                    "Placeholder": "Enter Sla Hours",
                    "SNo": 11,
                    "DefaultValue": 0
                },
                {
                    "Label": "Workflow.ParallelGroup",
                    "value": "WorkflowParallelGroupKey",
                    "Type": "string",
                    "width": 230,
                    "Placeholder": "Enter Parallel Group",
                    "IsVisible": true,
                    "SNo": 12,
                    "MaxLength": 50
                }
            ]
        }
    ]
}