Create Task
Perform Create Task through Bonafide.
bonafide_create_taskwritebonafide
Inputs
- Name
nameexpressionrequiredRequired literal value or workflow expression.
- Detail
detailtextarearequiredRequired text value.
- Due Date
due_datetextrequiredRequired text value.
- Severity
severityselectOptional selected identifier or value.
Default:
"3"Options: Critical ("1"), High ("2"), Medium ("3"), Low ("4")
- Reference Type
reference_typeselectOptional selected identifier or value.
Options: None (""), Customer ("CUSTOMER"), Order ("ORDER"), Claim ("CLAIM")
- Reference No
reference_noexpressionOptional literal value or workflow expression.
- Category Id
category_idtextOptional text value.
Default:
"0" - Category Name
category_nametextOptional text value.
- Outcome Id
outcome_idtextOptional text value.
Default:
"0" - Outcome Name
outcome_nametextOptional text value.
- Ops Description
ops_descriptiontextareaOptional text value.
- Employee Ids
employee_idstextOptional text value.
- Email Targets
email_targetsmulti_selectOptional list of selected values.
Options: Me ("M"), All collaborators ("C")
Outputs
successSuccesstask_idTask IdmessageMessageerror_messageError MessageerrorError
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",
"required": [
"name",
"detail",
"due_date"
],
"properties": {
"name": {
"description": "Required literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"detail": {
"type": "string",
"description": "Required text value.",
"x-workflow-field-type": "textarea"
},
"due_date": {
"type": "string",
"description": "Required text value.",
"x-workflow-field-type": "text"
},
"severity": {
"enum": [
"1",
"2",
"3",
"4"
],
"type": "string",
"default": "3",
"description": "Optional selected identifier or value.",
"x-workflow-field-type": "select"
},
"outcome_id": {
"type": "string",
"default": "0",
"description": "Optional text value.",
"x-workflow-field-type": "text"
},
"category_id": {
"type": "string",
"default": "0",
"description": "Optional text value.",
"x-workflow-field-type": "text"
},
"employee_ids": {
"type": "string",
"description": "Optional text value.",
"x-workflow-field-type": "text"
},
"outcome_name": {
"type": "string",
"description": "Optional text value.",
"x-workflow-field-type": "text"
},
"reference_no": {
"description": "Optional literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"category_name": {
"type": "string",
"description": "Optional text value.",
"x-workflow-field-type": "text"
},
"email_targets": {
"type": "array",
"items": {
"enum": [
"M",
"C"
],
"type": "string"
},
"description": "Optional list of selected values.",
"x-workflow-field-type": "multi_select"
},
"reference_type": {
"enum": [
"",
"CUSTOMER",
"ORDER",
"CLAIM"
],
"type": "string",
"description": "Optional selected identifier or value.",
"x-workflow-field-type": "select"
},
"ops_description": {
"type": "string",
"description": "Optional text value.",
"x-workflow-field-type": "textarea"
}
},
"additionalProperties": false
}Output schema
{
"type": "object",
"properties": {
"error": {},
"message": {},
"success": {},
"task_id": {},
"error_message": {}
},
"additionalProperties": true
}