{
"sections": [
"title",
"description",
"fields",
"usage",
"wsdl_segment",
"field_reference"
],
"title": "ProcessDefinition - Data API",
"description": "Represents the definition of a single approval process.",
"fields_columns": [
"type",
"properties",
"description"
],
"fields": {
"Description": {
"type": "textarea",
"properties": "Filter, Nillable, Sort",
"description": "A description of this process, with a maximum of 3,000 characters."
},
"DeveloperName": {
"type": "string",
"properties": "Filter, Group, Sort",
"description": "The unique process name, used internally."
},
"LockType": {
"type": "picklist",
"properties": "Filter, Group, Restricted picklist, Sort",
"description": "The type of lock applied to the record being approved. When a record is in the approval process, it’s always locked, and only an administrator can edit it. However, the currently assigned approver can also be allowed to edit the record. Total Admin Owner Workitem Node none"
},
"Name": {
"type": "string",
"properties": "Filter, Group, idLookup, Sort",
"description": "The external name of the process; the name seen by users."
},
"State": {
"type": "picklist",
"properties": "Filter, Group, Restricted picklist, Sort",
"description": "The current state of this process. Active Inactive Obsolete"
},
"TableEnumOrId": {
"type": "picklist",
"properties": "Filter, Group, Restricted picklist, Sort",
"description": "Specifies the object associated with the approval process, such as Account or Contact."
},
"Type": {
"type": "picklist",
"properties": "Defaulted on create, Filter, Group, Restricted picklist, Sort",
"description": "The type of this process. Approval Process—Used to control the action taken for a record. State-based Process—Used internally to track various control processes, such as for developing Salesforce Knowledge articles."
}
},
"usage": "Use this object to read the description of an approval process. The definition is read-only.",
"wsdl_segment": "```xml\n\n \n \n \n \n\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n```",
"field_reference": {
"CreatedById": {
"field_label": "Created By ID",
"type": "reference",
"length": "18"
},
"CreatedDate": {
"field_label": "Created Date",
"type": "datetime"
},
"Description": {
"field_label": "Description",
"type": "textarea",
"length": "1000"
},
"DeveloperName": {
"field_label": "Unique Name",
"type": "string",
"length": "80"
},
"Id": {
"field_label": "Approval Process ID",
"type": "id",
"length": "18"
},
"LastModifiedById": {
"field_label": "Last Modified By ID",
"type": "reference",
"length": "18"
},
"LastModifiedDate": {
"field_label": "Last Modified Date",
"type": "datetime"
},
"LockType": {
"field_label": "Lock Type",
"type": "picklist",
"length": "40"
},
"Name": {
"field_label": "Name",
"type": "string",
"length": "40"
},
"State": {
"field_label": "State",
"type": "picklist",
"length": "40"
},
"SystemModstamp": {
"field_label": "System Modstamp",
"type": "datetime"
},
"TableEnumOrId": {
"field_label": "Custom Object Definition ID",
"type": "picklist",
"length": "40"
},
"Type": {
"field_label": "Process Definition Type",
"type": "picklist",
"length": "40"
}
},
"field_reference_columns": [
"field_label",
"type",
"length"
]
}