Edit WIP State — Secondary Account
Perform Edit WIP State — Secondary Account through Brightree.
brightree_edit_wip_state_secondarywrite
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": "Brightree",
"params": {
"account_profile": "secondary"
},
"handler": "brightree_edit_wip_state_secondary"
}Inputs
- Sales Order Key
sales_order_keyexpressionrequiredRequired literal value or workflow expression.
- Target Wip State
target_wip_statetextrequiredRequired text value.
- Expected Current Wip State
expected_current_wip_stateexpressionrequiredRequired literal value or workflow expression.
- Account Profile
account_profileselectOptional selected identifier or value.
Default:
"secondary"Options: Secondary ("secondary")
Outputs
successSuccessold_stateOld Statenew_stateNew StateerrorError
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": [
"sales_order_key",
"target_wip_state",
"expected_current_wip_state"
],
"properties": {
"account_profile": {
"enum": [
"secondary"
],
"type": "string",
"default": "secondary",
"description": "Optional selected identifier or value.",
"x-workflow-field-type": "select"
},
"sales_order_key": {
"description": "Required literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"target_wip_state": {
"type": "string",
"description": "Required text value.",
"x-workflow-field-type": "text"
},
"expected_current_wip_state": {
"description": "Required literal value or workflow expression.",
"x-workflow-field-type": "expression"
}
},
"additionalProperties": false
}Output schema
{
"type": "object",
"properties": {
"error": {},
"success": {},
"new_state": {},
"old_state": {}
},
"additionalProperties": true
}