afv-library/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ProcessInstanceWorkitem.json

127 lines
5.2 KiB
JSON
Raw Normal View History

{
"sections": [
"title",
"description",
"fields",
"usage",
"wsdl_segment",
"field_reference"
],
"title": "ProcessInstanceWorkitem - Data API",
"description": "Represents a users pending approval request.",
"fields_columns": [
"type",
"properties",
"description",
"relationship_name",
"relationship_type",
"refers_to"
],
"fields": {
"ActorId": {
"type": "reference",
"properties": "Filter, Group, Sort, Update",
"description": "ID of the user responsible for approving an approval request. This field is a polymorphic relationship field.",
"relationship_name": "Actor",
"relationship_type": "Lookup",
"refers_to": "Group, User"
},
"ElapsedTimeInDays": {
"type": "double",
"properties": "Filter, Nillable, Sort",
"description": "The total time in days since this approval request was started."
},
"ElapsedTimeInHours": {
"type": "double",
"properties": "Filter, Nillable, Sort",
"description": "The total time in hours since this approval request was started."
},
"ElapsedTimeInMinutes": {
"type": "double",
"properties": "Filter, Nillable, Sort",
"description": "The total time in minutes since this approval request was started."
},
"OriginalActorId": {
"type": "reference",
"properties": "Filter, Group, Sort, Update",
"description": "ID of the user originally assigned this approval request. This field is a polymorphic relationship field.",
"relationship_name": "OriginalActor",
"relationship_type": "Lookup",
"refers_to": "Group, User"
},
"ProcessInstanceId": {
"type": "reference",
"properties": "Filter, Group, Sort, Update",
"description": "ID of the ProcessInstance associated with this approval request. This field is a relationship field.",
"relationship_name": "ProcessInstance",
"relationship_type": "Lookup",
"refers_to": "ProcessInstance"
}
},
"usage": "Use this object to manage a pending approval request for a user.",
"wsdl_segment": "```xml\n<simpleType name=\"ID\">\n <restriction base=\"xsd:string\">\n <length value=\"18\"/>\n <pattern value=\"[a-zA-Z0-9]{18}\"/>\n </restriction>\n</simpleType>\n<complexType name=\"ProcessInstanceWorkitem\">\n <complexContent>\n <extension base=\"ens:sObject\">\n <sequence>\n <element name=\"Actor\" nillable=\"true\" minOccurs=\"0\" type=\"ens:sObject\"/>\n <element name=\"ActorId\" nillable=\"true\" minOccurs=\"0\" type=\"tns:ID\"/>\n <element name=\"CreatedBy\" nillable=\"true\" minOccurs=\"0\" type=\"ens:User\"/>\n <element name=\"CreatedById\" nillable=\"true\" minOccurs=\"0\" type=\"tns:ID\"/>\n <element name=\"CreatedDate\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:dateTime\"/>\n <element name=\"ElapsedTimeInDays\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:double\"/>\n <element name=\"ElapsedTimeInHours\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:double\"/>\n <element name=\"ElapsedTimeInMinutes\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:double\"/>\n <element name=\"IsDeleted\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:boolean\"/>\n <element name=\"OriginalActor\" nillable=\"true\" minOccurs=\"0\" type=\"ens:sObject\"/>\n <element name=\"OriginalActorId\" nillable=\"true\" minOccurs=\"0\" type=\"tns:ID\"/>\n <element name=\"ProcessInstance\" nillable=\"true\" minOccurs=\"0\" type=\"ens:ProcessInstance\"/>\n <element name=\"ProcessInstanceId\" nillable=\"true\" minOccurs=\"0\" type=\"tns:ID\"/>\n <element name=\"SystemModstamp\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:dateTime\"/>\n </sequence>\n </extension>\n </complexContent>\n</complexType>\n```",
"field_reference": {
"ActorId": {
"field_label": "Actor ID",
"type": "reference",
"length": "18"
},
"CreatedById": {
"field_label": "Created By ID",
"type": "reference",
"length": "18"
},
"CreatedDate": {
"field_label": "Created Date",
"type": "datetime"
},
"ElapsedTimeInDays": {
"field_label": "Elapsed Time in Days",
"type": "double",
"precision": "7",
"scale": "3"
},
"ElapsedTimeInHours": {
"field_label": "Elapsed Time in Hours",
"type": "double",
"precision": "7",
"scale": "2"
},
"ElapsedTimeInMinutes": {
"field_label": "Elapsed Time in Minutes",
"type": "double",
"precision": "8",
"scale": "0"
},
"Id": {
"field_label": "Process Instance Workitem ID",
"type": "id",
"length": "18"
},
"IsDeleted": {
"field_label": "Deleted",
"type": "boolean"
},
"OriginalActorId": {
"field_label": "Original Actor ID",
"type": "reference",
"length": "18"
},
"ProcessInstanceId": {
"field_label": "Process Instance ID",
"type": "reference",
"length": "18"
},
"SystemModstamp": {
"field_label": "System Modstamp",
"type": "datetime"
}
},
"field_reference_columns": [
"field_label",
"type",
"length",
"precision",
"scale"
]
}