WorkBuddy

Interact with WorkBuddy API - Field service management

Actions227

Service Plans Lines Tasks → Update a root Service Line Task

AI-generated

Summary

Updates a root service line task in a WorkBuddy plan, allowing modification of core properties, evidence enforcement rules, and service configuration flags.

Inputs

  • planId (required) — plan ID
  • lineId (required) — line ID
  • identifier (required) — Entity ID or human-readable number
  • name — Display name
  • description — Detailed description
  • startsOn —
  • lastServiced —
  • schedule —
  • exceptions —
  • mandatory —
  • mandatoryForClaiming —
  • signatureEnabled —
  • commentEnabled —
  • beforePhotoEnabled —
  • duringPhotoEnabled —
  • afterPhotoEnabled —
  • fileEnabled —
  • fileTemplateId — file template ID
  • formEnabled —
  • formTemplateId — form template ID
  • evidenceEnforcement — Collection to enforce evidence requirements (e.g., Before Photo: Optional, RequiredExceptionAllowed).
  • requestOptions — Node-level settings to configure batching, proxy, timeout, and SSL verification.

Output shape

no body — success/failure only

Returns standard n8n execution status (success or error) based on the API response.

Examples

Example 1: Enable mandatory photo capture for a specific task line.

Set mandatoryForClaiming to true and add evidence enforcement for 'After Photo' with 'RequiredNoExceptions'.

Example 2: Update task details and schedule.

Provide planId, lineId, identifier, and optionally set name, description, startsOn, and schedule.

Example 3: Batch update multiple task lines.

Use requestOptions batching to process multiple plan/line/identifier sets in defined intervals.

Links

Discussion