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):
20
20
description = "List of recipients for the task (only used by information tasks)" ,
21
21
)
22
22
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 ,
24
27
)
25
28
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 ,
27
32
)
28
33
29
34
@@ -34,7 +39,7 @@ class StartWorkflowAction(BaseAction):
34
39
default = None ,
35
40
description = "ID of the project in which the workflow should be started" ,
36
41
)
37
- title : str = Field (..., description = "Title of the workflow" )
42
+ title : str = Field (..., description = "Title of the workflow (max. 255 characters)" , max_length = 255 )
38
43
attachment_ids : list [str ] = Field (
39
44
default_factory = list ,
40
45
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.
38
38
| -| -| -|
39
39
| template_id| str| ID of the workflow template|
40
40
| 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) |
42
42
| attachment_ids| list[ str] | List of cdb_object_ids to attach to the workflow|
43
43
| global_briefcase_object_ids| list[ str] | List of cdb_object_ids to attach to the global briefcase|
44
44
| 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.
50
50
| task_id| str| Identifier for the task|
51
51
| responsible| [ Subject] ( actions.md#Subject ) \| None| Responsible Subject for the task|
52
52
| 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) |
55
55
56
56
** Subject:**
57
57
You can’t perform that action at this time.
0 commit comments