Robocorp · Schema
Robocorp Work Item
Schema for a Robocorp Control Room work item used in RPA process queues.
RPAWorkflow AutomationPythonOpen SourceAutomation
Properties
| Name | Type | Description |
|---|---|---|
| id | string | Unique work item identifier |
| process_id | string | Identifier of the process this work item belongs to |
| state | string | Current state of the work item |
| payload | object | Arbitrary input data payload for the work item |
| created_at | string | Timestamp when the work item was created |
| updated_at | string | |
| exception | object | Error details if the work item failed |
JSON Schema
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://api-evangelist.github.io/robocorp/json-schema/robocorp-work-item-schema.json",
"title": "Robocorp Work Item",
"description": "Schema for a Robocorp Control Room work item used in RPA process queues.",
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Unique work item identifier"
},
"process_id": {
"type": "string",
"description": "Identifier of the process this work item belongs to"
},
"state": {
"type": "string",
"description": "Current state of the work item",
"enum": ["PENDING", "INPROGRESS", "COMPLETED", "FAILED"]
},
"payload": {
"type": "object",
"description": "Arbitrary input data payload for the work item",
"additionalProperties": true
},
"created_at": {
"type": "string",
"format": "date-time",
"description": "Timestamp when the work item was created"
},
"updated_at": {
"type": "string",
"format": "date-time"
},
"exception": {
"type": "object",
"description": "Error details if the work item failed",
"properties": {
"type": {
"type": "string",
"description": "Exception type"
},
"code": {
"type": "string"
},
"message": {
"type": "string",
"description": "Error message"
}
}
}
},
"required": ["id", "process_id", "state"]
}