WorkBuddy

Interact with WorkBuddy API - Field service management

Actions227

Stages Pending Items → Approve stage pending item

AI-generated

Summary

Approve a pending item in a stage, optionally with batched requests and custom HTTP settings.

Inputs

  • id (required) — Job ID
  • stageId (required) — Stage ID
  • itemId (required) — Pending item ID
  • requestOptions — HTTP request options such as batching, SSL settings, proxy, timeout
  • allowUnauthorizedCerts — Whether to accept the response even if SSL certificate validation is not possible
  • proxy — HTTP proxy to use, e.g. http://myproxy:3128
  • timeout — Time in ms to wait for the server to send response headers before aborting the request

Output shape

a single record representing the approved pending item

The response contains the full approved item; if requestOptions includes batching, the shape may be a list of approved items.

Examples

Example 1: Approve a pending item in a stage as part of an approval workflow

Set Id, Stage Id, and Item Id; optionally enable batching with batchSize 50 and batchInterval 1000; enable proxy or SSL options if needed.

Example 2: Approve a pending item using the node's default settings

Provide Id, Stage Id, and Item Id; leave other fields at defaults.

Example 3: Approve multiple pending items via batching

Configure batchSize and batchInterval under requestOptions; supply Id, Stage Id, and Item Id for each batch.

Links

Discussion