File tree Expand file tree Collapse file tree 2 files changed +11
-6
lines changed
Expand file tree Collapse file tree 2 files changed +11
-6
lines changed Original file line number Diff line number Diff line change @@ -20,10 +20,15 @@ class TaskConfiguration(BaseModel):
2020 description = "List of recipients for the task (only used by information tasks)" ,
2121 )
2222 description : str | None = Field (
23- default = None , description = "Description of the task. If not set, the existing description will be kept."
23+ default = None ,
24+ description = "Description of the task. If not set, the existing description will be kept. "
25+ "(max. 1024 characters)" ,
26+ max_length = 1024 ,
2427 )
2528 title : str | None = Field (
26- default = None , description = "Title of the task. If not set, the existing title will be kept."
29+ default = None ,
30+ description = "Title of the task. If not set, the existing title will be kept. (max. 60 characters)" ,
31+ max_length = 60 ,
2732 )
2833
2934
@@ -34,7 +39,7 @@ class StartWorkflowAction(BaseAction):
3439 default = None ,
3540 description = "ID of the project in which the workflow should be started" ,
3641 )
37- title : str = Field (..., description = "Title of the workflow" )
42+ title : str = Field (..., description = "Title of the workflow (max. 255 characters)" , max_length = 255 )
3843 attachment_ids : list [str ] = Field (
3944 default_factory = list ,
4045 description = "List of cdb_object_ids to attach to the workflow" ,
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ Creates a new workflow from a template and starts it.
3838| -| -| -|
3939| template_id| str| ID of the workflow template|
4040| cdb_project_id| str \| None| ID of the project in which the workflow should be started|
41- | title| str| Title that the new workflow should have|
41+ | title| str| Title that the new workflow should have (max. 255 characters) |
4242| attachment_ids| list[ str] | List of cdb_object_ids to attach to the workflow|
4343| global_briefcase_object_ids| list[ str] | List of cdb_object_ids to attach to the global briefcase|
4444| task_configurations| list[[ TaskConfiguration] ( actions.md#TaskConfiguration )] | List of task configurations|
@@ -50,8 +50,8 @@ Creates a new workflow from a template and starts it.
5050| task_id| str| Identifier for the task|
5151| responsible| [ Subject] ( actions.md#Subject ) \| None| Responsible Subject for the task|
5252| recipients| list[[ Subject] ( actions.md#Subject )] | List of recipients (only used by information tasks)|
53- | description| str \| None| Description of the task. If not set, the existing description will be kept.|
54- | title| str \| None| Title of the task. If not set, the existing title will be kept.|
53+ | description| str \| None| Description of the task. If not set, the existing description will be kept. (max. 1024 characters) |
54+ | title| str \| None| Title of the task. If not set, the existing title will be kept. (max. 60 characters) |
5555
5656** Subject:**
5757
You can’t perform that action at this time.
0 commit comments