afv-library/skills/platform-data-and-tooling-api-context-get/assets/tooling_api/WorkflowTask.json

68 lines
4.9 KiB
JSON
Raw Normal View History

{
"sections": [
"title",
"description",
"supported_soap_calls",
"supported_rest_api_http_methods",
"fields",
"wsdl_segment"
],
"title": "WorkflowTask - Tooling API",
"description": "Represents a workflow task that is used to fire off a specific workflow action when the specified criteria is met. Includes access to the associated WorkflowRule object in Salesforce Metadata API.",
"supported_soap_calls": "`create()`, `delete()`, `query()`, `retrieve()`, `search()`, `update()`, `upsert()`",
"supported_rest_api_http_methods": "`Query`, `DELETE`, `GET`, `PATCH`, `POST`",
"fields_columns": [
"type",
"properties",
"description"
],
"fields": {
"EntityDefinition": {
"type": "EntityDefinition",
"properties": "Filter, Group, Sort.",
"description": "The entity definition for the object associated with the validation rule.",
"required": true
},
"EntityDefinitionId": {
"type": "string",
"properties": "Filter, Group, Sort",
"description": "The ID of the entity containing the workflow task."
},
"FullName": {
"type": "string",
"properties": "Create, Group, Nillable",
"description": "The full name of the associated metadata object in Metadata API. Query this field only if the query result contains no more than one record. Otherwise, an error is returned. If more than one record exists, use multiple queries to retrieve the records. This limit protects performance."
},
"ManageableState": {
"type": "ManageableState enumerated list",
"properties": "Filter, Group, Nillable, Restricted picklist, Sort",
"description": "Indicates the manageable state of the specified component that is contained in a package: beta deleted deprecated deprecatedEditable installed installedEditable released unmanaged"
},
"Metadata": {
"type": "mns:WorkflowTask",
"properties": "Create, Nillable, Update",
"description": "Workflow task metadata. Query this field only if the query result contains no more than one record. Otherwise, an error is returned. If more than one record exists, use multiple queries to retrieve the records. This limit protects performance."
},
"NamespacePrefix": {
"type": "string",
"properties": "Filter, Group, Nillable, Sort",
"description": "The namespace of the package containing the workflow task object."
},
"Priority": {
"type": "picklist",
"properties": "Filter, Group, Sort",
"description": "The tasks priority. Values are: High Normal Low"
},
"Status": {
"type": "picklist",
"properties": "Filter, Group, Sort",
"description": "The tasks status. Values are: Not Started In Progress Completed Waiting on someone else Deferred"
},
"Subject": {
"type": "string",
"properties": "Filter, Group, idLookup, Sort",
"description": "A subject for the workflow task. It is used if an email notification is sent when the task is assigned."
}
},
"wsdl_segment": "```xml\n<xsd:simpleType name=\"ActionTaskAssignedToTypes\">\n <xsd:restriction base=\"xsd:string\">\n <xsd:enumeration value=\"user\"/>\n <xsd:enumeration value=\"role\"/>\n <xsd:enumeration value=\"opportunityTeam\"/>\n <xsd:enumeration value=\"accountTeam\"/>\n <xsd:enumeration value=\"owner\"/>\n <xsd:enumeration value=\"accountOwner\"/>\n <xsd:enumeration value=\"creator\"/>\n <xsd:enumeration value=\"accountCreator\"/>\n <xsd:enumeration value=\"partnerUser\"/>\n <xsd:enumeration value=\"portalRole\"/>\n </xsd:restriction>\n</xsd:simpleType>\n<xsd:complexType name=\"WorkflowTask\">\n <xsd:complexContent>\n <xsd:extension base=\"ens:sObject\">\n <xsd:sequence>\n <xsd:element name=\"FullName\" minOccurs=\"0\" type=\"xsd:string\" nillable=\"true\"/>\n <xsd:element name=\"Metadata\" minOccurs=\"0\" type=\"mns:WorkflowTask\" nillable=\"true\"/>\n </xsd:sequence>\n </xsd:extension>\n </xsd:complexContent>\n</xsd:complexType>\n\n\n<xsd:complexType name=\"WorkflowTask\">\n <xsd:complexContent>\n <xsd:extension base=\"mns:WorkflowAction\">\n <xsd:sequence>\n <xsd:element name=\"assignedTo\" minOccurs=\"0\" type=\"xsd:string\"/>\n <xsd:element name=\"assignedToType\" type=\"tns:ActionTaskAssignedToTypes\"/>\n <xsd:element name=\"description\" minOccurs=\"0\" type=\"xsd:string\"/>\n <xsd:element name=\"dueDateOffset\" type=\"xsd:int\"/>\n <xsd:element name=\"notifyAssignee\" type=\"xsd:boolean\"/>\n <xsd:element name=\"offsetFromField\" minOccurs=\"0\" type=\"xsd:string\"/>\n <xsd:element name=\"priority\" type=\"xsd:string\"/>\n <xsd:element name=\"protected\" type=\"xsd:boolean\"/>\n <xsd:element name=\"status\" type=\"xsd:string\"/>\n <xsd:element name=\"subject\" type=\"xsd:string\"/>\n </xsd:sequence>\n </xsd:extension>\n </xsd:complexContent>\n</xsd:complexType>\n```"
}