[
  {
    "apiName": "ProcessInstanceNode",
    "description": "Runtime step execution records for approval instances",
    "fields": [
      {
        "apiName": "Comments",
        "label": "Comments",
        "type": "string"
      },
      {
        "apiName": "CompletedDate",
        "label": "Completed Date",
        "type": "datetime"
      },
      {
        "apiName": "CreatedDate",
        "createable": false,
        "default": "CURRENT_TIMESTAMP",
        "label": "Created Date",
        "type": "datetime",
        "updateable": false
      },
      {
        "apiName": "Id",
        "createable": false,
        "label": "Record ID",
        "type": "string",
        "updateable": false
      },
      {
        "apiName": "LastActorId",
        "label": "Last Actor",
        "referenceTo": [
          "User"
        ],
        "type": "reference"
      },
      {
        "apiName": "LastModifiedDate",
        "createable": false,
        "default": "CURRENT_TIMESTAMP",
        "label": "Last Modified Date",
        "type": "datetime",
        "updateable": false
      },
      {
        "apiName": "NodeStatus",
        "default": "Pending",
        "label": "Status",
        "required": true,
        "type": "string"
      },
      {
        "apiName": "ProcessInstanceId",
        "label": "Process Instance",
        "referenceTo": [
          "ProcessInstance"
        ],
        "required": true,
        "type": "reference"
      },
      {
        "apiName": "ProcessNodeId",
        "label": "Process Node",
        "referenceTo": [
          "ProcessNode"
        ],
        "type": "reference"
      },
      {
        "apiName": "ProcessNodeName",
        "label": "Step Name",
        "type": "string"
      }
    ],
    "keyPrefix": "0OO",
    "label": "Approval Step Instance",
    "pluralLabel": "Approval Step Instances",
    "sharingModel": "PublicReadWrite",
    "tableType": "standard_object"
  }
]
