Create Task
Perform Create Task through NikoHealth.
nikohealth_create_taskInputs
- Task Request
task_requestexpressionOptional literal value or workflow expression.
- Title
titleexpressionOptional literal value or workflow expression.
- Description
descriptionexpressionOptional literal value or workflow expression.
- Patient Id
patient_idexpressionOptional literal value or workflow expression.
- Order Id
order_idexpressionOptional literal value or workflow expression.
- Assignee Ids
assignee_idsmulti_selectdynamic optionsOptional list of selected values. Retrieve allowed values from the dynamic options endpoint.
- Assignee Ids Manual
assignee_ids_manualexpressionOptional literal value or workflow expression.
- Existing Tasks
existing_tasksexpressionOptional literal value or workflow expression.
- Idempotency Fingerprint
idempotency_fingerprintexpressionOptional literal value or workflow expression.
- Priority
priorityselectOptional selected identifier or value.
Default:
"Normal"Options: Normal ("Normal"), Low ("Low"), High ("High")
- Due Date
due_dateexpressionOptional literal value or workflow expression.
- Category Id
category_idexpressionOptional literal value or workflow expression.
- Skip If Empty
skip_if_emptybooleanOptional true-or-false value.
Default:
false
Outputs
successSuccessskippedSkippedidempotentIdempotenttask_idTask Idpatient_idPatient Idorder_idOrder IderrorError
Output schema completeness: best_effort_declared
Safety
- External effect
- write
- Confirmation recommended
- No
- Retry safe
- No
- Dry run supported
- No
Schemas
These schemas are first-pass authoring guidance. Runtime validation remains authoritative.
Input schema
{
"type": "object",
"properties": {
"title": {
"description": "Optional literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"due_date": {
"description": "Optional literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"order_id": {
"description": "Optional literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"priority": {
"enum": [
"Normal",
"Low",
"High"
],
"type": "string",
"default": "Normal",
"description": "Optional selected identifier or value.",
"x-workflow-field-type": "select"
},
"patient_id": {
"description": "Optional literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"category_id": {
"description": "Optional literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"description": {
"description": "Optional literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"assignee_ids": {
"type": "array",
"items": {
"type": "string"
},
"description": "Optional list of selected values. Retrieve allowed values from the dynamic options endpoint.",
"x-dynamic-options": true,
"x-workflow-field-type": "multi_select"
},
"task_request": {
"description": "Optional literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"skip_if_empty": {
"type": "boolean",
"default": false,
"description": "Optional true-or-false value.",
"x-workflow-field-type": "boolean"
},
"existing_tasks": {
"description": "Optional literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"assignee_ids_manual": {
"description": "Optional literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"idempotency_fingerprint": {
"description": "Optional literal value or workflow expression.",
"x-workflow-field-type": "expression"
}
},
"additionalProperties": false
}Output schema
{
"type": "object",
"properties": {
"error": {},
"skipped": {},
"success": {},
"task_id": {},
"order_id": {},
"idempotent": {},
"patient_id": {}
},
"additionalProperties": true
}