{
  "id": "Approval.processworkitemrequest",
  "nodeType": "class",
  "name": "ProcessWorkitemRequest",
  "namespace": "Approval",
  "startToken": {
    "type": "declaration.entity.name.class",
    "text": "ProcessWorkitemRequest",
    "textToLower": "processworkitemrequest",
    "isAux": false,
    "range": {
      "start": {
        "line": -1,
        "character": 0
      },
      "end": {
        "line": -1,
        "character": 0
      },
      "isEmpty": true,
      "isSingleLine": true
    },
    "id": "declaration.entity.name.class_ProcessWorkitemRequest_-1:0"
  },
  "order": 0,
  "memberOrder": 0,
  "accessModifier": {
    "type": "keyword.modifier.access",
    "text": "global",
    "textToLower": "global",
    "isAux": false,
    "range": {
      "start": {
        "line": -1,
        "character": 0
      },
      "end": {
        "line": -1,
        "character": 0
      },
      "isEmpty": true,
      "isSingleLine": true
    },
    "id": "keyword.modifier.access_global_-1:0"
  },
  "sharingModifier": {
    "type": "keyword.modifier.sharing",
    "text": "without sharing",
    "textToLower": "without sharing",
    "isAux": false,
    "range": {
      "start": {
        "line": -1,
        "character": 0
      },
      "end": {
        "line": -1,
        "character": 0
      },
      "isEmpty": true,
      "isSingleLine": true
    },
    "id": "keyword.modifier.sharing_without sharing_-1:0"
  },
  "description": "Use the ProcessWorkitemRequest class for processing an approval request after it is submitted.",
  "documentation": "https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_ProcessWorkitemRequest.htm",
  "classes": {},
  "interfaces": {},
  "enums": {},
  "variables": {},
  "methods": {
    "getaction()": {
      "id": "Approval.processworkitemrequest.method.getaction()",
      "nodeType": "method",
      "name": "getAction",
      "startToken": {
        "type": "declaration.entity.name.function",
        "text": "getAction",
        "textToLower": "getaction",
        "isAux": false,
        "range": {
          "start": {
            "line": -1,
            "character": 0
          },
          "end": {
            "line": -1,
            "character": 0
          },
          "isEmpty": true,
          "isSingleLine": true
        },
        "id": "declaration.entity.name.function_getAction_-1:0"
      },
      "parentId": "Approval.processworkitemrequest",
      "order": 1,
      "memberOrder": 1,
      "accessModifier": {
        "type": "keyword.modifier.access",
        "text": "public",
        "textToLower": "public",
        "isAux": false,
        "range": {
          "start": {
            "line": 0,
            "character": 0
          },
          "end": {
            "line": 0,
            "character": 6
          },
          "isEmpty": false,
          "isSingleLine": true
        },
        "id": "token.type.identifier_public_0:0"
      },
      "signature": "public String getAction()",
      "overrideSignature": "public override String getAction()",
      "simplifiedSignature": "getAction()",
      "datatype": {
        "id": "Approval.processworkitemrequest.getaction.datatype.String",
        "nodeType": "datatype",
        "name": "String",
        "startToken": {
          "type": "datatype.primitive",
          "text": "String",
          "textToLower": "string",
          "isAux": false,
          "range": {
            "start": {
              "line": 0,
              "character": 7
            },
            "end": {
              "line": 0,
              "character": 13
            },
            "isEmpty": false,
            "isSingleLine": true
          },
          "id": "token.type.identifier_String_0:7"
        },
        "parentId": "Approval.processworkitemrequest.getaction",
        "order": 0,
        "memberOrder": 0,
        "type": "String"
      },
      "description": "Returns the type of action already associated with the approval request. Valid values are: Approve, Reject, or Removed.",
      "parentName": "ProcessWorkitemRequest",
      "variables": {},
      "params": {},
      "queries": [],
      "exceptions": []
    },
    "getworkitemid()": {
      "id": "Approval.processworkitemrequest.method.getworkitemid()",
      "nodeType": "method",
      "name": "getWorkitemId",
      "startToken": {
        "type": "declaration.entity.name.function",
        "text": "getWorkitemId",
        "textToLower": "getworkitemid",
        "isAux": false,
        "range": {
          "start": {
            "line": -1,
            "character": 0
          },
          "end": {
            "line": -1,
            "character": 0
          },
          "isEmpty": true,
          "isSingleLine": true
        },
        "id": "declaration.entity.name.function_getWorkitemId_-1:0"
      },
      "parentId": "Approval.processworkitemrequest",
      "order": 2,
      "memberOrder": 2,
      "accessModifier": {
        "type": "keyword.modifier.access",
        "text": "public",
        "textToLower": "public",
        "isAux": false,
        "range": {
          "start": {
            "line": 0,
            "character": 0
          },
          "end": {
            "line": 0,
            "character": 6
          },
          "isEmpty": false,
          "isSingleLine": true
        },
        "id": "token.type.identifier_public_0:0"
      },
      "signature": "public String getWorkitemId()",
      "overrideSignature": "public override String getWorkitemId()",
      "simplifiedSignature": "getWorkitemId()",
      "datatype": {
        "id": "Approval.processworkitemrequest.getworkitemid.datatype.String",
        "nodeType": "datatype",
        "name": "String",
        "startToken": {
          "type": "datatype.primitive",
          "text": "String",
          "textToLower": "string",
          "isAux": false,
          "range": {
            "start": {
              "line": 0,
              "character": 7
            },
            "end": {
              "line": 0,
              "character": 13
            },
            "isEmpty": false,
            "isSingleLine": true
          },
          "id": "token.type.identifier_String_0:7"
        },
        "parentId": "Approval.processworkitemrequest.getworkitemid",
        "order": 0,
        "memberOrder": 0,
        "type": "String"
      },
      "description": "Returns the ID of the approval request that is in the process of being approved, rejected, or removed.",
      "parentName": "ProcessWorkitemRequest",
      "variables": {},
      "params": {},
      "queries": [],
      "exceptions": []
    },
    "setaction(string)": {
      "id": "Approval.processworkitemrequest.method.setaction(string)",
      "nodeType": "method",
      "name": "setAction",
      "startToken": {
        "type": "declaration.entity.name.function",
        "text": "setAction",
        "textToLower": "setaction",
        "isAux": false,
        "range": {
          "start": {
            "line": -1,
            "character": 0
          },
          "end": {
            "line": -1,
            "character": 0
          },
          "isEmpty": true,
          "isSingleLine": true
        },
        "id": "declaration.entity.name.function_setAction_-1:0"
      },
      "parentId": "Approval.processworkitemrequest",
      "order": 3,
      "memberOrder": 3,
      "accessModifier": {
        "type": "keyword.modifier.access",
        "text": "public",
        "textToLower": "public",
        "isAux": false,
        "range": {
          "start": {
            "line": 0,
            "character": 0
          },
          "end": {
            "line": 0,
            "character": 6
          },
          "isEmpty": false,
          "isSingleLine": true
        },
        "id": "token.type.identifier_public_0:0"
      },
      "signature": "public Void setAction(String actionType)",
      "overrideSignature": "public override Void setAction(String actionType)",
      "simplifiedSignature": "setAction(String)",
      "datatype": {
        "id": "Approval.processworkitemrequest.setaction.datatype.Void",
        "nodeType": "datatype",
        "name": "Void",
        "startToken": {
          "type": "datatype.primitive",
          "text": "Void",
          "textToLower": "void",
          "isAux": false,
          "range": {
            "start": {
              "line": 0,
              "character": 7
            },
            "end": {
              "line": 0,
              "character": 11
            },
            "isEmpty": false,
            "isSingleLine": true
          },
          "id": "token.type.identifier_Void_0:7"
        },
        "parentId": "Approval.processworkitemrequest.setaction",
        "order": 0,
        "memberOrder": 0,
        "type": "Void"
      },
      "description": "Sets the type of action to take for processing an approval request.",
      "parentName": "ProcessWorkitemRequest",
      "variables": {},
      "params": {
        "actiontype": {
          "id": "Approval.processworkitemrequest.method.setaction(string).varParam.actiontype",
          "nodeType": "variable",
          "name": "actionType",
          "startToken": {
            "type": "declaration.entity.name.variable",
            "text": "actionType",
            "textToLower": "actiontype",
            "isAux": false,
            "range": {
              "start": {
                "line": 0,
                "character": 29
              },
              "end": {
                "line": 0,
                "character": 39
              },
              "isEmpty": false,
              "isSingleLine": true
            },
            "id": "token.type.identifier_actionType_0:29"
          },
          "endToken": {
            "type": "declaration.entity.name.variable",
            "text": "actionType",
            "textToLower": "actiontype",
            "isAux": false,
            "range": {
              "start": {
                "line": 0,
                "character": 29
              },
              "end": {
                "line": 0,
                "character": 39
              },
              "isEmpty": false,
              "isSingleLine": true
            },
            "id": "token.type.identifier_actionType_0:29"
          },
          "parentId": "Approval.processworkitemrequest.method.setaction(string)",
          "order": 1,
          "memberOrder": 1,
          "datatype": {
            "id": "Approval.processworkitemrequest.setaction.datatype.String",
            "nodeType": "datatype",
            "name": "String",
            "startToken": {
              "type": "datatype.primitive",
              "text": "String",
              "textToLower": "string",
              "isAux": false,
              "range": {
                "start": {
                  "line": 0,
                  "character": 22
                },
                "end": {
                  "line": 0,
                  "character": 28
                },
                "isEmpty": false,
                "isSingleLine": true
              },
              "id": "token.type.identifier_String_0:22"
            },
            "parentId": "Approval.processworkitemrequest.setaction",
            "order": 0,
            "memberOrder": 0,
            "type": "String"
          },
          "description": "Valid values are: Approve, Reject, or Removed. Only system administrators can specify Removed.",
          "scope": null
        }
      },
      "queries": [],
      "exceptions": []
    },
    "setworkitemid(string)": {
      "id": "Approval.processworkitemrequest.method.setworkitemid(string)",
      "nodeType": "method",
      "name": "setWorkitemId",
      "startToken": {
        "type": "declaration.entity.name.function",
        "text": "setWorkitemId",
        "textToLower": "setworkitemid",
        "isAux": false,
        "range": {
          "start": {
            "line": -1,
            "character": 0
          },
          "end": {
            "line": -1,
            "character": 0
          },
          "isEmpty": true,
          "isSingleLine": true
        },
        "id": "declaration.entity.name.function_setWorkitemId_-1:0"
      },
      "parentId": "Approval.processworkitemrequest",
      "order": 4,
      "memberOrder": 4,
      "accessModifier": {
        "type": "keyword.modifier.access",
        "text": "public",
        "textToLower": "public",
        "isAux": false,
        "range": {
          "start": {
            "line": 0,
            "character": 0
          },
          "end": {
            "line": 0,
            "character": 6
          },
          "isEmpty": false,
          "isSingleLine": true
        },
        "id": "token.type.identifier_public_0:0"
      },
      "signature": "public Void setWorkitemId(String id)",
      "overrideSignature": "public override Void setWorkitemId(String id)",
      "simplifiedSignature": "setWorkitemId(String)",
      "datatype": {
        "id": "Approval.processworkitemrequest.setworkitemid.datatype.Void",
        "nodeType": "datatype",
        "name": "Void",
        "startToken": {
          "type": "datatype.primitive",
          "text": "Void",
          "textToLower": "void",
          "isAux": false,
          "range": {
            "start": {
              "line": 0,
              "character": 7
            },
            "end": {
              "line": 0,
              "character": 11
            },
            "isEmpty": false,
            "isSingleLine": true
          },
          "id": "token.type.identifier_Void_0:7"
        },
        "parentId": "Approval.processworkitemrequest.setworkitemid",
        "order": 0,
        "memberOrder": 0,
        "type": "Void"
      },
      "description": "Sets the ID of the approval request that is being approved, rejected, or removed.",
      "parentName": "ProcessWorkitemRequest",
      "variables": {},
      "params": {
        "id": {
          "id": "Approval.processworkitemrequest.method.setworkitemid(string).varParam.id",
          "nodeType": "variable",
          "name": "id",
          "startToken": {
            "type": "declaration.entity.name.variable",
            "text": "id",
            "textToLower": "id",
            "isAux": false,
            "range": {
              "start": {
                "line": 0,
                "character": 33
              },
              "end": {
                "line": 0,
                "character": 35
              },
              "isEmpty": false,
              "isSingleLine": true
            },
            "id": "token.type.identifier_id_0:33"
          },
          "endToken": {
            "type": "declaration.entity.name.variable",
            "text": "id",
            "textToLower": "id",
            "isAux": false,
            "range": {
              "start": {
                "line": 0,
                "character": 33
              },
              "end": {
                "line": 0,
                "character": 35
              },
              "isEmpty": false,
              "isSingleLine": true
            },
            "id": "token.type.identifier_id_0:33"
          },
          "parentId": "Approval.processworkitemrequest.method.setworkitemid(string)",
          "order": 1,
          "memberOrder": 1,
          "datatype": {
            "id": "Approval.processworkitemrequest.setworkitemid.datatype.String",
            "nodeType": "datatype",
            "name": "String",
            "startToken": {
              "type": "datatype.primitive",
              "text": "String",
              "textToLower": "string",
              "isAux": false,
              "range": {
                "start": {
                  "line": 0,
                  "character": 26
                },
                "end": {
                  "line": 0,
                  "character": 32
                },
                "isEmpty": false,
                "isSingleLine": true
              },
              "id": "token.type.identifier_String_0:26"
            },
            "parentId": "Approval.processworkitemrequest.setworkitemid",
            "order": 0,
            "memberOrder": 0,
            "type": "String"
          },
          "description": "",
          "scope": null
        }
      },
      "queries": [],
      "exceptions": []
    }
  },
  "constructors": {},
  "extendsType": "",
  "implementTypes": [],
  "implements": {},
  "totalMembers": 4,
  "queries": []
}