[
  {
    "apiName": "ProcessAction",
    "description": "Actions executed at specific points in the approval lifecycle (Submit, Final Approve, Final Reject, Recall, Step Approve, Step Reject)",
    "fields": [
      {
        "apiName": "ActionEvent",
        "label": "Action Event",
        "required": true,
        "type": "string"
      },
      {
        "apiName": "ActionType",
        "label": "Action Type",
        "required": true,
        "type": "string"
      },
      {
        "apiName": "ApiName",
        "label": "API Name",
        "type": "string"
      },
      {
        "apiName": "CreatedById",
        "createable": false,
        "label": "Created By",
        "referenceTo": [
          "User"
        ],
        "relationshipName": "CreatedBy",
        "type": "reference",
        "updateable": false
      },
      {
        "apiName": "CreatedDate",
        "createable": false,
        "default": "CURRENT_TIMESTAMP",
        "label": "Created Date",
        "type": "datetime",
        "updateable": false
      },
      {
        "apiName": "EmailTemplateId",
        "label": "Email Template",
        "referenceTo": [
          "_System_EmailTemplate"
        ],
        "type": "reference"
      },
      {
        "apiName": "FieldApiName",
        "label": "Field API Name",
        "type": "string"
      },
      {
        "apiName": "FieldValue",
        "label": "Field Value",
        "type": "string"
      },
      {
        "apiName": "Id",
        "createable": false,
        "label": "Record ID",
        "type": "string",
        "updateable": false
      },
      {
        "apiName": "IsDeleted",
        "createable": false,
        "default": "0",
        "label": "Deleted",
        "type": "string",
        "updateable": false
      },
      {
        "apiName": "LastModifiedById",
        "createable": false,
        "label": "Last Modified By",
        "referenceTo": [
          "User"
        ],
        "relationshipName": "LastModifiedBy",
        "type": "reference",
        "updateable": false
      },
      {
        "apiName": "LastModifiedDate",
        "createable": false,
        "default": "CURRENT_TIMESTAMP",
        "label": "Last Modified Date",
        "type": "datetime",
        "updateable": false
      },
      {
        "apiName": "Name",
        "isNameField": true,
        "label": "Action Name",
        "required": true,
        "type": "string"
      },
      {
        "apiName": "Order",
        "default": "0",
        "label": "Action Order",
        "required": true,
        "type": "double"
      },
      {
        "apiName": "ProcessDefinitionId",
        "label": "Process Definition",
        "referenceTo": [
          "ProcessDefinition"
        ],
        "required": true,
        "type": "reference"
      },
      {
        "apiName": "ProcessNodeId",
        "label": "Process Step (Node)",
        "referenceTo": [
          "ProcessNode"
        ],
        "type": "reference"
      }
    ],
    "keyPrefix": "!p0",
    "label": "Approval Process Action",
    "pluralLabel": "Approval Process Actions",
    "sharingModel": "PublicReadWrite",
    "tableType": "standard_object"
  }
]
