Contains required info to create a new Task
| Name | Type | Description | Notes |
|---|---|---|---|
| task_definition_id | ResourceId | [optional] | |
| correlation_ids | List[str] | A set of guid identifiers that allow correlation across the application tier | [optional] |
| fields | List[TaskInstanceField] | Fields and their initial values - should correspond with the Task Definition field schema | [optional] |
| stacking_key | str | The key for the Stack that this Task should be added to | [optional] |
| workflow_id | ResourceId | [optional] |
from lusid_workflow.models.create_task_request import CreateTaskRequest
from typing import List, Dict, Optional, Any, Union, TYPE_CHECKING
from typing_extensions import Annotated
from pydantic.v1 import BaseModel, StrictStr, StrictInt, StrictBool, StrictFloat, StrictBytes, Field, validator, ValidationError, conlist, constr
from datetime import datetime
task_definition_id: Optional[ResourceId] = # Replace with your value
correlation_ids: Optional[List[StrictStr]] = # Replace with your value
fields: Optional[List[TaskInstanceField]] = # Replace with your value
stacking_key: Optional[StrictStr] = "example_stacking_key"
workflow_id: Optional[ResourceId] = # Replace with your value
create_task_request_instance = CreateTaskRequest(task_definition_id=task_definition_id, correlation_ids=correlation_ids, fields=fields, stacking_key=stacking_key, workflow_id=workflow_id)