Complete WIP Tasks
Perform Complete WIP Tasks through ClaimSoft.
claimsoft_complete_wip_taskswriteclaimsoft
Use in a workflow
Copy the discovered node config and fill its params from the input contract. Validate the complete graph before publishing. Integration results use {{node_id.default.field}}. Check business success before dependent writes; completion alone does not prove success.
{
"_group": "ClaimSoft",
"params": {
"allow_missing_task_on_settled_phase": false
},
"handler": "claimsoft_complete_wip_tasks"
}Inputs
- Patient Id
patient_idexpressionrequiredRequired literal value or workflow expression.
- Order Id
order_idexpressionrequiredRequired literal value or workflow expression.
- Wip Id
wip_idexpressionrequiredRequired literal value or workflow expression.
- Task Descriptions
task_descriptionsjsonOptional JSON value.
- Allow Missing Task On Settled Phase
allow_missing_task_on_settled_phasebooleanOptional true-or-false value.
Default:
false - Expected Device Code
expected_device_codetextOptional text value.
- Task Phases
task_phasesjsonOptional JSON value.
Outputs
successSuccesswip_idWip Idtasks_completedTasks Completedtasks_absentTasks AbsentoutcomeOutcomemessageMessageerror_kindError KinderrorError
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": [
"patient_id",
"order_id",
"wip_id"
],
"properties": {
"wip_id": {
"description": "Required literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"order_id": {
"description": "Required literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"patient_id": {
"description": "Required literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"task_phases": {
"description": "Optional JSON value.",
"x-workflow-field-type": "json"
},
"task_descriptions": {
"description": "Optional JSON value.",
"x-workflow-field-type": "json"
},
"expected_device_code": {
"type": "string",
"description": "Optional text value.",
"x-workflow-field-type": "text"
},
"allow_missing_task_on_settled_phase": {
"type": "boolean",
"default": false,
"description": "Optional true-or-false value.",
"x-workflow-field-type": "boolean"
}
},
"additionalProperties": false
}Output schema
{
"type": "object",
"properties": {
"error": {},
"wip_id": {},
"message": {},
"outcome": {},
"success": {},
"error_kind": {},
"tasks_absent": {},
"tasks_completed": {}
},
"additionalProperties": true
}