Add Work
This method is used to add a new work record to the PAW Orchestrator work queue.
⬅️INPUT
Parameter | Type | Required | Description |
|---|---|---|---|
|
| ✅Yes | Process name |
|
| ❌No | Queue identifier |
|
| ❌No | Related work ID |
|
| ✅Yes | Work input data |
|
| ❌No | Input attachment files |
|
| ❌No | Work date |
|
| ❌No | Status note |
|
| ❌No | Note |
|
| ❌No | Approval status (default: true) |
➡️OUTPUT
Parameter | Type | Description |
|---|---|---|
|
| Add result |
|
| Success status |
|
| Result message |
🎯 Purpose
Create new work items to be processed in processes
Add data-driven workload to the queue
Bring the input data that will trigger automation processes into the system
⚙️ How It Works
A new work item is created and added to the work queue of the related process
The initial status of the added work item is set to “Idle”
This work item is picked up and processed by a suitable bot with the Start Work method
📥 Input Parameters
🔹 Input
The collection structure that contains the input data of the work item.
This data represents the work parameters to be used within the process.
🔹 Input Attachments
The field where the files and documents of the work item are added.
Fields:
Field Name: The field name defined in the process template
File Name: The name and extension of the file
Data: The content of the file in Binary format
📌 Features
Bulk workload can be created for the same process
Each work item is added to the queue and processed independently
The work item can be enriched with fields such as priority, description and note
⚠️ Important Notes
Input data must be compatible with the process template
Added files must be sent in Binary format
Missing or incorrect data may cause the work item to fail
💡 Summary
The Add Work method forms the basis of work queue management on the PAW platform. By feeding data to processes, it enables automation to be started and scaled.